I'm creating a game similar to this one:
http://getcontinuum.com/screenshots/eg2.png (screenshot)
The map is made up of a sparse set of individual tiles filling approx 1000x1000 set of static (unmoveable) tiles.
My problem is i can't add any more than 512 "bodys" to the Box2D engine (each tile is a body), i hit a hard limit.
Is there another way to add static information to the engine. The tiles will never move, and i want collisions with them to all behave exactly the same. Is Box2D even a good choice for this problem?
I get the feeling im doing something horribly wrong here but can't work out what :/
I'm not sure if i've described my problem terribly well, so if you want me to add anything please let me know
http://getcontinuum.com/screenshots/eg2.png (screenshot)
The map is made up of a sparse set of individual tiles filling approx 1000x1000 set of static (unmoveable) tiles.
My problem is i can't add any more than 512 "bodys" to the Box2D engine (each tile is a body), i hit a hard limit.
Is there another way to add static information to the engine. The tiles will never move, and i want collisions with them to all behave exactly the same. Is Box2D even a good choice for this problem?
I get the feeling im doing something horribly wrong here but can't work out what :/
I'm not sure if i've described my problem terribly well, so if you want me to add anything please let me know