I was hoping someone would know how to make hitboxes. I am making my own version of Mario Bros and i need the goombas to die when they are hit on the head but i want the player to die if they hit the goomba anywhere other than the head
I was hoping someone would know how to make hitboxes. I am making my own version of Mario Bros and i need the goombas to die when they are hit on the head but i want the player to die if they hit the goomba anywhere other than the head
You will need to get your movement codes in order first.
I was hoping someone would know how to make hitboxes.
You would not need a separate hit box to accomplish what you want here. Just knowing that the collision with the goomba was caused by a vertical downward motion by the actor is enough.