Chunk: Difference between revisions
Jump to navigation
Jump to search
(New page) |
mNo edit summary |
||
Line 1: | Line 1: | ||
A chunk is an area of 32x32 [[Tile]]s and so | A chunk is an area of 32x32 [[Tile]]s and so it contains 1024 tiles. | ||
Chunks are used for | 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. | * 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. | * pollution. The pollution-model is based on chunks, the pollution spreads to the neighbors. |
Revision as of 00:28, 18 December 2013
A chunk is an area of 32x32 Tiles and so it contains 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.