2D Controller

2D Controller – personal learning project built in Unity Engine.

Features:
– Smooth horizontal movement with configurable acceleration, friction & braking
– Maximum speed clamp to prevent overshoot
– Rigidbody2D physics–driven movement for realistic force responses
– Jumping mechanic with jump cooldown and coyote time grace period
– Reliable ground detection using velocity & position checks

Controls:
Press / to move left & right
Press Space to jump (coyote time & cooldown enforced)

This project was a hands‑on exercise in Unity C# scripting, Rigidbody2D forces, and “game feel” tuning.
I implemented coyote time to make jumping more forgiving and added braking/friction to refine stopping behavior.

Play View project