Sign in to follow this  
Breaka

2D Beat-Em-Up collison

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this