News for hackers. Stuff that matters.

pusewicz

The build process requires you to have a C library built with its own dependencies. I don’t think it’s very common to do that with SwiftPM, hence it would require extra work for it to happen.
I meant that the author of DragonRuby is generous. And depending on your use case he might be willing to give you a free copy. Additionally, whenever there is a gamejam related to DragonRuby, he usually gives away free copies to anyone who wants to participate. For you to keep. Nobody said anything about bypassing paying money. Not sure what you were thinking.
Sure, but it’s not me who built the whole framework. My contributions are fairly superficial.
It’s not just a wrapper. There’s more to it than you might think. It’s easy to say „just” without spending time understanding what a tool does.
What us better about it?
There are better tools. It's a matter of adoption.
https://randygaul.github.io/cute_framework/#/topics/game_loo...

You can request a fixed timestep, and your own loop callback will be called at fixed intervals, which allows you to completely ignore delta time.

But why?
Yeah, it's nice to use a cross-platform, well established tool to actually build a Swift project.
Yeah. It's just tailored for 2D gamedev. Cute uses the new SDL3 GPU API internally. Shaders and sprite batching, automatic sprite atlases etc. that Cute provides is just very specific to 2D games.
Very often you can snatch free copies. Join the Discord. Just ask :)
Try https://dragonruby.org/. It's great! Still on SDL2, but will migrate to SDL3 eventually.

Code reload (because it uses MRuby) is just :chef-kiss:

It's not mine, I'm just a fan myself!
You can use fixed time step. Choice is yours.
Cute uses SDL3 under the hood, but provides an entire framework for game development, ready to use.

It loads Aseprite files automatically, manages animations, collisions, networking, what have you.

I'm wondering if there will be anything new and cool announced next week during the WWDC in regards to Swift inter-op and cross-platform.
https://github.com/KevinVitale/SwiftSDL is a good starting point and already supports macOS and Linux out of the box.
It would be, but also more cumbersome to get it up and running. Not impossible, though!
Re:Fast Allocations in Ruby 3.5 on Friday May 23, 2025 @07:34AM (#44071875)
But Aaron, what do you actually do here?!

I’m so glad to see your work, and it’s always such a treat to read any of your new posts. Hope to see upcoming ones more often!

Re:Go Run on Thursday February 22, 2024 @07:20AM (#39466065)
I totally clicked the link thinking I'd read about some benefits of... running. Yes, as in doing sports.
Been a huge fan of Envy Code R and Iosevka is just a natural progression. Loving that font!

Older »