diff --git a/.replit b/.replit
deleted file mode 100644
index 65984a6d..00000000
--- a/.replit
+++ /dev/null
@@ -1,2 +0,0 @@
-language="html"
-run="index.html"
\ No newline at end of file
diff --git a/CITATION.cff b/CITATION.cff
index c87d93c7..b6cae29e 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -8,11 +8,35 @@ message: >-
metadata from this file.
type: software
authors:
- - given-names: R74n
- email: contact@r74n.com
- affiliation: R74n
+ - name: R74n
+ email: contact@R74n.com
+ date-start: '2017-05-02'
+ website: 'https://r74n.com/'
+identifiers:
+ - type: doi
+ value: 10.17605/OSF.IO/H7TDY
+ - type: swh
+ value: 'swh:1:rev:5a5813a8f4f418540f1bdb765d293735541bf7fd'
+ - type: url
+ value: 'https://sandboxels.r74n.com/'
+ - type: doi
+ value: 10.5281/zenodo.10044909
+ - type: other
+ value: /g/11spmybz10
+ description: KGMID
+ - type: url
+ value: 'https://purl.org/r74n/sandboxels'
+ description: PURL
+ - type: url
+ value: 'https://w3id.org/r74n/sandboxels'
+ description: W3ID
repository-code: 'https://github.com/R74nCom/sandboxels'
url: 'https://sandboxels.r74n.com'
+abstract: >-
+ Sandboxels is a free falling-sand simulator that can be
+ played in your browser. It features heat simulation,
+ electricity, density, chemical reactions, cooking, and
+ fire spread.
keywords:
- R74n
- Sandboxels
diff --git a/aff.json b/aff.json
new file mode 100644
index 00000000..a249dab0
--- /dev/null
+++ b/aff.json
@@ -0,0 +1,3 @@
+{
+"https://R74n.com/": "More Fun Projects"
+}
\ No newline at end of file
diff --git a/archive/third-version.html b/archive/third-version.html
new file mode 100644
index 00000000..3e8a4152
--- /dev/null
+++ b/archive/third-version.html
@@ -0,0 +1,2242 @@
+
+
+
+
+ Sandbox Game
+
+
+
+
+
+
+
+
+
+
+
+
Sandbox Game
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/changelog.html b/changelog.html
index 343076e6..b34ffe2a 100644
--- a/changelog.html
+++ b/changelog.html
@@ -109,6 +109,117 @@
[Version 1.9.1 - December 1, 2023 - Cozy Solstice]
+
+
+ Pipe
+
1. Draw a line with Pipe, maybe while paused
+
2. Wait for walls to form around it
+
3. Erase an exit point and allow Pipe to generate
+
+ Mayo
+
+ Mulch
+
+ Porcelain Shard (Hidden)
+
+ Jelly (Hidden)
+
[Coffee]
+
+ Coffee Bean
+
+ Coffee Ground (Hidden)
+
+ Coffee (Hidden)
+
[Nuts]
+
+ Nuts
+
+ Nut Meat (Hidden, from crushing)
+
+ Nut Butter (Hidden, from cooking)
+
+ Nut Milk (Hidden, from soaking)
+
[Festivities]
+
+ Candy is candy cane-colored
+
+ Mashed Potato (Hidden)
+
+ Skin will warm itself up when cold
+
[Other Changes]
+
+ Roots grow through Grass
+
~ Saplings no longer turn to wood all at once
+
~ Tree Branches no longer grow when burning
+
~ Tree Branches, Plant, and Grass are less flammable
+
+ Soda deoxidizes Rust and Copper
+
+ Balloons pop near absolute zero
+
+ Balloons pop when touching Clouds
+
+ Humans can consume Tomatoes, Pumpkin Seeds, and Cream
+
+ Humans get gas when eating Beans
+
+ Humans can take Gold Coins
+
+ Skin spawns at average body temperature
+
~ Skin no longer heals wounds
+
+ Snails can eat Lettuce
+
+ Tadpoles and Evergreen can be smashed
+
~ Rats no longer eat Rotten Meat
+
+ Rats can drink Milk
+
+ Lichen convert Gravel and Rock Wall to Dirt
+
+ Yeast ferments Sugar Water and Soda
+
+ Caramel freezes into Candy much colder
+
+ Baked Batter breaks into Crumbs
+
+ Rotten Meat or Cheese and Flies remove Fragrance
+
+ Primordial Soup spawns at a warmer temperature
+
+ Ammonia affects Pumpkin Seeds, Herbs, and Tomatoes
+
+ Glue can fix shards
+
+ Salt makes Water colder
+
+ Water breaks down Confetti into Cellulose
+
+ Hydrogen burns into some Steam
+
+ Hydrogen fusion releases Neutrons
+
+ Anesthesia breaks down to Oxygen at high temperatures
+
+ Castner–Kellner process
+
+ Sodium and Mercury reaction shocks and releases heat
+
+ Sulfur burns into Stench
+
+ Sugar dissolves in Milk
+
+ Salt dissolves in Sauce and Melted Cheese
+
+ Juice can be radiated
+
+ Carbonating Juice makes Soda
+
+ Seltzer can dissolve Limestone over time
+
+ Water can weather Limestone into Sand
+
+ Vinegar slowly dissolves the shell of Eggs
+
+ Baking Soda releases CO₂ when heated
+
+ Tuff melts into Magma
+
+ E-cloner ignores Wire, Sensor, and Battery
+
+ Cloners ignore Wall
+
+ Incense recipe
+
~ Fragrance now dissipates over time
+
~ Oxygen spreads Fragrance and Stench slower
+
~ Molten Solder no longer makes Fire
+
~ Recolored Molten Solder
+
~ Recolored Gold Coin
+
+ Insulation won't mix unless Shift is held
+
+ LEDs can break into Glass Shards
+
+ Cloners display element on hover
+
+ Author name appears if present in loaded save
+
+ Pressing ; toggles Replace mode
+
+ Methane Ice
+
- Removed Molten Baking Soda
+
[Bug Fixes]
+
~ Fixed: Flicker when stepping frame
+
~ Fixed: Lamp Oil burns forever
+
~ Fixed: Mushroom Gills don't conduct heat
+
~ Fixed: Pumpkin, Stained Glass, Skin, Sponge, E-cloner can be dragged
+
~ Fixed: God Raying Gray Goo makes Rainbow
+
~ Fixed: Soda deletes Salt Water quickly
+
~ Fixed: Juice Ice darkens when melting
+
~ Fixed: Sand from Water weathering Tuff uses wrong color
+
~ Fixed: Hail doesn't apply color variants when breaking
+
~ Fixed: Confirmation appears when dropping save onto empty canvas
+
~ Fixed: Sauce density too high
+
~ Fixed: Hail is way too cold
+
~ Fixed: Humans continue panicking after extinguished
+
~ Fixed: Cloned pixels don't change state based on Cloner temperature
+
~ Fixed: Antifire doesn't react with Antifluid right
+
~ Fixed: Porcelain reforms immediately after breaking when hot
+
~ Fixed: Hot Bomb often melts itself
+
~ Fixed: Hard Yolk can't be mixed into Batter/Dough
+
[Technical]
+
+ Prop tool
+
+ Option for uncompressed raw save data
+
~ Save version is now sb2
+
~ New saves may not work in older versions
+
~ Old saves will work fine
+
+ Version handling system, warnings
+
+ Random will work when placed by cheating
+
~ FW_Ember no longer has a long name
+
+ runAfterAutogen function
+
+
[Version 1.9 - October 13, 2023 - Local Saves]
+ Local Saves
@@ -126,7 +237,7 @@
~ Thermal View now uses a more useful logarithmic scale
[Changes]
+ Resetting now adjusts canvas size if needed
-
+ Dot appears in center of cursor
+
+ Setting for dot in center of cursor
+ E-cloner can select an element while unpowered
+ E-cloner ignores Wires and E-walls
+ Grass can spread on Sand, Clay, and Mycelium
diff --git a/changelog.txt b/changelog.txt
index f0df2206..da7ba7e7 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -7,6 +7,115 @@ See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQ
A fancier version of this changelog can be found here: https://sandboxels.R74n.com/changelog
+[Version 1.9.1 - December 1, 2023 - Cozy Solstice]
+ + Pipe
+ 1. Draw a line with Pipe, maybe while paused
+ 2. Wait for walls to form around it
+ 3. Erase an exit point and allow Pipe to generate
+ + Mayo
+ + Mulch
+ + Porcelain Shard (Hidden)
+ + Jelly (Hidden)
+ [Coffee]
+ + Coffee Bean
+ + Coffee Ground (Hidden)
+ + Coffee (Hidden)
+ [Nuts]
+ + Nuts
+ + Nut Meat (Hidden, from crushing)
+ + Nut Butter (Hidden, from cooking)
+ + Nut Milk (Hidden, from soaking)
+ [Festivities]
+ + Candy is candy cane-colored
+ + Mashed Potato (Hidden)
+ + Skin will warm itself up when cold
+ [Other Changes]
+ + Roots grow through Grass
+ ~ Saplings no longer turn to wood all at once
+ ~ Tree Branches no longer grow when burning
+ ~ Tree Branches, Plant, and Grass are less flammable
+ + Soda deoxidizes Rust and Copper
+ + Balloons pop near absolute zero
+ + Balloons pop when touching Clouds
+ + Humans can consume Tomatoes, Pumpkin Seeds, and Cream
+ + Humans get gas when eating Beans
+ + Humans can take Gold Coins
+ + Skin spawns at average body temperature
+ ~ Skin no longer heals wounds
+ + Snails can eat Lettuce
+ + Tadpoles and Evergreen can be smashed
+ ~ Rats no longer eat Rotten Meat
+ + Rats can drink Milk
+ + Lichen convert Gravel and Rock Wall to Dirt
+ + Yeast ferments Sugar Water and Soda
+ + Caramel freezes into Candy much colder
+ + Baked Batter breaks into Crumbs
+ + Rotten Meat or Cheese and Flies remove Fragrance
+ + Primordial Soup spawns at a warmer temperature
+ + Ammonia affects Pumpkin Seeds, Herbs, and Tomatoes
+ + Glue can fix shards
+ + Salt makes Water colder
+ + Water breaks down Confetti into Cellulose
+ + Hydrogen burns into some Steam
+ + Hydrogen fusion releases Neutrons
+ + Anesthesia breaks down to Oxygen at high temperatures
+ + Castner–Kellner process
+ + Sodium and Mercury reaction shocks and releases heat
+ + Sulfur burns into Stench
+ + Sugar dissolves in Milk
+ + Salt dissolves in Sauce and Melted Cheese
+ + Juice can be radiated
+ + Carbonating Juice makes Soda
+ + Seltzer can dissolve Limestone over time
+ + Water can weather Limestone into Sand
+ + Vinegar slowly dissolves the shell of Eggs
+ + Baking Soda releases CO₂ when heated
+ + Tuff melts into Magma
+ + E-cloner ignores Wire, Sensor, and Battery
+ + Cloners ignore Wall
+ + Incense recipe
+ ~ Fragrance now dissipates over time
+ ~ Oxygen spreads Fragrance and Stench slower
+ ~ Molten Solder no longer makes Fire
+ ~ Recolored Molten Solder
+ ~ Recolored Gold Coin
+ + Insulation won't mix unless Shift is held
+ + LEDs can break into Glass Shards
+ + Cloners display element on hover
+ + Author name appears if present in loaded save
+ + Pressing ; toggles Replace mode
+ + Methane Ice
+ - Removed Molten Baking Soda
+ [Bug Fixes]
+ ~ Fixed: Flicker when stepping frame
+ ~ Fixed: Lamp Oil burns forever
+ ~ Fixed: Mushroom Gills don't conduct heat
+ ~ Fixed: Pumpkin, Stained Glass, Skin, Sponge, E-cloner can be dragged
+ ~ Fixed: God Raying Gray Goo makes Rainbow
+ ~ Fixed: Soda deletes Salt Water quickly
+ ~ Fixed: Juice Ice darkens when melting
+ ~ Fixed: Sand from Water weathering Tuff uses wrong color
+ ~ Fixed: Hail doesn't apply color variants when breaking
+ ~ Fixed: Confirmation appears when dropping save onto empty canvas
+ ~ Fixed: Sauce density too high
+ ~ Fixed: Hail is way too cold
+ ~ Fixed: Humans continue panicking after extinguished
+ ~ Fixed: Cloned pixels don't change state based on Cloner temperature
+ ~ Fixed: Antifire doesn't react with Antifluid right
+ ~ Fixed: Porcelain reforms immediately after breaking when hot
+ ~ Fixed: Hot Bomb often melts itself
+ ~ Fixed: Hard Yolk can't be mixed into Batter/Dough
+ [Technical]
+ + Prop tool
+ + Option for uncompressed raw save data
+ ~ Save version is now sb2
+ ~ New saves may not work in older versions
+ ~ Old saves will work fine
+ + Version handling system, warnings
+ + Random will work when placed by cheating
+ ~ FW_Ember no longer has a long name
+ + runAfterAutogen function
+
[Version 1.9 - October 13, 2023 - Local Saves]
+ Local Saves
+ SAVES button
@@ -23,7 +132,7 @@ A fancier version of this changelog can be found here: https://sandboxels.R74n.c
~ Thermal View now uses a more useful logarithmic scale
[Changes]
+ Resetting now adjusts canvas size if needed
- + Dot appears in center of cursor
+ + Setting for dot in center of cursor
+ E-cloner can select an element while unpowered
+ E-cloner ignores Wires and E-walls
+ Grass can spread on Sand, Clay, and Mycelium
diff --git a/controls.html b/controls.html
index 1fb7e40e..b2a50ab9 100644
--- a/controls.html
+++ b/controls.html
@@ -82,7 +82,7 @@
Erase pixels
Right Click
Pick element
Middle Click
Pause simulation
Space or P
-
Intensify effect
Shift + Heat/Cool/Drag/Mix/Shock/Smash
+
Intensify effect
Shift + Heat/Cool/Drag/Mix/Shock/Smash
Draw line
Shift + Click
Change cursor size
Scroll or +- or []
Cursor size 1
Shift + -
@@ -103,6 +103,8 @@
Toggle GUI
F1
Capture screenshot
C or F2
Paste Image or Load Save File
Ctrl + V or Drag & Drop
+
Close menu or clear logs
Esc
+
Toggle Replace mode
;
Button Info
diff --git a/controls.txt b/controls.txt
index 70596dbb..aaa433fc 100644
--- a/controls.txt
+++ b/controls.txt
@@ -7,8 +7,9 @@ Middle Click = Pick Element
Space or P = Pause Simulation
Shift + Heat = Intense Heating
Shift + Cool = Intense Cooling
-Shift + Mix = Include Fire & Smoke in Mixing
+Shift + Mix = Include Fire, Smoke, and more in Mixing
Shift + Shock = Intense Shock
+Shift + Smash = Intense Smash
Shift + Mouse = Draw Line
Scroll = Change Cursor Size
- or [ = Decrease Cursor Size
@@ -32,6 +33,8 @@ F1 = Toggle GUI / HUD
F2 or C = Capture Screenshot
Drag & Drop = Insert an image or load save file
Paste = Insert an image or load save file
+Escape = Close Menu / Clear Logs
+; = Replace Mode
(Alt/Option can be used in place of Shift)
diff --git a/help.html b/help.html
index a78c548a..5e2c11b0 100644
--- a/help.html
+++ b/help.html
@@ -74,6 +74,10 @@
This is usually because of a mod, so follow the steps above.
If you've done those steps, it may be that you are using an unsupported or outdated browser. Try a different one, like Google Chrome or Microsoft Edge.
+
Game runs slowly, low frame rate
+
Make sure you do not have Low Power Mode enabled on your device.
+
This can limit JavaScript speeds, especially on mobile devices.
+
Screen flickers or stays black unless paused
The canvas may flicker or disappear if an error occurs when trying to simulate certain pixels.
Pausing should fix this temporarily, during which you can delete the offending pixels, or follow the steps above to uninstall any mods.
diff --git a/icons/80x15.png b/icons/80x15.png
new file mode 100644
index 00000000..e2695dea
Binary files /dev/null and b/icons/80x15.png differ
diff --git a/icons/88x31.png b/icons/88x31.png
new file mode 100644
index 00000000..18be2377
Binary files /dev/null and b/icons/88x31.png differ
diff --git a/icons/index.html b/icons/index.html
index d8314b60..fb3c16c1 100644
--- a/icons/index.html
+++ b/icons/index.html
@@ -134,6 +134,8 @@
Icon + Wordmark (White, Black Border) Icon + Wordmark (Black) Icon + Wordmark (Horizontal)
+ 88x31 Button
+ 80x15 Mini Cover Image
Sizes
diff --git a/index.html b/index.html
index d080eb0f..0c376407 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
Sandboxels
-
+
@@ -18,6 +18,9 @@
+
+
+
@@ -25,7 +28,7 @@
-
+
@@ -36,7 +39,7 @@
-
+
@@ -44,7 +47,8 @@
+
+
diff --git a/promo.html b/promo.html
new file mode 100644
index 00000000..a6da5201
--- /dev/null
+++ b/promo.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sitemap.txt b/sitemap.txt
index 8073d613..91cceb3d 100644
--- a/sitemap.txt
+++ b/sitemap.txt
@@ -8,4 +8,5 @@ https://sandboxels.r74n.com/help
https://sandboxels.r74n.com/mobile-use
https://sandboxels.r74n.com/mod-list
https://sandboxels.r74n.com/offline-use
-https://sandboxels.r74n.com/feedback
\ No newline at end of file
+https://sandboxels.r74n.com/feedback
+https://sandboxels.r74n.com/tips
\ No newline at end of file
diff --git a/style.css b/style.css
index 082c6c1d..4eed0378 100644
--- a/style.css
+++ b/style.css
@@ -86,7 +86,9 @@ kbd {
border: 1px solid #000;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 2px rgba(0, 0, 0, 0.05);
font-family: 'Arial';
+ cursor: pointer;
}
+kbd:active {filter: brightness(70%);}
#infoParent, #modParent, #settingsParent, .menuParent {
display: none;
}
@@ -549,4 +551,5 @@ select, .toggleInput, #settingsMenu input[type="number"], #settingsMenu input[ty
pointer-events: none;
padding: 5px;
white-space: pre-wrap;
+ font-size: 0.75em;
}
\ No newline at end of file
diff --git a/tips.html b/tips.html
new file mode 100644
index 00000000..500fce0a
--- /dev/null
+++ b/tips.html
@@ -0,0 +1,142 @@
+
+
+
+
+
+ 50 Things to Do in Sandboxels
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Sandboxels is the ultimate sandbox simulator, allowing you to experiment with chemistry, ecosystems, food, and much more, with 500+ elements, like sand, water, fire, and plants! Get started on any device with a web browser, even your phone, by visiting the WEBSITE for free!
+
+
Below is just a portion of the things you can do to relax or research. The real options are unlimited, use your creativity!
+
+
+
Follow a food recipe from Google
+
Create a lovely scene then blow it up
+
Build a thriving ecosystem with diverse plants, animals, and a food chain
+
Put Steam into the air and watch Clouds form and rain
+
Add different liquids to a glass to compare their densities
+
Bombard Uranium with Neutrons until it explodes
+
Have a battle between Spout and Torch in Special
+
Have a battle between Gray Goo and Malware in Special