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
LOUD SOUNDS KEYBOARD (Remix 41/100)
by TedoandKeti
BFDI Season Creator
by _JackMagic
Talking Tom Cat 2.x buttons
by Lunablz
Angry Birds EPIC FIGHT!!! Part 2
by DavidsFlame
AY in ULTIMATE Trauma Wheel! [ Remix 1 | 20 Players ]
by roothlessroo
Wither storm with animation!
by RobloxBro807
Stella Jang - Colors
by bladeisthebestever
Five years on scratch
by PowerPuffRailfan98
The Numberblocks Game a cookie symbol lore remix
by AvocadoChips16
Beat Up Me!
by Jmason2023
Scratch Wiki - Project
by TheRealScratchCat
Numberblocks Band Ninths 0.11111111-1000 part 1
by Windows11Scratch470
Me but nicktoons blob
by otamaMan
KyleWare: Ultimate Microgames! (v1.85) Jamming boards
by CZ2746isbackscratch
I do a funny
by BATTLE_STUDIO
l Entry >> Harukun19
by Xx_-star-_xX
WOW
by wicked_K
Beat Up Maya: Super Ultra Deluxe Edition
by DaveAndBambi2022
Automation Meme Templat
by DJSCodeing
BEAT UP SUPER WHY but I added multi buttons
by christsonherrera
AYS|Bowser's Big Blast|DELUXE| remix
by -tunes-175
Heroic ~ Finale
by polkmnq6
Beat up Edward Premium
by GooleSharty122
ใ็ด ๆใwindows10ใฎ้็ฅ
by Kiri-Kiri-