Fighting game hitbox tutorial
Posted: Sat Nov 30, 2019 5:53 pm
Hello all. I'm pretty new to Lua/Love and I'm putting together a very simple proof of concept 2D fighter which I will hopefully develop and build out more as I get more comfortable. Basically, my immediate goal is to have 2 characters (same sprite, different color palettes) that can punch/kick and get hit. I'll move to more complex moves (jump kick, crouch kick, etc.) down the road.
I understand the basics of AABBs and was looking over the bump.lua documentation for implementation. I guess I'm mostly just trying to wrap my head around how I essentially attach my hit/hurt boxes to move along with my character and its animations. I've found a few threads searching the forums that helped a little, but if anyone who has worked on this type of game before has any advice or resources that could be of help, it would be appreciated.
Thanks.
I understand the basics of AABBs and was looking over the bump.lua documentation for implementation. I guess I'm mostly just trying to wrap my head around how I essentially attach my hit/hurt boxes to move along with my character and its animations. I've found a few threads searching the forums that helped a little, but if anyone who has worked on this type of game before has any advice or resources that could be of help, it would be appreciated.
Thanks.