logoalt Hacker News

Lemmings CSS Animation

128 points • by MarkBlah • today at 4:54 AM • 26 comments • view on HN

Comments

rfarley04 • today at 8:32 AM

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

allexsendev • today at 8:36 AM

mad impressive imo, spawned like 50+ ppl and still running smooth (although must say I have a monster rig).

And I overenjoyed throwing lil marios around

rob74 • today at 8:26 AM

Cute, but it would look nicer if the walkers were... you know, actually walking? Ok, might be hard to do with CSS to be fair, I don't know enough about CSS animation to judge that.

Waterluvian • today at 5:53 AM

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.

➕ show 2 replies
richardfey • today at 8:31 AM

Funny how they keep hopping on a toggling horizontal scrollbar there at the bottom.

OuterVale • today at 7:16 AM

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 • today at 6:43 AM

Cute :) It has a couple of zoom bugs on mobile, something like

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

should fix them!

➕ show 1 reply
grumbel • today at 7:47 AM

I vibe-ported xpenguins[1] to Web[2] recently, can be used as bookmarklet and let run on any website. No original Lemmings in that one however, only the knockoff penguins.

[1] http://xpenguins.seul.org/ and updated at https://github.com/Grumbel/xpenguins-ng

[2] https://xpenguins-web.github.io/

➕ show 2 replies
WhyIsItAlwaysHN • today at 8:14 AM

Thank you for making this. It was really fun and a really pleasant start to my day.

felipeerias • today at 7:41 AM

Love it!

It is unfortunate that the scenery is positioned in such a way that lemmings end up falling by the side all the way to the bottom of the screen.

Perhaps it would look better if you removed the padding from <body> and added more pits to the scenery.

➕ show 1 reply
noufalibrahim • today at 6:55 AM

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.

➕ show 2 replies
swiftcoder • today at 8:05 AM

I love that they can also walk on the text headings

nilail • today at 7:36 AM

Super funny idea ! But it does not follow the scroll down on Safari

alana314 • today at 6:34 AM

This is fantastic.

MarkBlah • today at 4:54 AM

A tribute to Psygnosis, just for fun

cheapcheerful • today at 6:54 AM

Awesome. Loved the originals.

memming • today at 6:56 AM

Now that's what I'm talking about.

tmountain • today at 8:08 AM

[dead]

clilog_d • today at 7:46 AM

[flagged]