youknowitslark / topdown-8dir-controller
PublicA Unity 2D top-down controller with 8-directional movement and persistent directional idle animations
This is a free character controller for Unity game developers who want smooth, professional-feeling 8-directional movement in their 2D top-down games. The character can walk in any direction—including diagonals—and remembers which way it was facing when it stops, playing the right idle animation. It includes little dust particles when moving and handles sprite layering automatically. It's a focused, single-purpose tool that does one thing well.
How It Works
You've started creating a top-down adventure game and need your character to move around naturally.
Someone online shares a controller that handles 8-directional movement with smooth animations.
You load the project and see a tiny character waiting for you in a test scene, ready to move.
The game starts and your character stands there, waiting for your commands.
You press two keys at once and watch the character glide smoothly in any of the 8 directions.
When you let go, the character stops but keeps facing the direction you were moving.
Walking, stopping, and turning feels natural and polished, with dust particles adding life to every step.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.