Pikario :godot: :playdate:@pikario@mastodon.gamedev.place

It wasn't easy, the tunnel is in fact working since the beginning of the week **inside the simulator**, and when I uploaded it to the real device it crashed 🥲
It took me the last two days of trials and crashes to make it work: I was cpu bound (and so the device kill the app), I needed to split the game init between multiple frames

Pikario :godot: :playdate:@pikario@mastodon.gamedev.place

I'm having a really great time on this project ❤️
I've been able to add some states (menu, in game and pause), with some UI (I draw everything myself, event the font), an object floating in the tunnel (it's a test for the future player character). I also greatly improved the graphics: I found a wireframe mode from the SDK but I wasn't happy with so I rewritte some parts. I didn't except to have so much fun writing C!
Next focus: the gameplay ☝

#playdate #gamedev #indiedev

Pikario :godot: :playdate:@pikario@mastodon.gamedev.place

The draw order was a headache (the obstacles were not hidden by the tunnel), at the end I draw all of them (tunnel + obstacles) as the same object, it solves a lot of things x)
The first time I ran this version on real hardware, the framerate was low (below 20fps), I've implemented sort of a LOD system for the tunnel and now I stay around 30fps, I think it will be my target (although the playdate can go up to 50)

#screenshotsaturday #playdate #indiedev #gamedev

불러오는 중…