🛷 Want to add more depth to your 2D character movement? In this Unity 6 tutorial, we’ll build Crouch and Slide mechanics — letting your player duck under hazards or slide beneath low ceilings for smooth, responsive gameplay.
We’ll cover:
⬇️ Setting up a Crouch state that activates when pressing down
🛷 Creating a Slide state with momentum and timing
🎬 Wiring animations so crouching and sliding feel fluid
🧩 Prepping the codebase for an upcoming state machine refactor
By the end, your character will be able to stand, walk, run, jump, crouch, and slide — giving you a polished movement foundation before we move into cleaner, modular code architecture in the next video.
🔗 Assets Used (Free for Commercial Use!)
Character → Brullov’s Generic Character v.0.2
https://brullov.itch.io/generic-char-asset
Building Decorations → Brullov’s Castle of Despair
https://brullov.itch.io/2d-platformer-asset-pack-castle-of-despair
Cave Tilemap → Szadi’s Pixel Fantasy Caves
https://szadiart.itch.io/pixel-fantasy-caves
Kobold Warrior → Mattz Art’s Kobold Warrior Pack
https://xzany.itch.io/kobold-warrior-2d-pixel-art
💡 Support the Channel
Want more tutorials (2 per week!), early access, and source code? Join the community here:
👉 / nightrunstudio
Or become a YouTube member!
🎹 Music
Chasing Shadows – Night Run Studio
From the Willard soundtrack
⚡ Perfect for: Unity 6 Beginners, 2D Pixel Art Devs, Platformers, Metroidvania Movement Systems, Character Animation Tutorials
Voir sur youtube