In a fighting game a move that you execute is basically just a series of hit boxes that are enabled and disabled at certain times. I want to know how do you create this hit box system. I have no idea as to how to make a flexible system where I can enable and disable a hit box on any frame of a move and also adding additional frame data. All I can think of is having a list that is the size of the amount of frames of the move, and add all of the enables, disables, and frame data as one list item. The problem with that is that a list item can only be one object so I have to somehow make all my frame data and hit box enables & disables into one object. If I can have as many hit boxes in a move as I want then this list item object needs to have a list as well, which I don't think is a good way of doing it. So I just want to know all of the good ways of implementing a hit box system in a fighting game.
Subscribe to:
Post Comments (Atom)
Simple past, Present perfect Past perfect
Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...
-
As in many game libraries such as LWJGL, you can check mouse/keyboard events with Mouse.isButtonDown or Keyboard.IsKeyDown. I want to check ...
-
Will all the three sentences express this idea naturally? Section two roughly symmetrical pieces of your hair at the front. (Used by an Amer...
-
I am looking for a way to calculate surface area of a 3D mesh object and found this code from a Unity forum : public float Area(Mesh m) {...
No comments:
Post a Comment