A downloadable game

๐Ÿงช What is this?

Sandbox — Elemental World is a real-time particle simulation sandbox game. Place elements like sand, water, fire, lava, acid, and even antimatter — then watch them react, flow, burn, melt, explode, and interact in surprisingly realistic ways.

Every element has unique properties: density, state (solid/liquid/gas/powder), and reactions with other materials. The result is a living, breathing world that evolves right before your eyes.

๐ŸŽฎ Controls

ActionHow to Do It
Draw / place elements Left-click and drag
Erase Right-click and drag (or select Erase tool)
Select element Click any icon in the left toolbar
Change brush size Scroll wheel or use slider
Pause / Resume Press Space or click Pause button
Clear everything Press C or click Clear All
Step one frame Click Step button (great for slow-motion)

๐Ÿ”ฅ Keyboard Shortcuts

KeyAction
Space Pause / Resume
C Clear all particles
S Select Sand
W Select Water
F Select Fire
L Select Lava
E Select Erase
D Select Dirt
R Select Stone
G Select Gas
A Select Acid
O Select Oil
V Select Virus
N Select Snow
B Select Cloud
T Select Steam
X Select Antimatter
K Select Lightning

๐Ÿงฌ Element Interactions (Some Highlights)

  • ๐Ÿ’ง Water flows down, puts out fire, dissolves salt, and turns lava into stone
  • ๐Ÿ”ฅ Fire spreads to wood, oil, and gas — creates smoke as it dies
  • ๐ŸŒ‹ Lava melts snow, ignites wood, and reacts violently with water (โ†’ steam + stone!)
  • ๐Ÿงช Acid eats through sand, dirt, stone, wood, metal, and glass
  • ๐Ÿฆ  Virus spreads to neighboring particles — can it consume your world?
  • โš›๏ธ Antimatter annihilates anything it touches (except walls)
  • ๐Ÿ’ฅ Gas explodes into fire after a short fuse
  • ๐ŸŒฑ Seed grows into plants when near water or dirt
  • โ˜๏ธ Cloud drifts and rains water droplets below
  • โšก Lightning strikes downward and conducts through water & metal
  • ๐Ÿง‚ Salt dissolves in water
  • ๐Ÿชต Wood burns โ†’ fire spreads through it

๐Ÿž๏ธ Built-in Scenarios

ScenarioWhat It Does
๐ŸŒ‹ Volcano Builds a stone volcano with lava erupting from its peak
๐ŸŒŠ Ocean Creates a coastal landscape with water, sand, and clouds
๐ŸŒฒ Forest Plants a dense forest with trees, seeds, and soil
โ›ˆ๏ธ Storm Thick clouds, strong wind, and lightning strikes

๐ŸŽš๏ธ Real-time Controls

  • Brush Size โ€“ from 1px to 20px
  • Flow Rate โ€“ controls how quickly particles are placed
  • Gravity โ€“ adjust the pull of gravity on all particles
  • Wind โ€“ push gas, clouds, and liquids left or right

๐Ÿ“Š Live Stats

  • Particle count
  • Frame rate (FPS)
  • Simulation tick counter
  • Current mouse position

๐Ÿ–ฅ๏ธ Platforms

  • Web โ€“ runs in your browser, no install needed
  • Best experienced on desktop with a mouse

๐Ÿ› ๏ธ Tech

Built with pure HTML, CSS, and JavaScript. No libraries. No frameworks. Just raw canvas power.

Published 8 days ago
StatusReleased
Author2d creator
AI DisclosureAI Assisted, Code

Download

Download
sandbox-game.html 37 kB

Leave a comment

Log in with itch.io to leave a comment.