Hide player character

From Adventure Game Studio | Wiki
Revision as of 04:36, 8 December 2005 by Strazer (talk | contribs)
Jump to navigation Jump to search

Rooms have a tickbox called "hide player character" which can be used for title/menu/credits screens, etc.

If the hide player option is ticked, the Character.on property holds 0. This undocumented variable is normally 1, but you can also set it to 0 to make any character invisible.

But note that Character.Walk and the like don't work with characters turned off this way.

Another way to do this is directly modifying the Character.room property. This won't prompt a room change, it'll just make the player character disappear.