←back to thread

100 points delduca | 3 comments | | HN request time: 0.496s | source
1. lovich ◴[] No.45007255[source]
A game engine is a pretty big solo project. Did you base it off monogame, Godot or something similar, or did you start from scratch?
replies(2): >>45007372 #>>45039190 #
2. delduca ◴[] No.45007372[source]
I wrote everything from scratch[1], like old games. However, unlike them, I designed a flexible Lua API that’s powerful enough to create (small) games.

I used SDL3 with hardware acceleration, OpenAL, Lua (via sol3), PhysFS, and nlohmann::json. (I could have used only Lua, but the engine needs to interface with the web via WebSockets.) For WebSockets, I use Boost only on desktop and mobile; on the web, I rely on the browser’s native API.

1 - Code is like pasta — much more delicious when homemade.

3. sentinelsignal ◴[] No.45039190[source]
Agreed. Genuinely curious how long this has taken so far