Jump to content
  • Advertisement
Sign in to follow this  
Breaka

2D Beat-Em-Up collison

This topic is 5110 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

Hello, Does anyone know of any good articles on 2D Beat-em-up collision detection. Or does anyone have any comments on this? I'd like to work on an old-school 2D beat em up sometime in the future.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Articles on 2D Beat-em-up collision detection??
What is there to elucidate?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by Anonymous Poster
Articles on 2D Beat-em-up collision detection??
What is there to elucidate?


Uhhh ...well lets see ....

Most efficient ways to determine what part of the body is hit. Which part of the body is doing the hitting, etc.

Do you use rects around the body parts?
Do you use a point ?
etc etc
other topics regarding this genre.

Share this post


Link to post
Share on other sites
You could just use bounding rectangles. A rectangle for upper body, another for lower body, and another for whatever you want. This way you can be flexible and will not be limited to a standard size of npcs.

For example a big robot could have more rectangles instead of just an upper and lower. This way it would be possible for you to determine each body parts health and maybe destroy it's arm if the player focused his attacks on that part.

Share this post


Link to post
Share on other sites
Download Mugen and look at how it's character editor works. Replicate it's gameplay, but instead of having two characters in an enclosed arena, have a level that scrolls as you walk, allow the character to move up/down, and use buttom for jumping.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!