Wall Slide & Wall Jump Mechanics
📌 What you will learn
Let platformer characters slide slowly down walls and kick off horizontally into the air.
Core approach
When airborne and pressing into a wall, cap downward speed (e.g., y_vel = -2) for a wall slide; pressing Jump sets both upward y_vel and opposite horizontal x_vel.
- Check wall contact on left/right by nudging x by ±2 pixels.
- Briefly lock horizontal air steering for 5 frames after a wall kick so the arc feels crisp.
- Flip the sprite to face away from the wall on jump.
Pro tip & next steps
Pair with a small dust particle clone for awesome platformer game feel.
FAQ
What is the best first step for "Wall Slide & Wall Jump Mechanics"?
Check wall contact on left/right by nudging x by ±2 pixels. Pair with a small dust particle clone for awesome platformer game feel.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.