ReC98/th02/main/player/player.inc

16 lines
495 B
PHP

PLAYER_W = 32
PLAYER_H = 48
PLAYER_OPTION_W = 16
PLAYER_OPTION_H = 16
PLAYER_OPTION_DISTANCE = (PLAYER_W / 2) + (PLAYER_OPTION_W / 2)
PLAYER_OPTION_TO_OPTION_DISTANCE = (PLAYER_OPTION_DISTANCE * 2)
PLAYER_LEFT_TO_OPTION_LEFT_LEFT = (PLAYER_OPTION_DISTANCE - (PLAYER_W / 2) + (PLAYER_OPTION_W / 2))
PLAYER_LEFT_START = (PLAYFIELD_LEFT + (PLAYFIELD_W / 2) - (PLAYER_W / 2))
PLAYER_TOP_START = (PLAYFIELD_BOTTOM - PLAYER_H)
POWER_MIN = 1
POWER_MAX = 80
POWER_OVERFLOW_MAX = 42
SHOT_LEVEL_MAX = 9