GameWidth

Returns the width of the game space in the player's local coordinate space. The game space is defined as a spatial mapping to the visible area of the screen in which players interact. Intuitively, it can be thought of as encompassing the graphical area of the game. The dimensions of the game space is specified by the GameWidth and GameHeight parameters in mugen.cfg.

Format:

GameHeight

Arguments:

none

Return type:

float

Error conditions:

none

Example:

trigger1 = ScreenPos X >= GameWidth / 2
  Triggers if the player is to the right of the center of the screen.

Last updated