DesertFoxHU / Grimfield

Grimfield is a turn-based 2D strategy game
2 stars 0 forks source link

Client chunk loading #17

Open DesertFoxHU opened 2 years ago

DesertFoxHU commented 2 years ago

Currently, as far as I know, the only thing that prevents bigger maps than 64x64 is the rendering part.

This could get some improvement, like chunks which are not visible for the camera shouldn't be loaded.

DesertFoxHU commented 2 years ago

This is already implemented in unity and in fact works. So the problem is not about rendering instead the big data and gameobject count.

Every tile is a seperated gameobject (64x64 map is 4096 gameobject, that's a lot), so the only solution for this is mesh baking.