Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 20/01/2004 01:02:12

Title: Intro and music doesnt work!
Post by: on Tue 20/01/2004 01:02:12
Ive started a room called INTRO and when i start the game it shows only a black screen and then the room1. Ive used a run_script thing with a WaitKey(200); command and it waits but does not shows the room image!

Id like to know too waht names are possible to rooms?

And the music where do you put music??! Ive loaded tons of times the agsdemo game and the music begins without anything indicating this action! Help me!
Title: Re:Intro and music doesnt work!
Post by: Gilbert on Tue 20/01/2004 01:58:19
Did you put that Waitkey() line in the "enter screens BEFORE fading" interaction? In that case move it to "enter screens AFTER fading" instead.
Title: Re:Intro and music doesnt work!
Post by: Ishmael on Tue 20/01/2004 08:37:06
For the music, rename your music file music0.* and place it in the game directory. If it is .mp3, .wav or .ogg, you need to select the "Rebuild VOX files" from the game menu of the editor.

You can play a specific music number using either the PlayMusic command, or the "Play music on room load" option in the room editor. Just rename the music files to music#.*** where # is the number you use, and *** is the file extension.