Protected
Readonly
dirtyFlag for marking that there are changes that need to be rendered for specific tiles
Protected
Readonly
heightReadonly
renderOptional
ticksAllow overriding the tile layer ticks, used for animation frames
Protected
Readonly
tileProtected
Readonly
tileReadonly
typeProtected
Readonly
widthGenerated using TypeDoc
Each tile in the wayward world is rendered as 4 subtiles (topleft, topright, bottomleft, bottomright). The world consists of 3 tile layers (terrain, doodad, doodadOver). Each subtile is a RGBA 32bit pixel representing a foreground and background tile. Red,Green make up the x,y coordinate in the tilesheet of the foreground tile. Blue,Alpha make up the x,y coordinate in the tilesheet of the background tile. If Red and Green are both 0, the subtile foreground is not rendered. If Blue and Alpha are both 0, the subtile background is not rendered.