Ok... I'm A Noob And just wondering how you add sound... I choose interactions, blablabla... Then It asks for the variable but how do u get the variable in the first place.. Help.. THank you
just name your music and sounds
music1.mid or music2.mp3 or sound1.wav or sound54.ogg and put them in your game folder
the number part is the number you use to call the sound in ags. So id you tell it to play music 5 it's play music4.whatever
I really, REALLY don't like saying "Read the manual," but in this case I have to. I think it explain it well, unless of course English isn't your first language. In which case I apologize.
Let's say you have music labeled music1.mid, music2.mid, music3.mid, etc. in you're game's main directory, simply call something like "PlayMusic(2)" to play music2.mid, or if it's a text box asking for the music number, just use the number 2 for music2.mid. Easy as that. :)