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
color mix (a game) 1.2
by ngoinhala
Make This Gummy Bear Go Viral
by Aboiman
talking tom and ben news Dumb Ways To Die 2 The Games
by CanLoveToms
Beat Up Tennis Ball+ (V1.3.11) remix
by craig0005
NEW UPDATE Minion theater cinema green screen with buttons remix remix-5
by jade101717jade
you can't run but with my fnf engine updated
by Boyfriend_2022
Beat up Krash (use turbowarp)
by puppetchileno
Stacks v1.0 #all #games #art
by Zackababs
BFDI HPRC 2.0 remix remix
by CartoonitoBull
lewdles, souples, and souples 3.0
by ajooten2
spinner customiser
by Jump_master123
ๅ็ใฒใผใ
by Shu1rou
้ใใ๏ผ้ ฝๅปใฎๆฃฎใใ๏ผ ver3.0
by Leihuiyingxiong
beat up pico (little lag version)or not
by Reptlow
Assemble shooter
by CorteX__T73
โ๏ธ INFINITE Tower โ๏ธ #Games
by duoof
Mello // A Platformer #games
by chipm0nk
Beat Up D Vr 2.9.6
by AbedinIsBack
Beat Up X
by FourfromBFB4
Beat up Giga DLC remastered remix
by hyd3ns33k
doors geometry dash
by countryusa
beat up paper
by foolishhamburger
Bad Subway Surfers
by Afonso_47
ๅฝ้ปๅฐ็ใๅ็พใใฆใฟใ(ๆ็ฐ็ทๆ็ฐ้ง ่ปๆใฒใผใ )
by stomo_x