box2d templates for Ignition?
Monkey Forums/Monkey Programming/box2d templates for Ignition?
| ||
Hi, I am experimenting with box2d templates for Ignition. http://playniax.com/share/demos/box2d/html5/MonkeyGame.html I started out with box2d so I don't know much about it. Does any one know if the shapes can be 'skinned' because I think that would be a cool feature for Ignition to support if possible. I don't promiss anything yet though ;) Also is box2d the engine by choice? Bye |
| ||
I have been playing with box2d for a while. I think I wood probably move my project over to playniax if it had box 2d support. |
| ||
Box2d is very nice and it's the first choice when it comes to 2d games with physics. BUT: Box2d is made for games that are platform like, NOT for games that are top down even though it works there as well. But you need some tweeks here and there to make it nice for top down games. |
| ||
@Xaron: Why do you think it is for platform games only? Just add no gravity and you can use it for top down games too. |
| ||
I currently use a modified version of my Box2D framework with Ignition: http://www.monkeycoder.co.nz/Community/posts.php?topic=3106 |
| ||
That explains it much better than I can: http://www.iforce2d.net/b2dtut/top-down-car Fact is you have to do some additional work, apply some "counter" forces by yourself and so on. You just don't have some kind of "ground friction". |
| ||
Well, there still is linear and angular damping. If that is not enough, you can also determine the current force and apply something in the opposite direction. |
| ||
I have uploaded a box2d template for Ignition. For people who bought the framework you can download it here: http://monkey.playniax.com/ You also need to download the box2d module from the website: http://code.google.com/p/monkeybox2d/ Playniax does not support box2d in any way so use at own risk!!! |
| ||
Just ordered! :D will look at moveing my game project over. |
| ||
I have put a small update v1.v5b at http://monkey.playniax.com It fixes some button problems that slipped in earlier. I have also split the engine tutorial in 2 parts. Beginner and advanced. |