Hello, I’m using defold for a school project. I’m very far behind as several parts of my code don’t work with no explanation. I’ve been following this tutorial: https://youtu.be/WVR1Xx2lPiA?si=Lb3gWj9G_SGUMn2B
Since adding the checkframe function to activate the player hit box the attack animation has not played, and before that, when i attacked it would stay stuck in the attack state. Here is my code for the attack functions
I know the player can enter the attack state and the attack function is executed (I have used print commands to check this) but it seems the checkframe function isn’t executed and the animation will not play, despite being part of the attack function. Can anyone help me with this? My deadline is upcoming and neither me or my teacher can figure out the problem or how to fix it. I’ve been following the tutorial exactly so I’m so confused as to why it’s not working for me