@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
@stephann@mastodon.gamedev.place
@pikario coding playdate projects made me a better developer. I learnt a lot without the QoL/features from engines like Godot.
@pikario@mastodon.gamedev.place
@stephann I feel this too! So fun to make a button by drawing the rectangle myself, or write the text pixel by pixel, and not that much complicated (but it's also because there is only one resolution to handle, it's convenient)
@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
@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)
@pikario OMG, reminds me of STUN Runner! Love it!
@pikario@mastodon.gamedev.place
@bluestarultor thank you! Never heard of it but it seems cool!
The initial idea for me comes from SpeedX 3D, a game I played a lot on my android (2.3 👴) in highschool: https://youtu.be/iJAaWkeH2R0
@stephann@mastodon.gamedev.place
@pikario wow. It looks hardware-intensive but it is smooth.
@pikario@mastodon.gamedev.place
@stephann yeah I wonder how it will drain the battery, I will do some tests 🤔
@pikario First thought, OMG shattered display 🤣
@pikario@mastodon.gamedev.place
I fixed the issue I had preventing me from drawing images (an uninitialized pointer...), so now I have a title screen! Meet 𝗦𝗨𝗣𝗘𝗥 𝗧𝗢𝗕𝗢𝗚𝗚𝗔𝗡 𝟯𝗗 😋
@pikario@mastodon.gamedev.place
I'm happy I've finally found a way to manage my memory allocations to be able to bring more variety into the obstacles patterns (maybe you noticed it was looping in the last video I shared...)
Never thought to like this much coding with C x)
@pikario@mastodon.gamedev.place
I've made a tool in godot so I can design the tunnels more visually, I can import and export an array of points as text. I can just copy/paste from/to my playdate code in C
@pikario@mastodon.gamedev.place
Last week I focused on the technical side, I now have a stable 20 fps and I can generate obstacle patterns easily 😮💨
Next: level design
@pikario this looks incredible!
@pikario@mastodon.gamedev.place
Audio balance is always the hardest part of gamedev 😓
@pikario@mastodon.gamedev.place
Okay, I'm very proud of the idea I had for the cover art (the one you saw in the #playdate menu), but I will not show it here, you will have to see to yourself when released 👀
(it's only a matter of weeks)
@pikario@mastodon.gamedev.place
Something I wanted to do for a while: using the accelerometer to add an effect when tilting the playdate. It's not my first try to get it right, I struggled with the maths, but today's implementation pleases me!
It's only used in the menu so it won't distract during the levels (they are hard enough 😇)
@pikario@mastodon.gamedev.place
My initial plan was to release a first version on itch and then wait for a slot to publish it on the playdate catalog (can take months). But I learned today I will not be able to use the leaderboard API for the itch build, so I'm now thinking of skipping the itch release 🤔
@desmu@mastodon.desmu.fr
@pikario For my game, I've thought of creating my own online scoreboard system, but in the end I was too lazy to start it and made a distinction between the local scoreboard and the Catalog one, in the same file to avoid building two versions of the pdx. https://gitlab.com/Desmu/les-trucs-qui-tombent/-/blob/main/source/main.lua?ref_type=heads#L973
@pikario@mastodon.gamedev.place
@desmu I see it's clever to just check if there is an error fetching the scoreboard to see which version it is 👍
I don't remember did you release on itch and on the catalog at the same time?
@desmu@mastodon.desmu.fr
@pikario Nope, it was available on Itch in December and Catalog in January. I didn't code functions related to Catalog until Panic approved it but I've thought of it in the initial structure. Once approved, it took me almost no time to add the missing functions and test them with registered simulator and console.
@pikario@mastodon.gamedev.place
@desmu okay! I'm a little (too) curious: in terms of copies sold, I assume the catalog release wins?
@desmu@mastodon.desmu.fr
@pikario It depends, on Itch I've set the price tag at "pay-what-you-want-or-can", and there are 38 downloads (with the help of Uncrank'd Advent Calendar). On Catalog I've got 33 purchases (11 during last sales).
There's a secret spreadsheet on the Catalog Squad Discord with sales for each game for developers who want to share them. Without giving too much away, most games sold between 100 and 1000 copies on Catalog.
@pikario@mastodon.gamedev.place
OMG in the doc about coding in C for the #playdate they insist that you don't use double in your code so I was careful to always use float. I just discovered a function using cos and sin (instead of cosf and sinf), I replaced them and now I have gained 8FPS, they were right about double 😳
@pikario@mastodon.gamedev.place
I've submitted the game to Panic! 😎
@pikario@mastodon.gamedev.place
For the future catalog page I'm creating a banner, Panic says it's recommended not to just be a screenshot, but a render like a cover on an old game box. So I've recreated a tunnel with obstacles in blender, I like the render.
But I'm still researching how I can integrate the title (it can be in color) 🤔
My attempts:
@pikario@mastodon.gamedev.place
Okay, I had an idea to play with the background on the catalog page to make a 3D effect, what do you think?
@pikario i like it! anything that makes you stand out in a digital storefront
@pikario
Several thoughts:
- what about using white to create more contrast (white text or white outlined text)?
- to detach the background from the text, you can try to frame the 3D scene in a smaller rectangle and have the title over it, and its black margins
- you can try using shadows from the title in the toboggan
@pikario
- what about having something totally different: you're no longer in the toboggan, but you see it from outside? Doing so can extend the feeling of scale of your game, just by triggering players' imagination. It can also bring verticality to the toboggan as from the inside it is difficult to know what is vertical.
... I hope it helps.
@pikario@mastodon.gamedev.place
@ampouleman I followed a different direction but your idea is great, I keep it, it may be useful for another thing ☺️
@pikario this is better imo
@pikario
I like that!
@pikario@mastodon.gamedev.place
I'm experimenting with adding an animation when switching between levels: I like this one with the wireframe, but I'm wondering how a non-tech player understand it 🤔 (it may seems like a loading? I don't want my game to be perceived slow)
@pikario the camera could be moving forward while that animation is happening, that'd be cool. and just place the obstacles those two seconds further away
@pikario
Watching the level draw was the original loading screen. But maybe I'm just old fashioned.
@pikario@mastodon.gamedev.place
@humbird0 what do you mean by "original screen"?
@pikario
That was a typo, because my phone sucks.
I meant to say:
"Watching the level draw was the original loading screen."
@pikario@mastodon.gamedev.place
New version! Added a little camera move and I broke the "line" effect just with a modulo 2
@pikario@mastodon.gamedev.place
Created an account on the butterfly website 😞 (why everyone is not on mastodon...)
I want to see how I can touch the playdate community there, for Super Toboggan 3D
But don't worry, the fediverse is my real home 💗
@pikario half of the people didn't find a holding place for business/visibility or just didn't find the people they knew.
The other half fleed thos place because it has strong and lasting social issues
@pikario@mastodon.gamedev.place
Making progress on the scoreboards display! (don't look at the missing characters in the font)
It's also the first UI animation I add to the game (I made the easing functions myself, not hard but cool to do 😎)
Maybe I will add more animation, the system is here, but I will see because I want to keep the game "simple" and adding too much animations can create visual complexity 🤔
@pikario@mastodon.gamedev.place
Earlier this month I've organized a contest at a local gamedev meetup, and nobody get beyond 30% on the INSANE level of difficulty 🤔
So I'm rebalancing it, this one is better I think, and gets harder more gradually (but too easy for its name? Hard to balance something that should be hard)
@pikario@mastodon.gamedev.place
Implemented achievements using the community standard, you will be able to collect them inside Trophy Case!
@pikario@mastodon.gamedev.place
Release on the catalog is tomorrow! I'm excited and anxious 🫨
@pikario@mastodon.gamedev.place
𝗦𝗨𝗣𝗘𝗥 𝗧𝗢𝗕𝗢𝗚𝗚𝗔𝗡 𝟯𝗗 is out now on Playdate catalog!!!! 🛝
https://play.date/games/super-toboggan-3d/
It's a real 3D game where you dodge obstacles inside a tunnel, there are 3 levels of difficulty, try to reach the highest score!
Scroll up for a devlog if you are interested ⏫
You can also check the one on my website (in french) : https://pikario.fr/capsule/devlogs/super_toboggan_3D/devlog.html
@pikario@mastodon.gamedev.place
I didn't share here the trailer I've made for 𝗦𝗨𝗣𝗘𝗥 𝗧𝗢𝗕𝗢𝗚𝗚𝗔𝗡 𝟯𝗗!
Very fun to make!
@pikario@mastodon.gamedev.place
One month after the catalog release... 𝗦𝗨𝗣𝗘𝗥 𝗧𝗢𝗕𝗢𝗚𝗚𝗔𝗡 𝟯𝗗 is now also available on itch.io for 6$!
https://pikario.itch.io/super-toboggan-3d
Will you make 100% in INSANE difficulty? 👀
@pikario this is so rad. Gonna get it for my PD asap. Love people pushing the hardware like this.
(Also thanks for that report)
@pikario@mastodon.gamedev.place
@mdiluz (no problem! I hesitated to report because the spam was not coming from this instance, glad it can still helps!)
@pikario yeah, it's fair to be cautious. General rule of thumb is if it's interacting with (directly or close to) someone on this instance then it's worth it to clean out and keep an eye on bad instances
@pikario wow! This looks amazing! Now I wish i hade a play date... hmm this would be fun even on pico-8 or perhaps picotron 🤔
Great work!
@pikario
That's awesome! I didn't know the playdate had an accelerometer!!! Add me to the list of ppl to tag when the game is out, I wanna play!