YesNoOk
avatar

Why doesn't my move hit? (Read 1178 times)

Started by NikoPalad67140, July 22, 2022, 04:22:02 pm
Share this topic:
Why doesn't my move hit?
#1  July 22, 2022, 04:22:02 pm
  • avatar
  • *
    • France
Hey guys!
I'm making progress with my character, and now I'm at the standing light punch. I placed the collision and attack boxes, chekced if everything was okay, and when I playtest it, the move doesn't deal damage to my opponent. What's wrong, then?

PS. I edited the KMF .def file and deleted all the sprites, palettes and sounds beforehand, but left the animations, commands and states intact.
Re: Why doesn't my move hit?
#2  July 22, 2022, 05:01:38 pm
  • **
Assuming you haven't modified any of kfm's states, the only reason I can think of is that your animation, which should also be 200,  has the attack box before frame 3.
The trigger for stand light punch to hit is: (in the Hitdef controller) trigger1 = AnimElem=3.  Which means your attack box should be on frame 3 or more.  Otherwise change the number to match the frame your attack box starts, or just use trigger1=!time  and not worry about what frames your attack box is in.
Re: Why doesn't my move hit?
#3  July 22, 2022, 05:12:46 pm
  • avatar
  • *
    • France
All right, it worked! Thanks!
Re: Why doesn't my move hit?
#4  July 22, 2022, 05:28:02 pm
  • **
Don't forget to mark this thread as solved!