Sand and Water v3.3
by griffpatch
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
Thingbox V7_ Deleted (remake)
by memorfan10
Added G Major 12 + G Major 13 + G Major 14 + G Major 15 + G Major 16
by vtd78_second_account
spiffy pictures.exe Buttons CEPPRY
by coopstar_white3
9 PianoMachine
by cooloicmu
sprunkifnf 1.6 pc
by simonm999
beat up gregory V 1.6
by homestar_runner_
☁️ Among Us Scratch v3.21 (online) remix-2
by hidinghorse8583
Royal Flush! vA
by Boxxymations
BFDI: Stranded! v0.1
by NFGfan
Numbericons 0.25-2100 remix
by jayden2015paul
NIF 3: Inter-trois-ned (part 1)
by Rectanglr
Number Tug Of War Giveaway - Round 9 [ -2 & 1,002 <-- -1 & 1,001 ]
by CheckyTheCheckMark
Beat Up Squidward 2018 but Mario is JOJO
by JustGold0130
カービィ 逃走中
by KENTAball
creator vs player - an animation
by pushlotos466
Magic Tiles 3
by unikittygirl345
◆夏のプラットフォーマー◇Summer Platformer
by FORUk_6
PBS Kids Dot ID Logo Bloopers (Part 2)
by Talkingnews212
FNF | Vs Impostor V4 Part 1(+10)
by aboda243
(AY): Blue A.exe ra add round 8 remix
by ogorodnikov_a
lolecos doggy 2
by misha
The LMNOP Crew but they are all Equivalents of M.(P)
by ChoPiPiMeow
beat up Test Tube remix
by GeneralBadNewz
ただのアニメ #11 夜の学校
by mizukusa164