@pikario@mastodon.gamedev.place
I may have a new side project 😇
Finally took time to see how dev on the #playdate works (specially 3D !)
@pikario@mastodon.gamedev.place
I may have a new side project 😇
Finally took time to see how dev on the #playdate works (specially 3D !)
@pikario@mastodon.gamedev.place
I've successfully rewritten the code in C (in the video above it was lua): I will need a direct access to the 3D API and the best performance for the idea I have
And now I go to sleep 🥱
@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@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 ☝
@pikario@mastodon.gamedev.place
Working with a tiny device like the playdate and its constraints take me back when I was doing games for my casio calculator during school, I loved making them!
And I was sending my creations to my friend directly with a cable, it was so cool
@pikario@mastodon.gamedev.place
Finally a beginning of something that looks like a gameplay
(I'm using the crank to rotate)
@ciaxeres@mastodon.gamedev.place
@pikario it looks fun to play with. how you created the tunel? Is it a procedural process?
@pikario@mastodon.gamedev.place
@ciaxeres yes! I have points I want the tunnel to go through and I generate a curve, and then the tunnel around every frame. I took a lot of inspiration from atunnel.c from xscreensaver: https://youtu.be/mpCRbi3jkuc
불러오는 중…