melee attack help


#1

Does anyone here know how to properly make a melee attack for a side-scrolling game?
Just started using this engine.


#2

Usually you create an attack animation for the attacking character. Then you create a condition and check for the particular frame number in which the hit should happen and spawn a small object at the position of the hand (you may create a point for that on the character sprite). With the small object you do a collision check with the enemy and delete it right afterwards so that it only exists for one frame.


#3

hiā€¦can you show us the conditions needed? Im lost :slight_smile: