Ok so i have my box2d code pretty much completed but im not sure how to set out levels, is it best to have one b2world and just empty it at the end if a level and re-populate it at the start if a new level or should i have a new world for each level?
I currently have all my code in the document classes and i have a class for each onject i want to add to my b2world so i think i would be able to set up either method but which is easier on the memory?
or better coding practice?
thanks
I currently have all my code in the document classes and i have a class for each onject i want to add to my b2world so i think i would be able to set up either method but which is easier on the memory?
or better coding practice?
thanks