Skip to content

CONST

source

Some arbitrary constants of the engine

NameValueDescription
CONST.ENGINE_FPS60

The framerate at which the engine updates, e.g. at which ON.GAMEFRAME and similar are called. Independent of rendering framerate, so it does not correlate with the call rate of ON.GUIFRAME and similar.

CONST.MAX_PLAYERS4

Just the max number of players in multiplayer

CONST.MAX_TILES_HORIZ86

Maximum number of working floor tiles in horizontal axis, 86 (0-85 coordinates) Floors spawned above or below will not have any collision

CONST.MAX_TILES_VERT126

Maximum number of working floor tiles in vertical axis, 126 (0-125 coordinates) Floors spawned above or below will not have any collision

CONST.NOF_DRAW_DEPTHS53

Number of draw_depths, 53 (0-52)

CONST.ROOM_HEIGHT8

Height of a 1x1 room, both in world coordinates and in tiles.

CONST.ROOM_WIDTH10

Width of a 1x1 room, both in world coordinates and in tiles.