Dot simulation || Falling Sand Game Simulator V4

Dot simulation || Falling Sand Game Simulator V4

by IAsctcaokuennt

👁 266 ❤️ 13 ⭐ 10 🔄 0
Created: Oct 17, 2022 Last modified: Dec 1, 2022 Shared: Oct 18, 2022

Description

All code is original. Please don't say I copied this is not a copy. It is original. It took me a long time to make this. This works much much better on turbowarp ↓ NOTE: Higher speedx will decrease FPS Turbowarp link: https://turbowarp.org/746465903 Things to fix (for major feature (version) 4): 1. Gas code is very laggy with higher diffusability. Needs to be optimised (patch) 2. Liquid code is not very realistic, especially with higher fluidity (patch) 3. Powder stacking is not permanent, will slowly decay (patch) 4. Add reactions (minor feature) 5. Add temperature (minor feature) 6. Add melting/boiling/freezing/condensation (minor feature) 7. Add more types of particles (minor feature) 8. Particles can glitch into each other because of a positioning glitch. Same glitch causes the particles at the left side of the screen to be rendered incorrectly. (patch)

Instructions

This is just a preview of what I'm working on :) Made for the SDS "All from the Dot" Change pen size for different size of mouse spawn. Mouse down to spawn particles. No. of particles spawned dependent on pen size. State shows which selected state you are at. 0 is powder, 1 is liquid, 2 is gas and 3 is solid. Speedx is simulation run speed, 2 is 2x speed, 3 is 3x, etc. Change mode for different frame-speeds. Mode = 0 --> Simulation paused. Space key: resume. Mode = 1 --> Simulation running. Space key: pause. Mode = 2 --> Frame-by-frame. Space key: next frame. Function changes stackability for powder, fluidity for liquid and diffusability for gas.

Project Details

Visibility
Visible
Comments
Enabled