Settings

Theme

Sandboxels

neal.fun

407 points by 2sf5 2 months ago · 115 comments

Reader

halcdev 2 months ago

Created by R74N, not Neal. Has been live on http://sandboxels.r74n.com as an independent project for several years. Just now hosted by Neal. Important distinction.

hopfog 2 months ago

As a fan of both Neal and R74n this was an unexpected collaboration!

I can highly recommend building your own falling sand simulator. It's really fun to see how such simple rules create emergent behaviors. Sand pixels try to move down, then diagonally down. Water does the same, then tries sideways.

Me messing around with it eventually resulted in a game I'm now working on full time (think Noita meets Factorio): https://store.steampowered.com/app/2764460/Sandustry/

  • thih9 2 months ago

    This is an old R74n project that has been moved, not a real collab.

  • thunfischtoast a month ago

    Out of curiosity: Do you use a high level language (like C#) or do you have low level optimizations on (e.g. assembly level)? I imagine that there has to be some kind of map that keeps track of which pixels are "active" and need to be updated, but I wonder how do that efficiently.

    • hopfog a month ago

      Actually even higher level than that: it's all JavaScript, but it relies heavily on multithreading (see the linked Noita talk, which uses the same model). But basically:

      The world is divided into chunks and the threads are processing them simultaneously in an even-odd checker pattern to avoid race conditions. When all pixels settle in a chunk it falls asleep and can be skipped altogether until an active pixel enters and wakes it up again.

    • thezipcreator a month ago

      this doesn't answer any questions about this game, but I found this GDC talk about Noita pretty interesting: https://www.youtube.com/watch?v=prXuyMCgbTc

      • hopfog a month ago

        Yes, that talk has been instrumental for my game. Highly recommended!

  • PoorRustDev 2 months ago

    how is working with hooded horse?

  • g105b a month ago

    This looks really cool. I'd love to read your dev blog if there is one?

Evidlo 2 months ago

Also see https://sandspiel.club

Though my favorite is Powder Game: https://dan-ball.jp/en/javagame/dust/

It has a little man you can control to jump around the landscape!

phailhaus 2 months ago

Falling sand games bring back a lot of nostalgia. If you're interested, you should check out dan-ball's version which is one of the progenitors of the genre. Over the years he's added a ton of features, elements, and interactions, to the point where it now has a fluid mechanics simulation for air!

https://dan-ball.jp/en/javagame/dust/

  • bijection 2 months ago

    Ha55ii's powder game is perhaps the best of the genre, and the ease of sharing made for a pretty cool online community circa 15 years ago. I remember various calculators / computers created in powder game, along with a bunch of artistic efforts.

  • moritonal 2 months ago

    If you didn't know, Dan-ball has a variety of fun free mobile games that are all great.

bstsb 2 months ago

for context, this game was first built in 2019 by R74N. it looks like neal.fun has taken over maintaining/hosting its web version, while the Steam version continues development

https://sandboxels.r74n.com/new-home

Sharlin 2 months ago

I accidentally made soap once but haven't been able to repeat it. Lye plus oil or butter doesn't seem to work at least :/ Also, haven't been able to make lye – at least ashes plus water doesn't work.

Things that I have made:

* Bronze from copper and tin

* Brass from copper and zinc

* Rose gold from copper and gold

* Electrum from gold and silver

* Solder from tin and lead (while trying to make pewter)

* Thermite from rust and ground aluminum (or directly from scrap metal)

* Reduced iron from thermite, ignited with magnesium and a fuse

* Reduced iron from rust

* Steel from rust and charcoal

* Batter and dough from flour, water, etc

* Caramel from sugar and butter

* Mayo from oil, vinegar, and egg yolk

  • LukTheDuck 2 months ago

    no offense, but in settings you can use the unhide all feature to show every element rather than having to manually create them

    • Sharlin a month ago

      But that’s not the point, obviously! The entire fun is about figuring out what you can do by combining stuff.

simonw 2 months ago

Here's the official announcement about the move to neal.fun:

https://sandboxels.r74n.com/new-home

It doesn't explain why though, which is the most obvious question.

anon_cow1111 2 months ago

Wow, this is... kinda like the Noita engine but without the exploding yourself every 5 seconds. Probably going to spend the next several hours getting zero useful RL tasks done now, thanks again Neal.

Sharlin 2 months ago

My geology classes certainly did not mention sedimentary layers consisting of glass, quicklime, ash, salt, gingerbread, melted butter, and toast, from bottom to top.

bovermyer 2 months ago

Minecraft introduced me to the idea of tuff. This gives me more ways to play with it.

I still don't know what it is.

  • wlesieutre 2 months ago

    It's a rock formed from volcanic ash.

    Sort of igneous, because it came out of a volcano, but sort of sedimentary, because it starts out as an accumulation of powder that becomes a solid piece.

davidkunz a month ago

Falling sand games always remind me of the game Clonk. As a kid, I enjoyed digging tunnels, flooding them with water, all physics based. Great times.

Lwrless 2 months ago

See also: The Powder Toy (https://powdertoy.co.uk/)

deepfriedrice 2 months ago

Was not expecting it to be a single index.html. Pretty cool:

https://github.com/R74nCom/sandboxels/blob/main/index.html

JKCalhoun 2 months ago

Awesome. Eagerly awaiting Line Rider.

yuppiepuppie a month ago

We have a couple of them on the HN Arcade, but I have added this one as well. https://hnarcade.com/games/games/sandboxels Might be time to add a category "Falling Sand Game"...

rizzlersigma a month ago

Shshjshhshhsshyhgfcfghchgcfhgjgvgygylyugyykkfytcgkyvghvhlgvhgv

dizhn a month ago

I heated the water inside the hole of the letter 'd' and the steam escaped through the sand. <3

zem 2 months ago

I've seen a lot of cellular sandbox simulations but this one really dials things up to eleven!

vismit2000 a month ago

For someone interested to try this out algorithmically: https://adventofcode.com/2018/day/17

lai0602 a month ago

> Instead of the original R74nCom/sandboxels repository, mods will now be submitted to R74nCom/Sandboxels-Mods. All existing mods have been moved over.

Wait does that mean Sandboxels will become closed source?

  • slig a month ago

    It's not open source and, as far as I can see, this has been the license for at least 2 years https://github.com/R74nCom/sandboxels?tab=License-1-ov-file

    • soulofmischief a month ago

        2. You may not use our content for any commercial purposes without our explicit permission
      
        4. We are free to use any content you create using our content for any commercial or other purpose. Content you create includes, but is not limited to:
       
         - User-generated content
         - Derivative works”
      
      Yeah, no thanks.
pbtank a month ago

https://play.google.com/store/apps/details?id=uk.co.powderto...

nannwnwn a month ago

It hurts I like men black men

Trannosaur 2 months ago

I feel like I've played multiple versions of this game, but I can't remember the names of any of them... powder... toy? Might be one?

frizlab 2 months ago

Note to self: Do not open neal.fun links anymore…

  • simonw 2 months ago

    https://neal.fun/stimulation-clicker/ absolutely destroyed me a few months ago.

    • frizlab a month ago

      I found a hack to finish it faster (that does not involve using the console…). Enter responsive mode, resize window to a very small size: the DVDs will hit the walls very fast.

    • zem a month ago

      haha it's amazing how over time there's so much going on on the screen but all you really look at is the little upgrade button

nannwnwn a month ago

Hi im king and eapstain

promiseofbeans a month ago

Lots of fun references here - the Minecraft world border, and green goo looking “strange matter” from Kurzgesagt

rizzlersigma a month ago

Guys stop gooning

gatkinso 2 months ago

I still fondly remember fsgforums, where I was banned for impersonating the typical forum noob.

jl6 a month ago

Fond memories of the Confetti Factory screensaver from After Dark.

Epic_jellybean a month ago

I love this game!

jejejejejejj a month ago

67

jejejejejejj a month ago

Hello

rizzlersigma a month ago

Sup gang

danw1979 2 months ago

Thanks Neal. Is fun.

rgbrgb 2 months ago

always enjoy neal's stuff. is he part of R74N?

Ef996 a month ago

This is amazing. Some objective would be great

LukTheDuck 2 months ago

how do we access the original version? the neal.fun one is more laggy, and the design is a bit worse. does anyone know the link?

ctm92 a month ago

This looks a lot like Powdertoy

CyberJCL a month ago

Hi

mitmitmitmitmit a month ago

unblock please

rizzlersigma a month ago

Hello

nannwnwn a month ago

Lebron

nannwnwn a month ago

Im banned

gugsfu a month ago

Hi ppl

rizzlersigma a month ago

Hello I know where you live

spidrahedron 2 months ago

this is cool.

nannwnwn a month ago

Hi

gugsfu a month ago

Hi

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection