r/odinlang • u/Beautiful_Major_3543 • 12h ago
Asteroids with Odin + Raylib
Hey there, I thought I'd share this little asteroids game I made with Odin and Raylib over the past two months.
Play it here: https://caffeinatedstudios.itch.io/asterodins
I work as a web developer by day and have been building games in Unity for a few years now. Over the course of the past year, I started delegating a lot of my programming to AI. I use it to write code all day at work and, at this point, the last thing I want to do when I clock out is ask an AI to build my game for me.
Long story short, I wanted to challenge myself to write code by hand again. Let me tell ya, it was super fun! I forgot just how fulfilling it is to solve a problem after you've been stuck on it for a while. Also, rediscovering the feeling of locking in and writing code for hours and wondering where the time went.
Anyways huge shoutout to u/KarlZylinski. Still making my way through your Odin book, but it was super helpful when I got started. Also for the great reference repos on your GitHub.
Source code (it ain't pretty, but it works): https://github.com/logan-larson/asterodins
Building for web: https://github.com/karl-zylinski/odin-raylib-web
Created sound effects: https://sfxr.me/