Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: doomtroop15 on Mon 12/10/2009 02:51:46

Title: the rooms
Post by: doomtroop15 on Mon 12/10/2009 02:51:46
 ??? how do i make it so my player can go to the next room?
Title: Re: the rooms
Post by: TerranRich on Mon 12/10/2009 03:44:24
Look up Character.ChangeRoom() in the manual.
Title: Re: the rooms
Post by: doomtroop15 on Mon 12/10/2009 15:41:19
thinks but where do i put the code so that if a player hits a edge like the top edge so that he well go  to a room like room 3 or the left edge so that my player can go to room 2 can you tell me how ???
Title: Re: the rooms
Post by: Crimson Wizard on Mon 12/10/2009 20:13:11
Quote from: doomtroop15 on Mon 12/10/2009 15:41:19
thinks but where do i put the code so that if a player hits a edge like the top edge so that he well go  to a room like room 3 or the left edge so that my player can go to room 2 can you tell me how ???

I strongly recommend to you check Tutorial section in the manual. All these things are described there.

While editing Room, press "Thunderbolt" icon on the bottom-right panel. You'll see a table of events. Find "Walk off top edge" line, select it and press "..." button that appears to the right. You'll be taken into a newly created function in the room script. Type whatever you need there (like player.ChangeRoom, etc)
Title: Re: the rooms
Post by: doomtroop15 on Mon 12/10/2009 20:47:19
thinks ;D that helped alot since you apper to know what your doing do you want to help me make my game? :)
Title: Re: the rooms
Post by: Crimson Wizard on Mon 12/10/2009 21:35:15
Quote from: doomtroop15 on Mon 12/10/2009 20:47:19
since you apper to know what your doing do you want to help me make my game? :)

*cough* *cough*
I will be glad to... finish my own game someday :P

Seriously, there's a lot of people around who probably may help. There's a thread on this forums where people gathering teams and ask for aid: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36479.0
You may try to ask there if you really need this. As for me, personally, I am afraid I am too busy now, sorry ;)
Title: Re: the rooms
Post by: doomtroop15 on Mon 12/10/2009 21:44:29
thinks its ok i well go find anther player to help me make my game