itch.io is community of indie game creators and players

Devlogs

Slowly turning into a game

CubeSacrifice
A browser game made in HTML5

Having missed yesterday, I found another couple of quiet hours today to work on the language/compiler/game idea. It's coming along nicely I now have a reasonably capable language. A compiler I wrote in Haskell, that reads the language into an IR, does some trivial optimisations and slots in calls to my game engine and then writes out javascript. The game is sort of playable. Your player must sacrifice themselves to help their next incarnation reach the exit.

Whole thing from scratch in about 6 hours so far. No AI or LLMs anywhere.

The game looks like this:

and the current code for the game in my language is here:

I'm going to put a few hours in on Saturday trying to make the game fun and add some levels. I do like the idea and think there could be something fun in it so I will continue Cube Sacrifice after the jam.

Files

  • Itch.zip 28 kB
    21 hours ago
Leave a comment