Pages

robertwriter
23 Apr 2011, 06:51
I need to get an answer to this quick so i can proceed with my work. I hope somebody will know it. I want to know how you change pages. Like when you don't want it to scroll down and switch to another page instead. Like alot of people's games on the site have an intro page then press any key then it switches to the game page. And you can't scroll back up to the intro page because it flipped over. I need to know how to do that. Make the page go away for the new page.

Alex
23 Apr 2011, 15:56
You just need to wait for the player to press a key, then clear the screen.

You can do this using two script commands:

- "Other" category, "Wait for the player to press a key"
- "Print" category, "Clear the game window"

Alternatively there are two special text formatting codes you can insert, for example within the "intro" text block. You can find them under the "Insert" drop-down - "wait for keypress" and then "clear screen".

robertwriter
23 Apr 2011, 21:39
Man your attentative. Thanks very much again. You should play my game when its done since you have contributed to it quite a bit. This program really rocks. Very easy to operate.