Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Wallstick not slide

HayashininjaHayashininja Member
edited June 2020 in Programming

Hi!

I've been following Blackthornprod's latest walljumping tutorial but I want my character to stick to the wall and not slide. And the walljumping is like in Super meat boy (continuously jumping up a wall) but I want it to be like in Super Metroid (jumping wall to wall). So if anyone could help me with that I would be very grateful :)

Cheers!!

Answers

  • If you just want you character to be stuck to the wall like a gecko, and not slide up or down, then in your 'if(wallSliding)' statement, where you set their velocity, just set the Y, to 0.

Sign In or Register to comment.