Posted March 04, 2025 by elcano
#GoedWare Game Jam 13 #Devlog #Breaking The Loop
Today, I went back to working on the cannons. 🎯 They kept failing because they didn’t always rotate in the shortest direction to aim at the ship. After some trial and error, I used the angle_difference
function to fix it, making sure they always turn the optimal way. ✅
On the art side, I drew a new meteor. ☄️ It looks better than yesterday’s, though it’s still nothing amazing. Small progress, but progress nonetheless.
Now for the tough part... 🤯 I spent the entire day stuck on asteroid collisions. The usual bounce code doesn’t work here because the level itself moves and can collide with the asteroid from behind. Way too complex for a 10-day game jam, especially considering I’m just an amateur programmer with only a few games under my belt.
After a lot of trial and error, I finally got it working by constantly adding the level’s rotation to the asteroid, just like I did with the cannons and barriers. I haven’t tested it much yet, but it seems to work. ⚙️
In short, one of those days where I refused to give up. 😤 Fortunately, I think the meteor was the last major hurdle for this game… or at least, I hope so. 🤞