I coded a 2D player controller in 2 LINES! (Godot 4)

Опубликовано: 24 Октябрь 2024
на канале: Mina Pêcheux
1,098
80

#gamedev #challenge #godot

🚀 Support me on Patreon:   / minapecheux  

In Godot 4, it's easy to make a player controller script, both for 2D and 3D. But... how much could we actually shrink it down? Can we implement this in just 2 lines of code? (Spoiler: yup!)
Time for a little Godot/GDScript game dev challenge!

================
Music by: Bensound.com/free-music-for-videos
License code: 2QYXGHHKBXHYVPZJ