Game engine for 2d games
Haskell Community [Unofficial]
April 23, 2026
Brillo doesn’t have sound though, right? I’d say that’s a missing piece to call it a batteries included 2d game engine.
I messed around with gloss and declarative sound (à la world -> Picture) and rigged up a “diff” based thing. Delta world -> Sound). Since the rising/falling edge is sometimes the sound trigger. I didn’t take it very far but it felt promising.
games/ld/47/src/Engine.hs · 86784db4a45ade0b9cbd8addb1d1b06146be882d · macaroni.dev / mayhem-engine · GitLab Code is here. It’s not very good (very mtl-y) and basically a thin wrapper around ALUT (not super algebraic lol)
Discussion in the ATmosphere