• Advertisement
Sign in to follow this  

Interactive body parts in 2d game

This topic is 1404 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey,

I'm wondering what would be the best approach to make a character be completely interactive with the environment just like in the "Happy Wheels" game. How are characters in "Happy Wheels" made anyway? Are they 3d models or each body part is a separate object and everything is just being linked into 1 character in game?

I would like to achieve a similar effect but in a completely 2d game (without 3d models), so that character would bleed just in place where he was shot, could be cut on half in many places of his body etc... ; P

Edited by savail

Share this post


Link to post
Share on other sites
Advertisement
This works more or less the same in 2D as it does in 3D. You create a number of physics bodies that are joined together with constraints as a single character, and use some filtering so the attached bodies don't collide with each other and explode the physics simulation. Box2D can do this, as can most 2D physics libraries. For rendering, you can just draw a sprite for each body piece for a simple approach.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement