Top
Best
New

Posted by MarkBlah 8 hours ago

Lemmings CSS Animation(markblah.github.io)
254 points | 49 comments
rfarley04 4 hours ago|
I played this game for dozens of hours with my dad growing up and seeing and playing with these animations is one of those times when nostalgia is so overwhelming and unexpected that I feel physically dizzy. If the animation had the sounds of lemmings dying when they fell from too high[1] I might have been hospitalized. Good work.

[1] https://www.youtube.com/watch?v=F_RmG9WB4BE

TacticalCoder 1 hour ago||
> ... is one of those times when nostalgia is so overwhelming

1991, Psygnosis (of course), Commodore Amiga (double of course!): my little brother was 9 y/o at the time and we were teenagers and we'd play Lemmings like crazy on our Amiga.

My little brother couldn't speak english yes but he'd imitate the "oh, nooooo" sentence Lemmings you'd "suicide" would make.

More than three decades later my brother is still nicknamed "Lem" after "Lemmings" and that's how we call him. And about two decades ago, he gave his consulting company a name sounding like "Lemmings" (spelling slightly different). He's still "Lem" and he still has got that company.

Oh noooooooo!

MarkBlah 4 hours ago|||
Haha yea I pulled the sprites from the original game, I was thinking the same, an umbrella or die, it’d be a good way to artificially increase web analytics, maybe a message bubble
shevy-java 2 hours ago|||
Agreed - but what is shown on the webpage here, is not really lemmings.
MarkBlah 1 hour ago||
Duh
SanjayMehta 2 hours ago||
I played this for dozens of hours with my dad yelling helpfully over my shoulder. I still have the floppy in storage, but with no drive to read it.
pwagland 16 minutes ago||
Interesting experiments and differences between the browsers.

Using the test: (async () => { const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); for (let i = 0; i < 200; i++) { __walker.add(); await sleep(10); } })();

From the JavaScript console, on both Chrome and Safari.

The animation is _way_ smoother on Chrome, but scrolling on that page becomes really painful.

Safari, on the other hand, uses a lot more CPU to do the animation, and the FP of that animation drops dramatically as you change the number of lemmings from 10 -> 50 -> 100 -> 200. However scrolling the page remains smooth the entire time.

Waterluvian 7 hours ago||
That’s pretty sweet.

I did something on my site recently like that where you can click a hexagon and it turns into a robot and starts SLAM mapping the page, navigating around text elements carefully.

Were you initially surprised by how easy it was to get exact block size of individual characters and not just entire dom elements? That’s the part I thought was going to be the most difficult.

tomcam 6 hours ago||
https://ablakey.ca/

Nice! Your site is impressive and your achievements even more so.

diginova 6 hours ago||
the base plates lighting up showing history of where the robot travelled is a fun detail
tniemi 2 hours ago||
C64 demo "Rodents in the Attic" (2026): https://www.youtube.com/watch?v=fbXIdK3o3NU

Explanation: https://www.youtube.com/watch?v=uZ1atMUOUMU

OuterVale 5 hours ago||
I enjoy putting the lemming in the margin on the bottom of the viewport at the left or right side then scrolling down such that the lemming plummets. Then, scrolling up, I can make it bounce up as if it is on a trampoline. Very funny.
ggsp 6 hours ago||
Cute :) It has a couple of zoom bugs on mobile, something like

html { overflow-x: clip; touch-action: manipulation; }

should fix them!

MarkBlah 6 hours ago|
Oh awesome thank you, I will add this in
cs02rm0 2 hours ago||
I recently put lemmings into some clinic management software I've been working on as a software egg.

https://postimg.cc/gxvZHbgG

noufalibrahim 6 hours ago||
I don't know if I'm remembering this correctly but there used to be a site called html5lemmings (or something similar) where you could play a few levels of the game. This was before modern web applications and things were still mostly server side rendered with minimal javascript. The demo was quite impressive. I don't know if it's still there. Couldn't find it with a quick search.
tosh 6 hours ago||
dhtml lemmings

https://www.elizium.nu/scripts/lemmings/

noufalibrahim 5 hours ago||
That's the one! Thanks.
richardfey 4 hours ago||
Funny how they keep hopping on a toggling horizontal scrollbar there at the bottom.
MisterMunchkin 3 hours ago|
This sent me on a lemmings hunt and I found someone porting all of the lemmings games and community levels to Mac - https://github.com/ErikVeland/Lemmings
More comments...