Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Thegluestickman

#1
Hello,

Recently got back into AGS for an adventure game about a band. Anyway that's not important, my character disappears when I make him change rooms just for the opening cinematic.

The code on the "FirstLoad" action is:


function room_FirstLoad()
{
  SetBackgroundFrame(1);
  cMike.LockView(3);
  Display ("You have begun a quest.");
  Display ("A quest to become the most listened to band");
  Display ("You are Mike, the drummer of this band.");
  Display ("Your band members are: Dave the vocalist, Arlen the bassist, and Orion the guitarist.");
  Display ("Cool names eh?");
  Display ("The story begins in your Appartment"); 
    SetBackgroundFrame(0);
  cMike.UnlockView();
  cDave.ChangeRoom(1, 300, 395);
  cDave.Walk (165, 250);
dIntroDialog.Start();
cDave.ChangeRoom (2);
}

He talks but he is not visible. His starting room was 0 but then I changed to 2 to see if it made any difference. He still is disappearing.
#2
Is there some type of or/else function in AGS? In Action Script 2, there was an else feature so if you need something to happen without variables you could use else. For example:

if (game.score >70) {
Display("You've won the game!");
} else {
Display("Keep getting points.");
}

Is there anything like that in AGS?
#3
I've recently taken up AGS after a long period without touching it, and I'm relearning the ropes. I have a question though, when you name hotspots then test your game and you hover over your hotspot, how do you make the name of the hotspot appear in the text box in the GUI?
SMF spam blocked by CleanTalk