First let me thank you guys for this library, browsing through examples made me very excited and I immediately want to test it out!
I would like to create a simple 2d platform game. Most of stuff should be governed by rules of physics but some deviations are required, and 2 problems immediately crossed my mind and cannot really figure it out.
-
player (or any other monster): I imagine these guys as boxes, which are always axis aligned (they don’t flip over even when standing on narrow ledge) and magically move by constant velocity in horizontal direction. Vertically, they should follow laws of physics. Horizontal movement speed should be constant, not discrete nudges.
-
every platformer has these little elevators which go up and down (or sideways) and never stop and can move other things on top of them! What would be most suitable representation? I can imagine appending elevator to a Fixed join and translating it around (assuming I read code in 2d testbed correctly). Now I only need to disallow rotation (add a second joint?).
So, that’s it. I would appreciate suggestions how to proceed! Thanks.