Noob question, trying a room...

Started by Ninone, Wed 22/07/2009 07:38:46

Previous topic - Next topic

Ninone

If i made 100 room and I want to play the last, I have to play all the game?  ;D

Thank You again ;)

Gilbert

There are various ways to do this when testing your game. Below are some ideas:
1. Change the starting room of the player character.
2. You can use the funtion Debug(). If you are using the default game template, pressing Ctrl-X while running the game in debug mode would prompt you for the room number to teleport to.

However, note also that you'll just teleport to a particular room using these methods. You won't have values of variables set accordingly and getting the appropriate inventory items, etc. as you would when playing the game straight from the beginning, so bear that in mind while doing the tests.


Invalid

What Gilbet V7000a said was perfectly acceptable, I just thought I would put in my two cents.
The number of the room is NOT neccecarrily the order you must play them in. The number is just a way of remembering what goes where. So another way to quickly go to a far room would be putting this code in a leaves right edge, or something similar

player.Changeroom(100);

hope that makes using AGS a little clearer

TerranRich

Just remember, it won't be as though you progressed through the game up to that point... it's a direct shortcut to enter that room, so if certain variables need to be set, make sure they are before entering the room.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk