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

TPOT Simulator V1.1 (OLD)

by Baconiskindaok

Project thumbnail
View Project

AY in Barrel Extravaganza 2! [ Remix 3 | 14 Players ]

by JustCat01

Project thumbnail
View Project

Plants vs. Zombies (PVZ) V1.0 (Steve Version)

by Steve6210

Project thumbnail
View Project

Amazon product - Goob plush 30 inch

by pitchproductions

Project thumbnail
View Project

Nickelodeon Creatures Text Engine but you can change the text 1.0

by ChermayeffTesting

Project thumbnail
View Project

Tidal Wave Challenge mini

by thebrightside8485

Project thumbnail
View Project

Steal a Brainrot roblox but eazy good stuff

by Geocool12345

Project thumbnail
View Project

Boo like Pizza Tower Screaming (1)

by myself_-_-_alt

Project thumbnail
View Project

Endless A-Z remix

by StupidDavisssss

Project thumbnail
View Project

Pyoro for Scratch

by EthobubJuice

Project thumbnail
View Project

SINNER

by wer20a

Project thumbnail
View Project

Destroy the homework (OFFICIAL)| V 1.6.8 DRUGS

by DragonBorn101

Project thumbnail
View Project

Add a button to beat up Shantae remix remix remix remix remix remix remix remix

by Super_Isaac_64

Project thumbnail
View Project

[DREAMSCAPE] OvenBreak Rebaked

by HeHe169

Project thumbnail
View Project

VS.時空を巡り征く騎士(原作:星のカービィ USDX VS.ギャラクティックナイト VS.バルフレイナイト)v1.2.2 (11)

by sorainnko

Project thumbnail
View Project

Friday Night Screechn': VS Four (BFB) (DEMO)

by ZacharyAirseed

Project thumbnail
View Project

Terminal

by Milk909

Project thumbnail
View Project

【マイクラアニメ】侵略者の猛攻【敵を仲間にできるハードコア】

by Rozuki-masuhi

Project thumbnail
View Project

FNF: No More Innocence

by MrChillMan

Project thumbnail
View Project

【PV】君が飛び降りるのならば×諏訪子&早苗

by MatchaGemes_

Project thumbnail
View Project

Emoji Maker

by RFGuy1378490

Project thumbnail
View Project

Beat Up Squidward 2023

by TheSuperSpagett2022

Project thumbnail
View Project

FNF Bambi Strident Crisis Test 1.5! Freeplay!!!

by SanadMDQ

Project thumbnail
View Project

〈再共有〉⚡拡散希望⚡A Day in the Life of Cat Memes 猫ミームの1日

by kenty_14