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

tom and ben news plus ginger (UPDATE 2 new button added) remix remix

by matheusmaccamargo

Project thumbnail
View Project

My Singing Monsters: Fire Oasis But More Monsters

by IsaiahILM

Project thumbnail
View Project

FNF pitstop stress pico mix (playable) LUCY ENGINE PORT remix-2

by christhewierddude

Project thumbnail
View Project

Accurate MCSM Wither Storm (Version 1.4.75) MEGA UPDATE

by DarthVader116

Project thumbnail
View Project

Alphabet Lore Band miscellaneous 2 (Symbol Lore Band) (1)

by numberswizard

Project thumbnail
View Project

PacMan

by BBLqwert

Project thumbnail
View Project

Symbol lore GAME!!!!! remix-91 remix

by infinateyyy

Project thumbnail
View Project

Endless Numbers Animations

by Tcords2014

Project thumbnail
View Project

KingToons - It's about the end of the planet! (Nick Jr. Pluto TV, 2019)

by LittleKJ20

Project thumbnail
View Project

Sprunked Retake is Back!!

by 24256B21

Project thumbnail
View Project

SPOILERS Chapter 3 Deltarune The Roaring Knight Animations v1.0 copy(3)

by kashu2403

Project thumbnail
View Project

AI Translator

by chickenDude4086

Project thumbnail
View Project

Numberblocks Band Retro 8041-8050.

by hotpinkonyoutube2

Project thumbnail
View Project

Beat Up Mario Beta remix

by Alfie_Ben16

Project thumbnail
View Project

Piano Tiles 2

by BenjaminC61

Project thumbnail
View Project

Short Behemoth Animation I guess

by omegadavid777

Project thumbnail
View Project

Timeblocks Band

by EpikRedCube

Project thumbnail
View Project

Artistic Text V3

by W2KFisback

Project thumbnail
View Project

Endless Alphabet Lore (but it's 15% an Game)

by Al3X17

Project thumbnail
View Project

(DO NOT REPORT) Alphabet Lore in bren319's style (REUPLOADED) remix

by MolkSolsuda

Project thumbnail
View Project

(W.I.P) Mickey Mouse Clubhouse Game! remix

by pablocordonba

Project thumbnail
View Project

Beat up Edward DLC Remastered! (no music)

by ArthurZC

Project thumbnail
View Project

Numberblocks Big Band remix but fixed

by chattycharlie3

Project thumbnail
View Project

โ˜…โ˜… ศถษฆษ› ึ†ศถสŠษ–ษจึ… ษ–ึ…ึ…ส€ึ† ึ…ส„ ีผสŠสษฎษ›ส€ึ† โ€ข ึ„วŸส€ศถ 8 โ€ข 848 ษ–ึ…ึ…ส€ึ† โ˜…โ˜…

by elliotthenice