Arrow keys to move. Doesn't anyone have that annoying time where you make a platformer with some code that you borrowed? Sometimes there is wall jump, sometimes it goes straight through the walls! I assure you that this does not have wall jump. It is not smooth but it will do the job. You may sink into the walls, or it might get laggy. When it suddenly ends, it means something has gone wrong. This will not work on thin walls. PLZ leave me some tips. I'm not that good at this.
All me. Use this code with credit. Please post anything you make with this code in the chat! Hope you like it! P.S. there are many bugs Update 0.9 | Fixed a bit of jumping on the walls.| Update 1.0 | Changed "hitting the wall" code | Update 1.1 | Now it works on thin walls and (sometimes) when you land on a wall|