Show HN: Sprigman – Pac-Man Recreated in a Limited Tile Based JavaScript Engine

sprig.hackclub.com

18 points by kuberwastaken 4 days ago

Sprig is a tile based game engine made by Hack Club that's like Scratch's older brother but has it's own set of unique limitations.

All sprites need to be made in Bitmap and uses a midi like event sequencer to get any music into it, since it's meant for a different set of hardware, you can only use very basic controls too.

I made a version of PacMan inside it that has randomly generated mazes every time and mostly works well!

tdy_err 16 hours ago

Heads up, you need to add a CSS rule to make the game playable on mobile browsers. Otherwise the page zooms in whenever you tap the controller.

https://developer.mozilla.org/en-US/docs/Web/CSS/touch-actio... `button { touch-action: manipulation; } `

  • kuberwastaken 13 hours ago

    Uh there's no way for me to allow it to be played on mobile because 1. I don't own the website, 2. It's designed for another set of hardware with very little controls, the game works with WASD and K