Sand and Water v3.3

Sand and Water v3.3

by griffpatch

👁 443,340 ❤️ 20,614 ⭐ 18,062 🔄 759
Created: Feb 28, 2018 Last modified: Jan 30, 2024 Shared: Mar 1, 2018

Instructions

★★★ SAND and WATER ★★★ 30 Jan 2024 - v3.3 ★ Perfect painting fix Yep - One of those sand simulators :) - So why did I make this project? Well, because this idea came to me - why can't we interact with the sand... like push it around? So I gave it a go! Also, I tried to make the project run quick by using lists of active sand to only process the sand that is moving. I recently updated the project to add water too. Now water simulation is FAR harder and more laggy than sand so forgive the lag if you start trying to hurl lots of water around :) ★★★ Controls ★★★  Mouse -  Move around to push sand.  Click -  Drop New Sand  Drag -  Click and drag a sand dropper to move or delete  T -   Tool - (Spray, Pencil, Eraser, etc)  M -   Material - (Sand, Water, Concrete, etc)  S -   Size - (of brush / pen)  H -   Hand - (for pushing sand)  P -   Pause  R -   Reset As always - Have fun! ★★★ So how does it work? ★★★ I have 3 main lists in my scripts: L - Level Grid (a row for every possible pixel location) A - Active Sand (a list of the active sand locations on the grid) X - Invalidate (a list of screen locations that need repainting) P - Power (used by water to evaporate old water) I only look for movement of active sand pixels, and when one moves, it looks for new sand pixels to add to the active sand pixel list. The pushing of sand is done by tracing from the current mouse position across the sand piles looking for a possible empty space on the other side. ★★★ Change Log ★★★ 30 Jan 2024 - v3.3 ★ Perfect painting fix 29 Mar 2019 - v3.2 ★ Minor painting fix 16 Mar 2018 - v3.1 ★ New left hand toolbar ★ Sand and water interact better (slow fall and drift in water + fixed water teleporting) 6 Mar 2018 - v2.2 ★ Blue is now officially water! Took some doing! Hope it doesn't lag too much to be enjoyable! 5 Mar 2018 - v2.0 ★ Removed air bubbles in sand when moved ★ Prevent sand being deleted when moved ★ Added Toolbar ★ Added Blue sand - floats on orange sand ★ Added sand droppers

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Beat i w związku

by Olek32167xv

Project thumbnail
View Project

Beat Up NEW Disney Junior Logo

by SMT72

Project thumbnail
View Project

-<[{(-<[{(Collabs)}]>-)}]>- talking tom and ben news HD 2 (RALR UPDATE)

by Batatapo89RisesYETAg

Project thumbnail
View Project

Make Your Own BFDIA (With a Few Extra Movements)

by Im_here_4u

Project thumbnail
View Project

Colorbox - Mustard But It's CBeebies!

by cuzuco20UK

Project thumbnail
View Project

Beat Up Winnie The Pooh Plush (New More More Hyper Mega Button UPDATE) remix-4 remix

by kubakoodziejczak

Project thumbnail
View Project

Beat up Edward super

by candidoivad2025

Project thumbnail
View Project

Sprunki Deluxe + Your ocs! remix

by jasiel37

Project thumbnail
View Project

Plants vs Zombies 2 remix

by female_sonic_girls

Project thumbnail
View Project

Super Mario Bros. Beta remix

by MProductions47

Project thumbnail
View Project

Number Decimals Band Ep 1 Part 1

by coinyfrombfb574

Project thumbnail
View Project

beat up bonzi budyy remix remix remix remix remix

by azoriad

Project thumbnail
View Project

✨ The Incredible Christmas Rush!!! #trending #tags #animations #all

by -kipibi-

Project thumbnail
View Project

Happytales DVD Collection

by ac2867

Project thumbnail
View Project

Paper Minecraft with More Armor

by Parnapple

Project thumbnail
View Project

Hatsune Miku But its cupcake but OFOLH remix

by George_Animation

Project thumbnail
View Project

Numberblocks Band Millionths 16

by HTPC19512

Project thumbnail
View Project

謎猫大戦争 ver1.0

by penginFM444

Project thumbnail
View Project

Beat up My Evil Clone!

by xgcyuggurx

Project thumbnail
View Project

PvZ Level Editor

by PeChips

Project thumbnail
View Project

Beat Up Edward Extreme but i added with hand's

by duckdon1319

Project thumbnail
View Project

One Night at Franklin's RE remix

by iyuushi_sub

Project thumbnail
View Project

Beat Up Sonic Again (2) remix

by neremo953

Project thumbnail
View Project

Talking Angela

by nathygames9087