[−][src]Module pokemon_rust::constants

Common constants used throughout the entire game.

Constants

MAP_DECORATION_LAYER_Z

The Z coordinate of the Decoration layer of the map.

MAP_TERRAIN_LAYER_Z

The Z coordinate of the Terrain layer of the map.

TILE_SIZE

The size of a tile, in pixels.

UNIVERSAL_PLAYER_OFFSET_Y

An offset applied to the Y coordinate of the player to better align it to its tile. An offset value of 0 would make it perfectly centered in the tile.