Help With Platformer Melee

PasseGaming

Active member
Greetings, I am working on a game with my son and we're trying to figure out how to use melee attack's instead of simply jumping on enemies. We'd also like to disable the jumping attack if thats possible. Anyone know how to go about it using the L to R Platformer module?
 

PasseGaming

Active member
I am using the imput script from the brawler but for some reason if you attack while moving, the attack sprite just hangs out before vanishing. It's really odd and I'd like ti to follow along with the player. Plus for some reason I can't get the animation to flip left or right. I followed what Joe did in the tutorial but it doesn't seem to work right.
 

dale_coop

Moderator
Staff member
For the "jumpOn kills" thing, the code is located in the handle player hurt script...
Just comment out all the code related to that monster under your feet check (lines 10 to 46)

You can not easily make the player weapon object following you (not impossible, but it's a pain the ass to code). I'd suggest to "just" block the movement inputs while your player is on his attack state. OR you could use a sprite weapon instead of en object (If your weapon has no animation and is basically resumed to draw a sprite next to your player).
 
Top Bottom