Scene
Change Scene
Transition to a new scene with player at a specified position and direction. A connection line will be drawn between the source of the event and the destination scene with an icon appearing at the destination position. It's possible to drag this icon around and between scenes to modify the event.
- Scene: The scene to transition to.
- X: The initial player horizontal position in the new scene.
- Y: The initial player vertical position in the new scene.
- Direction: The initial player direction.
- Fade Speed: The speed of the fade animation.
Control Flow
If Current Scene Is
- Scene
- True
- False
Scene Stack
Remove All From Scene Stack
Remove all scenes from the scene stack without leaving the current scene.
Restore First Scene From Stack
Transition to the very first scene stored on the stack, for instance if you had multiple levels of menu scenes you could use this to imediately return to the game scene. This event will cause the scene stack to become empty.
- Fade Speed: The speed of the fade animation.
Restore Previous Scene From Stack
Transition to the last stored scene from the scene stack using the specified fade speed. The previous scene will then be removed from the stack so the next time this event is used it will transition to the scene before that.
- Fade Speed: The speed of the fade animation.
Store Current Scene On Stack
Store the current scene and player state on to the scene stack, this allows you to return to this exact location later using the Scene Restore events. A common use of this event would be to include in a script just before a Change Scene event to open a menu scene, in the menu scene you could wait for the player to press a close button and then use the Restore Previous From Stack event to return to where the player opened the menu.
Tiles
Replace Tile At Position
Replace a tile at a specified coordinate with another from a tileset.
- X: The horizontal position.
- Y: The vertical position.
- Tileset: The tileset to fetch tiles from
- Tile: The tile offset inside tileset
Replace Tile At Position From Sequence
Replace a tile at a specified coordinate with another from a tileset in a sequence.
- X: The horizontal position.
- Y: The vertical position.
- Tileset: The tileset to fetch tiles from
- From Tile: The starting tile offset inside tileset
- Animation Frames: The number of animation frames to cycle through.
- State Variable: A variable to store the current state of this event