Playing Intro Scene

Started by Lazarus, Mon 11/07/2005 11:13:48

Previous topic - Next topic

Lazarus

I'm trying to setup my splash screen menu so when a player wants to watch the intro again they can via a button. And when this finishes they are returned back to the splash screen menu. eg...starts on room2 and finishes on room4 to go back to room1.

Here's my code so far it that helps (i'm using ags version 2.7)

//    Splash Screen
if (interface == SPLASH){
      
      if (button == 1){ // Play Intro
      StartCutscene(2);
      player.ChangeRoom (2);
Ã,  Ã,  EndCutscene();
// Allowing player to watch intro again.
// needs to stop at room 4 and return back to Splash Interface (room1)      
Ã,  Ã,  }      

      if (button == 2){ // New Game
         player.ChangeRoom (2);
// Starts from beginning (including Intro Scene)
Ã,  Ã,  }

Ã,  Ã,  if (button == 3){ //load Game
Ã,  Ã,  Ã,  GUIOff(OPTIONS);
Ã,  Ã,  Ã,  GetLucasSavegameListBox(RESTORE,1);
Ã,  Ã,  Ã,  GUIOn(RESTORE);
Ã,  Ã,  }
Ã,  Ã, 
Ã,  Ã,  if (button == 0){ // Quit Game
         QuitGame(0);
      }
   }

Thanks inadvance
*Currently using AGS Editor 2.70 (Build 2.70.601)*

Candle

Well if your Cutscene returns the users to the menu when it is done just add a button to the menu and put
NewRoom (4);    4= your room
I have my Cutscene in it's own a room so thats how I do it .

SMF spam blocked by CleanTalk