objCheckpointTouch

objects / Level Objects / objCheckpointTouch
prtAlwaysActive > objCheckpointTouch

Description

This is a checkpoint that only activates when touched, as opposed to the normal

Checkpoint object which just activates as soon as it appears.

note: game maker tells you the x and y position of the tile your mouse is hovering over at the bottom of the screen

note: the tile whose X & Y are what you set mega man to spawn at will be at the bottom-right of where megaman spawns

stretch the object in the editor to cover the area you want to trigger the checkpoint

Variables

NameValueDescription
xxx + 8

(the X position in pixels Mega Man should spawn at when using the checkpoint)

yyy

(the Y position in pixels Mega Man should spawn at when using the checkpoint)

respawnAnimation0

0 = teleport land, 1 = teleport in, 2 = fall in, 3 = Jump in, 4 = stand there (set showDuringReady to true), 8 = Skull elevator

showDuringReadyfalse

play the animation sequence while ready's being displayed

variable names in bold are safe to set in creation code.

Inherited from prtAlwaysActive

NameValueDescription
frozen0