Hi guys,
Been reading the forums and looking for answers but to no solution to my problems.
I'm trying to create a platform fighting game and i have a few issues at hand
1) I have added in a few animations on the player sprite and one of the is the punching animation. I understand that in order for the game to know that when the player sprite's fist hits the enemy then a collusion will have to be on the fist. I tried adding a collusion box to the fist but it seemed to be displaying correct on the mirrored side of the sprite but not on the non-mirrored side as i'm guessing the imagepoint causing the issue.
2) How do i after pressing the punch button (k), the animation will end? Right now when i press and hold the button K, the punch animation stays there instead of going back to the idle animation.
3) Also, after i press the punch button (k), the collusion box stays at where the last animation is played. How do i also after the punch animation ends the collusion box disappears too?
4) I tried to have the enemies chase the player around the game but there's 2 things i can't get my head around which is 1) Make the AI able to jump on the platforms and chase the player 2) Why are my enemies all turning in all different directions and not walking on the ground as they are supposed to?
I have attached my capx file for the pros here to take a look.