Seven platformer ground tricks
Guide: https://www.spritecook.ai/blog/platformer-slopes-one-way-platforms-wall-slide-crumbling-blocks

Open this folder in Godot 4.6 or newer and press Play.

  Arrow keys   run
  Space/Enter  jump (hold it to jump higher)
  Up           climb, while pressing into a wall
  1 to 7       switch each trick off and on: crumble grace, full jump off falling blocks,
               jump-through assist, slope snap, squish duck, wall slide, climb hop

player.gd holds six of the tricks. Copy it onto your own CharacterBody2D. crumble_block.gd and
falling_block.gd go on an AnimatableBody2D each. Put your one-way platforms on physics layer 2
(or change jumpthru_layers) and give the player a collision mask that includes it. Moving solids
call player.push_h(dx, self) to shove the player, which is where the squish duck happens.

The numbers are Celeste's, at Celeste's scale (8 px tiles, an 8 x 11 px body). For bigger tiles,
multiply the px values and keep the times.

play.gd only builds the gray-box level. test.gd runs the tick-by-tick checks from the guide:

  godot --headless --path . res://test.tscn

Free to use in any project, no credit needed.
