Hello! This seems easy enough, yet I haven't been able to pull it off.
What I'm trying to do is have the player be able to jump on the enemy and destroy them, like Mario, then bounce off.
For this scenario we'll assume the player's floor detector has the platform movement, not the player's sprite.
My initial thought was this event:
Player Floor Detector Y greater than Enemy Y
+
Player Floor Detector collides with Enemy
+
Player Animation "Jump" is playing
=
Destroy Enemy, Player Floor Detector= Jump
Now, the problem is that it doesn't work for me. I tried compare height but I guess that means sprite height, not actual position height. Also, all my enemies are under the family "enemy" and I cannot compare the detector's Y to the family enemy's Y (I suppose that is too ambiguous, so doing the event for each enemy wouldn't be so bad)
Any ideas? Me feels so stoopids...