Yay, here's some code. Here's the code for my "Start Screen". This is the ENTIRE room script.
[code]
// room script file
#sectionstart room_a // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
// script for room: Player enters screen (before fadein)
aMusic1.Play();
GUIOff(0);
GUIOff(1);
}
#sectionend room_a // DO NOT EDIT OR REMOVE THIS LINE
#sectionstart hotspot2_a // DO NOT EDIT OR REMOVE THIS LINE
function hotspot2_a() {
// script for hotspot2: Any click on hotspot
StopMusic();
HideMouseCursor();
NewRoom(1);
}
#sectionend hotspot2_a // DO NOT EDIT OR REMOVE THIS LINE
[/code]
Here's "Room 1" code, before the fade-in.
[code]
// room script file
#sectionstart room_a // DO NOT EDIT OR REMOVE THIS LINE
function room_a (){
// script for room: Player enters screen (before fadein)
AudioChannel* chan = aMusic9.Play();
ShowMouseCursor();
GUIOn(0);
GUIOn(1);
player.UnlockView();
cBernhard.UnlockView();
//Cutscene
#sectionstart cutscene
FaceDirection(cBernhard.ID, DIR_LEFT);
cBernhard.Say ("...");
cBernhard.Say ("HA! Let's see you get out of this, sweet sister.");
cBritney.Say ("Bernard! Get out of my room, you weirdo!");
cBernhard.Say ("Oh, I'll get out, all right.");
cBernhard.Say ("...But good luck finding a way out.");
cBernhard.Walk (275, 135);
cBritney.Say ("What does THAT mean??");
FaceDirection(cBernhard.ID, DIR_LEFT);
cBernhard.Say ("Heh, heh.");
chan.Volume = 90;
chan.Volume = 80;
player.Say( "...");
cBritney.Say ("Seriously, you need a girlfriend.");
cBernhard.Say ("Who needs a girlfriend when I have an automatic chess board?");
chan.Volume = 70;
chan.Volume = 60;
cBernhard.Walk (307, 135);
cBernhard.ChangeRoom(3);
PlaySound(3);
oOpenDoor.Visible = false;
chan.Volume = 50;
StopMusic();
chan = aZEPPELIN.Play();
#sectionend cutscene
}
#sectionend room_a // DO NOT EDIT OR REMOVE THIS LINE
[/code]
Please keep in mind this is my very first game...