- Gridmanager accepts various parameters for Grid (height, width, possibleEnvironmentTypes, chunkSize, etc)
- Gridmanager creates tiles onmap using perlin noise to determine tile type.
- When GridManager creates tiles, it adds them to a list _tiles.
- After all tiles are created, it passes the list to a ChunkManager class that gets added to the MapObject parent in Unity.
- ChunkManager takes the list, the chunkSize, the width and height, and creates chunks
- ChunkManager then loops through chunks and is supposed to add tiles relevant to the chunk and its size.
hatbeargames/2DGridMapWithChunking
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|