Chunk
Jump to navigation
Jump to search
A chunk is an area of 32x32 Tiles and so they fetch together 1024 tiles.
Chunks are used for
- map generation. When the player runs around, he reveals the map, this is done in junks, because memory needs to be allocated, map needs to be calculated etc.
- pollution. The pollution model is based on chunks, the pollution spreads to the neighbors.