Dev Blog: Project Moldering
Box2D: Collision Space in Level Editor

I stayed up late and wrote code. Holding ‘B’ in the level editor draws collision boxes which create static Box2D shapes. These save and then load in-game and prevent Box2D objects from wedging between what would have been joins between touching tiles.


This removed a major glitch from the game (and Box2D engine?) allowing for a smoother game experience. Now I need to work out a few other Box2D related Moldering glitches.

-James

blog comments powered by Disqus Bookmark and Share