Lemmings CSS Animation
Posted by MarkBlah 1 day ago
Comments
Comment by rfarley04 1 day ago
Comment by TimTheTinker 1 day ago
Comment by frizlab 21 hours ago
Comment by TimTheTinker 20 hours ago
Comment by frizlab 20 hours ago
The size probably comes from that.
Comment by TacticalCoder 1 day ago
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!
Comment by detritus 1 day ago
An evil game. Such fun. I wish they'd expanded on it more...
Comment by MarkBlah 1 day ago
Comment by SanjayMehta 1 day ago
Comment by rfarley04 1 day ago
Comment by shevy-java 1 day ago
Comment by MarkBlah 1 day ago
Comment by Waterluvian 1 day ago
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.
Comment by tomcam 1 day ago
Nice! Your site is impressive and your achievements even more so.
Comment by diginova 1 day ago
Comment by cs02rm0 1 day ago
Comment by tosti 1 day ago
Comment by noufalibrahim 1 day ago
Comment by tosh 1 day ago
Comment by noufalibrahim 1 day ago
Comment by brettermeier 22 hours ago
Comment by ggsp 1 day ago
html { overflow-x: clip; touch-action: manipulation; }
should fix them!
Comment by xtracto 1 day ago
Comment by MarkBlah 1 day ago
Comment by tosti 1 day ago
Comment by pwagland 1 day ago
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.
Comment by WorldMaker 21 hours ago
Comment by OuterVale 1 day ago
Comment by grumbel 1 day ago
[1] http://xpenguins.seul.org/ and updated at https://github.com/Grumbel/xpenguins-ng
Comment by MarkBlah 1 day ago
Comment by em-bee 1 day ago
it's also awesome that you took over maintenance of xpenguins since you are the original creator the characters.
way to go!
Comment by jcattle 1 day ago
Comment by tniemi 1 day ago
Explanation: https://www.youtube.com/watch?v=uZ1atMUOUMU
Comment by piratebroadcast 1 day ago
Comment by nilamo 1 day ago
Comment by Isaackoz 1 day ago
Comment by moochamerth 1 day ago
Comment by unpleasurable 1 day ago
Comment by bradley13 1 day ago
Comment by WorldMaker 21 hours ago
Comment by patwolf 1 day ago
Comment by MarkBlah 1 day ago
Comment by freshteapot 1 day ago
Thank you for bringing this to life.
Comment by Hunterson 1 day ago
Comment by MisterMunchkin 1 day ago
Comment by fschuett 1 day ago
Comment by adamddev1 1 day ago
Ok, this is awesome.
Comment by felipeerias 1 day ago
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.
Comment by dspillett 1 day ago
Other than respawning them as you scroll around, so one starts in an appropriate place as a test comes into view, and resetting them automatically, perhaps on a timer, there probably isn't a better way to properly show it off than that.
Comment by 9dev 1 day ago
Comment by alana314 1 day ago
Comment by VorticonCmdr 1 day ago
Comment by MarkBlah 1 day ago
Comment by msephton 1 day ago
Comment by richardfey 1 day ago
Comment by WhyIsItAlwaysHN 1 day ago
Comment by rob74 1 day ago
EDIT: works in Chrome and Firefox, doesn't work in Edge (on Linux - yeah, I know almost nobody uses that) for some reason...
Comment by filcuk 1 day ago
Comment by hoppp 1 day ago
Comment by nilail 1 day ago
Comment by swiftcoder 1 day ago
Comment by allexsendev 1 day ago
And I overenjoyed throwing lil marios around
Comment by MarkBlah 1 day ago
Comment by allexsendev 1 day ago
Comment by ckx 1 day ago
Comment by int32max 23 hours ago
Comment by cheapcheerful 1 day ago
Comment by ForHackernews 1 day ago
Comment by TheRealPomax 1 day ago
Comment by ForgotMyUUID 1 day ago
Comment by shevy-java 1 day ago
Without digging and building stairs and parachutes, it is only Lemmings in name, not in spirit. Also, exploding lemmings - this can probably be done via CSS animations.
Comment by jdw64 1 day ago
Comment by manif00ld 1 day ago
Comment by metchio 1 day ago
Comment by memming 1 day ago
Comment by tmountain 1 day ago
Comment by clilog_d 1 day ago
Comment by monkeydust 1 day ago
Comment by dole 1 day ago