Hi!
I'm making a multiplayer OUYA game with random map for every match. So my problem is that the performance is horrible.
The map is quite big, maybe 450 tiles, and C2 checks collision for all of them(~20k checks/sec). I only need it to check the collision for the objects that are on screen. I'm using this method to generate the map.
I changed some properties in the method above:
- Spawning max 3 blocks on top of each other
- Not spawning trees
- No biomes
- Added collision
- 150 x 150 px textures
So what should I do in order to get it run well?