News for hackers. Stuff that matters.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by 90s_dev on Friday June 06, 2025 @10:33AM (#44201347)
That's what I'm working on, basically love2d but SDL3 and TS/JS (via QuickJS). And no box2d builtin, but easily importable via CDN.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by raincole on Friday June 06, 2025 @11:13AM (#44201717)
That's my idea stack as well (I tried to build something like SDL2 + V8 at some point but ended up giving up...) If you have a repo/website set up please leave a link for me to follow :)
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by 90s_dev on Friday June 06, 2025 @11:15AM (#44201732)
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by 90s_dev on Friday June 06, 2025 @10:55AM (#44201551)
... at least if I can get the simplest Visual Studio + CMake + vcpkg hello world working.

Which I can't.

This always happens every few years. It takes me about a week to get a C++ program compiling and running, and by the end of it, I've lost all motivation, forget how any of it works, and delete it all and move back to TypeScript/web stuff. At least that I know despite all its warts.

[edit] figured it out

Hello me from the future, googling this in a few years. It's actually really simple: just follow the same steps on that page you were on[1] except you HAVE TO run the `vcpkg new --application` and `vcpkg add port fmt` commands in the dev cmd prompt, you can't just add the file manually for some reason, even though that's all it seems like it's doing.

[1] https://learn.microsoft.com/en-us/vcpkg/get_started/get-star...

Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by 90s_dev on Friday June 06, 2025 @07:00PM (#44205899)
I can't do it.

I can't work in Visual Studio. It's so unintuitive.

I have to do this in VS Code.

Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by CJefferson on Friday June 06, 2025 @01:54PM (#44203360)
Obviously you can do what you like, but I'd advise making sure box2d (or similar) is super easy. Bonus points if there is also a built in function for drawing box2d objects.

I've often taught beginning game dev in a day, and with box2d in love2d you can very quickly make a wide selection of cool games, and while it's not perfect it makes it easy to get started making platforms, doing collisions, all sorts of things.

Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by 90s_dev on Friday June 06, 2025 @03:13PM (#44204028)
Fair enough, maybe I'll include it after all. Unless I get hung up on the question of which physics engine to include. Endless possibilities make decisions difficult.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by CJefferson on Saturday June 07, 2025 @06:05PM (#44213004)
A good way to think about it is in my opinion, you making a choice saves all your future users having to make that choice — imagine the decision making time they will all save.