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
The Black Hole Add Round 56
by charliechooch101015
Beat Up X Button
by crazycrazybaby17
Beat up Sonic EVEN more! remix
by doheodjeoud
beat up orange ball Five More
by oceanboy06
Current Time
by ns2010
P2SC In Super Duper High Pitched
by veggietalesfan78
Noob cosplayers today.. // #all #animations #trending
by TheAwesome2006Noob
NBB Quiz Game: All Jumpscares (Official)
by Jason3424Maker-Newer
Inside mouth uvula
by aristonnaki1
ๅฐ็ๅ_osu! Scratch ไธๅฎๅ จๅพฉๅป็ [ver. 4.0.0]
by john1030128
The Ultimate Universe Size Comparison of the 2020's Part 2: 1 Planck Length - 1 ym
by JARETurn
Super Mario Bros (version 10)
by PaulKoning
The Caretaker - Everywhere, an empty bliss
by AL112006
Explore Scratch City (Old Version) remix
by firstofthesame150
Forager v1.7.9.9 ||Scratch Remake
by vicketick
ใใซใใฃใ~Nightmare 13th~็ฌฌ่ๆพๆ่ฉฑใ็ตใ
by tyomuko22
Beat Up Scratch Cat 3
by hyd3ns33k
Sharkbite (Roblox) [Switch4FortNite contest] #all #games
by FirePicx
Pvz 2 player versus Local Beta 1.3
by PachecoT0619
Hyundai avante (elantra, i30 s, i35)
by RYANYOON0308
Endless Alphabet: CEYLAN
by gatlinjemes
Blue Mist Plus - 60s Jumpscares remix
by Jharring20
Windows 11
by edisonpowell256
Beat up Edward Pro
by JojosWorld32