Project update

posted in Ezbez's Blog
Published January 15, 2011
Advertisement
In the past couple days I've made two large changes to my project. First, I've started using Chipmunk for physics (and pymunk for Python bindings). This has been a great choice so far. Integrating Chipmunk into my game was painless and the results have been very good. I had initial difficulties getting movement of the player to work well with the physics engine, but the creator of Chipmunk pointed me towards the tanks demo project that Chipmunk ships with. It uses a dummy body bound to the actual body with a pivot joint to control velocity while respecting a maximum force to keep the physics happy. It works perfectly.

The second change, which prompted the first one, is the addition of maps to the game. For now, it's a simple grid of either open spaces or blocks, but I'll be expanding upon that as needed. Thanks to Chipmunk, it was easy to get this working with the existing game.

However, these changes have meant that I've broken multiplayer again, and the py2exe setup needs tweaking. So instead of an executable demo, I've just got this oh-so-pretty picture. Enjoy!

screenshot.jpg
0 likes 2 comments

Comments

ObsidianBlk
Hey man! I haven't been able to get the demo you posted in your last blog working, but this screen shot you posted looks pretty damn good, if you ask me. I might have to take a look at chipmunk for my own engine.

You know what you should do, if you can... record little 10 to 30 second videos of the game-play, just so shmucks like me can see how the game goes! lol
January 17, 2011 03:38 AM
Ezbez
I definitely recommend Chipmunk if you need 2D physics.

A video would be nice, but I don't have any easy way to make one and the gameplay isn't exactly very exciting looking right now. I'll think about doing that at some point.
January 18, 2011 07:39 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Advertisement