Here's the deal... I know almost nothing about coding. For someone that grew up on DOS, I have become extremely reliant on everyone else doing the work since Windows/OS. However, I am a quick learner.
I am making a game for my last game writing class before graduation and really want to blow this out of the water. It's fun, I love all the little twists and turns, but I'm really struggling with background images.
Question 1: I'm using either my own images or free images (with attribution) and have been successful with inserting an image into a particular passage. I think it would look much better if it were the background image instead of just thrown up there. If my url is "images/revolver.jpg" how would I set that up in the style sheet and what do I put in the passage (or tag) to connect them?
(If it is easier/better, I CAN upload the images to my porfolio website where the game will be. I was just hoping to do it this way.)
Question 2: Is there a way to stop music from playing through to the next passage? Each one has its own music and I don't want it to play over the music from the last. I have it set up like this in StoryInit:
<<cacheaudio "mainsong1" "music/mainsong1.mp3">>
<<cacheaudio "mainsong2" "music/mainsong2.mp3">>
<<cacheaudio "mainsong3" "music/mainsong3.mp3">>
<<cacheaudio "mainsong4" "music/mainsong4.mp3">>
<<cacheaudio "mainsong5" "music/mainsong5.mp3">>
<<cacheaudio "mainsong6" "music/mainsong6.mp3">>
<<cacheaudio "mainsong7" "music/mainsong7.mp3">>
<<cacheaudio "end" "music/end.mp3">>
<<cacheaudio "SoundFX1" "music/Archery.mp3">>
<<cacheaudio "SoundFX2" "music/Gunshot.mp3">>
<<cacheaudio "911.1" "music/911.1.mp3">>
<<cacheaudio "911.10" "music/911.10.mp3">>
<<cacheaudio "911.8" "music/911.8.mp3">>
<<cacheaudio "911.5" "music/911.5.mp3">>
If using Harlowe would be better, that's all fine and good, but I need specifics. I found a great website for SugarCube which is why I changed my format.
I know this is a lot, but I really like doing this. I'm considering taking a coding course after I graduate in August before my masters program in September. For now... I just need help with this.