Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 09/07/2003 16:19:05

Title: just a quik question
Post by: on Wed 09/07/2003 16:19:05
how do i make it so my room 1 is set on  a timer,
so you load my game it displays it then starts the game? any one show of hands?
cheers bddle
Title: Re:just a quik question
Post by: Scummbuddy on Wed 09/07/2003 16:27:37
have a room named intro.crm, and there have the timer functions
Title: Re:just a quik question
Post by: Ghormak on Wed 09/07/2003 16:37:03
Yes that'll work, but first of all you must figure out in which forum to post technical (http://www.agsforums.com/yabb/index.php?board=2) questions like this one.
Title: Re:just a quik question
Post by: TerranRich on Thu 10/07/2003 22:57:39
No, I consider this a beginners' question. What I did was have intro.crm show the logo, some sound effect, then fade into room1, whcih was the same as intro.crm except with added buttons, etc. In intro.crm's "Player enters room (after fade-in)" interaction, I put in the command to play the sound effect, the Wait() command, telling it to wait 7 seconds (the length of the effect), then it loads up the new room.

As simple as that. :)
Title: Re:just a quik question
Post by: Matt Brown on Fri 11/07/2003 03:03:56
yeah, I dont think timers are needed. just something like

PlaySound(blah);  //if you want sounds
Wait(600); //600 was a number I pulled out of my butt
NewRoom(2);

something like that-ish I think