jki
banner
jkirstei.bsky.social
jki
@jkirstei.bsky.social
Learning Godot in my spare time
Been stuck in "let's wrap this learning project up already". Added a transition from the boot splash to the main menu.

Was more tricky than expected to calculate the logo placement (not the same size on desktop-vs-ipad)
February 15, 2025 at 7:32 AM
January 29, 2025 at 11:29 PM
Baby steps
January 29, 2025 at 12:32 PM
Messing around with #godot for #tvos - got it to build (though not the simulator build yet)

There's some MetalFX upscaling thing happening in the iOS code, which makes it less straightforward to run on tvOS.
January 29, 2025 at 12:26 PM
Spent some time investigating #godot builds and how to bundle metadata with it.

Ended up generating a build.cfg at build time, populated with git describe + auto-incremented build number stored in a BUILD file.

And a python script to also modify export_preset.cfg 🙈
January 26, 2025 at 9:45 PM
Adding some drag-and-drop.

This feels very satisfying on a mobile device. #godot
January 21, 2025 at 10:07 PM
Experimenting with custom #godot containers. The top "black bar" is a container that positions content inside "16:9 play area inside iOS safe area" but extends the edges to the screen edge.
January 20, 2025 at 8:43 PM
So turns out it works well. You can fork #ruffle, bundle with an SWF file, and twiddle with provisioning profiles for 5 hours and voilà. Old #flixel game successfully brought to the desktop.

#gamedev #actionscript
January 15, 2025 at 8:50 AM
Found an old flash game i did (in #flixel iirc) online.

I wonder if it's feasible to preserve it outside of ad infested websites by bundling with some open source player built for the desktop? E.g. "ruffle" that launches directly this SWF. Has anybody seen this work?

#gamedev #flash
January 15, 2025 at 12:25 AM
The inset values are not an exact match with what I get from Swift UI for some reason.

It's close enough that I don't want to investigate, but it's still curious.

(The small dark-red bits are where the difference lies. Godot is narrower)
January 12, 2025 at 11:53 PM
Created a little margin node to help set the iOS safe area insets with #godot: gist.github.com/jkirsteins/5...

I think it might be useful to have some ability to simulate these sizes in the editor, without going to the device each time.
January 12, 2025 at 11:51 PM
It looks like some reading about the iOS safe area x #godot is in order.
January 12, 2025 at 9:57 PM
My game is currently played by two bots randomly throwing cards at each other without any strategy. Feels right.

I'm at the stage where a match can be started, played, won or lost, and then replayed. All in multiplayer via WebRTC.

#godot #gamedev #multiplayer
January 5, 2025 at 6:32 PM
All of these #apple #macos settings are hostile UX. The hubris of people who decided these work remotely well enough to be “on by default” must be astounding.
January 4, 2025 at 9:35 PM
Alright, think I'm done tinkering for now. Good enough, let's put it into the scene now...
December 29, 2024 at 7:17 PM
And bouncing into view #godot
December 29, 2024 at 3:55 PM
Testing text effects in #godot. Wavey movement.
December 29, 2024 at 3:55 PM
Going to make some custom drawn #godot nodes for status effects.

Early sneak peek. Going to be beautiful, get in on the ground floor. "I saw it before it was hot" (these are glyph outlines)
December 28, 2024 at 6:26 PM
I've internalized that multiplayer is hard. I mean I knew it, everybody says so, but I'm still surprised at how many issues I keep having for a very simple game.

I finally have something non janky though. The ability to play these cards rapidly without issues did not come easy 😅

#godot #gamedev
December 27, 2024 at 9:58 PM
Tried exporting the #godot project to iOS and connect to the desktop. This made me realize that aspect ratios are a thing.

A couple of iterations later, i ended up centering a 16:9 area in whatever the overall window size is, and ignoring the rest.
December 27, 2024 at 9:52 PM
The API seems nice, but it'll take a bit to figure out how to use it well. For now, I'm using a hodgepodge combination of MultiplayerSynchronizer/Spawner for the UI, and regular reliable RPC calls for sending events and building the state in parallel on each peer.
December 9, 2024 at 11:00 PM
Looked into the #Godot #multiplayer API.

I set up a little test app, which connects to itself, and allows exchanging turns. Each instance can act as a Human or a Random controller.

Now to plug it to the game UI.
December 9, 2024 at 10:50 PM
Today's progress was figuring out how to fan cards using a Path2D in #Godot.
December 1, 2024 at 11:04 PM
🧵 I'm learning Godot by making a game.

The focus is not on design. I'll implement a simple pre-existing game for 2 players.

The focus is on #learning #Godot. I hope this will expose me to a vertical slice of everything: localisation, 2d, shaders, animations, multiplayer etc.
December 1, 2024 at 10:59 PM