{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicklxv5cmievgakbjiat3o7xcsajh43kh2pcceryh53n23ympmple",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mk7e3joxngp2"
},
"path": "/t/game-engine-for-2d-games/13977#post_5",
"publishedAt": "2026-04-23T23:44:41.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"games/ld/47/src/Engine.hs · 86784db4a45ade0b9cbd8addb1d1b06146be882d · macaroni.dev / mayhem-engine · GitLab"
],
"textContent": "Brillo doesn’t have sound though, right? I’d say that’s a missing piece to call it a batteries included 2d game engine.\n\nI 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.\n\ngames/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)",
"title": "Game engine for 2d games"
}