HNHacker News
TopNewBestAskShowJobs

pusewicz

82 karma · joined February 19, 2013

submissionscomments
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
This.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
Sure, but it’s not me who built the whole framework. My contributions are fairly superficial.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
What us better about it?
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
There are better tools. It's a matter of adoption.
pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
LOL
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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.

pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
But why?
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
Yeah, it's nice to use a cross-platform, well established tool to actually build a Swift project.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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.
pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
FINE
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
Very often you can snatch free copies. Join the Discord. Just ask :)
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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:

pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
It's not mine, I'm just a fan myself!
pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
You can use fixed time step. Choice is yours.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
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.

pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
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.
pusewicz··on Swift and Cute 2D Game Framework: Setting Up a Project with CMake
https://github.com/KevinVitale/SwiftSDL is a good starting point and already supports macOS and Linux out of the box.
pusewicz··on Swift and the Cute 2d game framework: Setting up a project with CMake
It would be, but also more cumbersome to get it up and running. Not impossible, though!
pusewicz··on Fast Allocations in Ruby 3.5
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!

pusewicz··on Go run
I totally clicked the link thinking I'd read about some benefits of... running. Yes, as in doing sports.
pusewicz··on Iosevka typeface for code, from code
Been a huge fan of Envy Code R and Iosevka is just a natural progression. Loving that font!
pusewicz··on Ask HN: How do you get work done while there is a war in Europe?
It's definitely tricky and I find myself doing the same, refreshing Reddit, BBC News, Twitter and Telegram channels.

It sucks, and I bet the closer (geographically) you are to the conflict, the worse it gets.

Trying to do your routine helps sometimes, but I don't think it's feasible to completely forget about what's happening.

pusewicz··on Ask HN: Who is hiring? (July 2021)
Harvest | Frontend Software Engineer, Data Scientist, Senior Product Manager, Financial Analysis & Business Intelligence Manager | Worldwide | Remote Full-Time | https://www.getharvest.com/careers

Data Scientist * https://apply.workable.com/harvest/j/CECA40A843/

Financial Analysis & Business Intelligence Manager * https://apply.workable.com/harvest/j/B1D0F44B8A/

Senior Product Manager * https://apply.workable.com/harvest/j/BFDD543316/

Frontend Software Engineer * https://apply.workable.com/harvest/j/DC9E5AF371/

pusewicz··on An in-app HTTP inspector for Android OkHttp clients
Woot!
pusewicz··on Play classic DOS games online
I'm working on this website where you can play the classic abandonware online.

Here's an example: http://retro.layer22.com/games/prince-of-persia

Seems to be hanging at the moment. Would appreciate some help!

pusewicz··on James Golick has died
Unbelievable. RIP James!
pusewicz··on TextJs – Secure SMS from Your Browser for Android
This is pretty great. Gives you iOS like iMessage to your PC/Mac syncing so you can do your SMS texting from within your browser that directly connects to your phone. The most secure solution available.
Page 1 of 2Next →