Pixel Game Maker MV

Pixel Game Maker MV

rinutters2 Oct 2, 2019 @ 5:44pm
¡Help! I want to "Do the Mario" (Damage enemies by jumping on them)
i want my character to jump on enemies and damage them like in the mario games, but i dont know how to avoid damaging the enemies while jumping, what condition setting can i use to force my character to activate his attack (or changing action) only when he is above an object?

in fact, what condition setting can i use to force my character to do an action based on his position relative to his enemies?
Originally posted by boots:
I'd say create a "falling" state/animation that plays after the "jump peak is reached" condition. Add an attack detection to the bottom of the falling animation. If you then remove the attack detection from the jump animation, the character should only do damage while it's in the fall animation state.
< >
Showing 1-3 of 3 comments
erobotan Oct 2, 2019 @ 7:23pm 
there is a "when a jump peak is reached" condition or something like that right? When that condition is reached do jumping down procedure and add an attack hitbox oh your character's leg
A developer of this app has indicated that this post answers the original topic.
boots Oct 3, 2019 @ 3:16am 
I'd say create a "falling" state/animation that plays after the "jump peak is reached" condition. Add an attack detection to the bottom of the falling animation. If you then remove the attack detection from the jump animation, the character should only do damage while it's in the fall animation state.
CHOPPER1066 Dec 8, 2019 @ 1:34pm 
Same answer as above I think, but check this tutorial out anyway https://www.youtube.com/watch?v=jEUVE6fQZqQ
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Oct 2, 2019 @ 5:44pm
Posts: 3