Chunk: Difference between revisions
Jump to navigation
Jump to search
Djungelorm (talk | contribs) mNo edit summary |
Djungelorm (talk | contribs) (Clarify description) |
||
Line 1: | Line 1: | ||
A | A Chunk refers to either an area of the map 32x32 [[Tile]]s in size (containing 1024 tiles in total) ''or'' a distance of 32 [[Tile]]s. | ||
Chunks are used for: | |||
* Map generation. When the player runs around and reveals the map or the radar explores the map, it is revealed in chunks. | |||
* Chunks are "switched off" to save CPU cycles. If nothing important happens in a chunk (e.g. there are only fishes swimming around in the chunk) the chunk is not computed in the next [[Tick]]. | |||
* The [[pollution]] model is based on chunks, and pollution spreads to neighboring chunks. | |||
Chunks are used for | |||
* | |||
* | |||
* |
Revision as of 12:38, 13 August 2014
A Chunk refers to either an area of the map 32x32 Tiles in size (containing 1024 tiles in total) or a distance of 32 Tiles.
Chunks are used for:
- Map generation. When the player runs around and reveals the map or the radar explores the map, it is revealed in chunks.
- Chunks are "switched off" to save CPU cycles. If nothing important happens in a chunk (e.g. there are only fishes swimming around in the chunk) the chunk is not computed in the next Tick.
- The pollution model is based on chunks, and pollution spreads to neighboring chunks.