Lemmings CSS Animation markblah.github.io · 59 points · 10 comments · HN thread ...

@best

Lemmings CSS Animation markblah.github.io · 59 points · 10 comments · HN thread

TL;DR A personal project by MarkBlah that recreates the Lemmings-style walker game in pure CSS animation, using the text of the page itself as the terrain. Each line of text acts as a floor that walkers can drop from, fall off, or land on, while the page layout reflows on window resize. The submission is a playful tribute to the original Psygnosis game, and the author says it is meant to be resized to see the level change.

  • Each line of text is treated as its own floor that walkers can land on.
  • Walkers can drop from one line to another or fall off the end of a short line.
  • Line spacing is set tighter than a walker's height, so text lines do not block walkers; only borders, boxes, buttons, images and fields do.
  • A single long floor near the bottom of the page catches anything that falls all the way down.
  • The page is built to reflow on window resize, which changes the terrain.
  • The author describes it as a tribute to Psygnosis's Lemmings.

Discussion The thread is short and warm. Most comments are appreciation for the demo and nostalgia for the original Lemmings. A few commenters recall an older browser-based Lemmings clone, one offers a CSS fix for zoom bugs on mobile, and the author replies to thank them and mentions a related robot-mapping project on a personal site. The mood is friendly and admiring with no real disagreement.

  • Charming tribute and a fun, impressive demo (many): Several commenters simply say it is cute, fantastic, or pretty sweet, and that they loved the original game. The reaction is affectionate rather than analytical.
  • Mobile zoom bugs need a CSS fix (a few): One commenter reports zoom problems on mobile and suggests setting overflow-x: clip and touch-action: manipulation on the html element. The author says they will add it.
  • Nostalgia for an older HTML5 Lemmings clone (a few): One commenter remembers an earlier browser Lemmings demo with a few playable levels, built when sites were mostly server-rendered, and cannot find it anymore.
  • Interest in the technical challenge of measuring characters (a few): A commenter who built a hexagon robot that maps a page with SLAM asks how the author got per-character block sizes, which they expected to be the hardest part. The thread does not get a detailed answer.

Links from the comments

#css #animation #lemmings #webdev #gamedev