frame

Howdy, Stranger!

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

Sign In Register

Sticking To The Side of Blocks Fix

edited October 27 in How To
Screenshot_14
In a lot of games the player can stick to the side of blocks, but I have made this to sling shot the player to the ground.
Screenshot_16

Comments

  • :astonished: YES I NEEDED TO KNOW HOW TO FIX THAT THANK YOOOOUUUUUU
  • That's a nice thing to know, though I am pretty happy with the wall stick for now.
  • yea I hated this too so I decided to try and stop it. :)
  • If its just for walls, you could make the friction to 0.

    Though this might be useful to floors used like platforms, I'll test it later tonight.
  • edited October 27
    Yea through tests I've seen a few bugs, I forgot when you go enough to the side of a block a ray will not detect a block right below you so now i'm trying to make this detect factors that happen only in the situation of the player getting stuck to the side of a block
  • Screenshot_17
    I made a updated one that works for sides & a few of the other bugs I found
    here is a game you can test it with & copy the behaviers from https://flowlab.io/game/view/1273656
  • I think placing a friction-less block and then a small thin friction platform on top would work
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch