Live data from Hacker News

Swift and the Cute 2d game framework: Setting up a project with CMake

layer22.com

11–20 of 85 posts

Re: Swift and the Cute 2d game framework: Setting up a project with CMake

#11
Last night I tried for maybe about 6 hours so many combinations of efforts to compile a C++, SDL3 and Lua program on Windows, with different IDEs, build systems, compilers, package managers etc. Finally I'm just giving up and using VS with CMake and vcpkg. The main problem is that there's way too many words on all those documentation pages. It would have taken 3 or 4 days to read them all, and maybe only 2 hours worth of it would have been helpful or relevant at all.

Re: Swift and the Cute 2d game framework: Setting up a project with CMake

#13
post #12

Cute looks like a modern version of SDL or maybge SFML[1]. Anyone have any experience with it? [1] https://news.ycombinator.com/item?id=19677201

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.

Re: Swift and the Cute 2d game framework: Setting up a project with CMake

#16
post #12

Cute looks like a modern version of SDL or maybge SFML[1]. Anyone have any experience with it? [1] https://news.ycombinator.com/item?id=19677201

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.

Ah thanks Piotr, also Cute looks very useful, great job.

Re: Swift and the Cute 2d game framework: Setting up a project with CMake

#17
post #11

Last night I tried for maybe about 6 hours so many combinations of efforts to compile a C++, SDL3 and Lua program on Windows, with different IDEs, build systems, compilers, package managers etc. Finally I'm just giving up and using VS with CMake and vcpkg. The main problem is that there's way too many words on all those documentation pages. It would have taken 3 or 4 days to read them all, and maybe only 2 hours wort…

I wonder if there is a SDL3 wrapper that comes with a scripting language[0], hot reload and build scripts for every major platform.

Love2D seems close to that, but afaik it doesn't support SDL3 features like the new GPU API.

[0]: It's not like I'm allergic to C++, but I firmly believe when developing something that is mostly interactive, such as complex GUI or games, a language that is garbage collected and can be hot reloaded would be much more apt.

Re: Swift and the Cute 2d game framework: Setting up a project with CMake

#18
post #16

Earlier quoted context omitted.

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.

Ah thanks Piotr, also Cute looks very useful, great job.

It's not mine, I'm just a fan myself!

Re: Swift and the Cute 2d game framework: Setting up a project with CMake

#20
post #11

Last night I tried for maybe about 6 hours so many combinations of efforts to compile a C++, SDL3 and Lua program on Windows, with different IDEs, build systems, compilers, package managers etc. Finally I'm just giving up and using VS with CMake and vcpkg. The main problem is that there's way too many words on all those documentation pages. It would have taken 3 or 4 days to read them all, and maybe only 2 hours wort…

I wonder if there is a SDL3 wrapper that comes with a scripting language[0], hot reload and build scripts for every major platform. Love2D seems close to that, but afaik it doesn't support SDL3 features like the new GPU API. [0]: It's not like I'm allergic to C++, but I firmly believe when developing something that is mostly interactive, such as complex GUI or games, a language that is garbage collected and can be ho…

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:

Post reply on HN