1. Home
  2. Docs
  3. English documentation
  4. Objects and entities
  5. Triggers and game objects
  6. Player control

Player control

WHAT IT’S FOR:

Player control allows you to control the player’s behaviors.
For example, you can move the player to a certain screen position, disable its weapons and/or the smart bombs, or even hide it during a cut scene.

hide checkbox: if checked the player object will be hidden from the screen
freeze controls checkbox: the player can’t move if checked
hold fire checkbox: the player can’t fire
disable smart bombs checkbox: smart bombs are disabled
MOVE TO SCREEN POSITION checkbox: the player can move to a certain screen position. During the move, the player controls are automatically frozen.
    duration spinner: the duration of the translation animation. The smaller the number, the faster the animation.
    x / y: the animation’s end position on the screen.
INVINCIBILITY checkbox: if checked the player will be invincible for a short amount of time.
    duration spinner: the invincibility duration.

Note: when a Player control is activated and, for example, hides the player, you need another Player control activated later to unfreeze him (you only need to uncheck everything in the second Player control).