Skip to content

hatbeargames/2DGridMapWithChunking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Gridmanager accepts various parameters for Grid (height, width, possibleEnvironmentTypes, chunkSize, etc)
  2. Gridmanager creates tiles onmap using perlin noise to determine tile type.
  3. When GridManager creates tiles, it adds them to a list _tiles.
  4. After all tiles are created, it passes the list to a ChunkManager class that gets added to the MapObject parent in Unity.
  5. ChunkManager takes the list, the chunkSize, the width and height, and creates chunks
  6. ChunkManager then loops through chunks and is supposed to add tiles relevant to the chunk and its size.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages