From 5a5813a8f4f418540f1bdb765d293735541bf7fd Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Fri, 13 Oct 2023 18:45:49 -0400
Subject: [PATCH] Sandboxels v1.9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[Version 1.9 - October 13, 2023 - Local Saves]
+ Local Saves
+ SAVES button
+ Save the scene to 1 of 12 slots
+ Save the scene to a file
+ Load a scene from a file
+ Saves include a ton of information, even your selected element!
+ Choose to include your settings or mods
+ Drag & Drop or Paste a save file
+ Pumpkin
+ Fireproof solid for carving activities
+ Pumpkin Seed
+ Will grow when planted on soil!
~ Thermal View now uses a more useful logarithmic scale
[Changes]
+ Resetting now adjusts canvas size if needed
+ Dot appears 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
+ Tree roots can grow through Clay
~ Sap no longer mixes with Sawdust
+ Plant and Sauce remove Stench
+ Humans break Eggs, Grapes, and bugs when on top of them
+ Humans can trample Grass
+ Termites can eat Confetti, Straw, and Wheat
+ Fleas can eat Hair
+ Ants can eat Honey
+ Snails can eat Calcium, Limestone, and Paper
+ Worms can infect and swim in Blood
+ Worms are killed by Antibodies
+ Eggs die at high temperatures
+ Bugs will form Amber when touching Sap
~ Frogs and Fish burn slower
+ Uranium dirties Salt Water
+ Radiation can dirty Ice
+ Blood is infected by Rotten Meat and Rotten Cheese
+ Vinegar and Limestone reaction
+ Ketchup slowly deoxidizes Rust
~ Charcoal leaves behind Ash and less CO₂
~ C4 no longer explodes when burnt
+ C4 releases poisonous fumes when burnt
+ C4 burns longer, can be used as fuel
+ C4 explodes when broken
+ Fireworks ignite at high temperatures
+ Dye dissolves in Pool Water
+ Ink slowly dissolves in Water
+ Honey dissolves in Tea
+ Molten Salt conducts electricity
+ Hair can be made by radiating Skin
+ Skin can absorb Soap
+ Proton and Electric reaction generates heat
+ Positron and Electric reaction generates Light
+ Escape key resets to Normal View
~ Recolored Tuff
~ Recolored Blood
~ Selected element outline is more clear
~ Improved button readability
~ Improved canvas pixel sharpness
+ Pressing - or + button centers the cursor
~ Step button is now an arrow
+ Clear Saves setting
[Bug Fixes]
~ Fixed: Fireworks and Flash don't transfer heat
~ Fixed: Flash from Heat Ray is not hot
~ Fixed: Alcohol Gas density too high
~ Fixed: Pistil and Mushroom Gill can be dragged
~ Fixed: Herb can't be mixed in Batter or Dough
~ Fixed: Amber spawns at high temperature
~ Fixed: Heads can detach if Body moves during reaction
~ Fixed: Many Flour reactions make Gingerbread instead of Dough
~ Fixed: Ghost pixels when burning Plague, other deleting gases
~ Fixed: Color picker always appears when toggling GUI on (F1)
~ Fixed: Cooldowned elements can't be placed before 8th tick
~ Fixed: Frozen Fish break into Slime
[Technical]
+ logMessage() function
+ SOIL eList
+ generateSave() and loadSave() functions
+ resizeCanvas() and autoResizeCanvas() functions
+ sb1 save format
~ Browser dark color scheme for UI elements
~ Light, Laser, etc. use bx/by instead of vx/vy (velocity.js fix)
---
changelog.html | 91 ++
changelog.txt | 84 ++
controls.html | 5 +-
controls.txt | 5 +-
index.html | 2703 ++++++++++++++++++++++----------------
mods/classic_textures.js | 6 +-
mods/velocity.js | 34 +-
style.css | 94 +-
8 files changed, 1886 insertions(+), 1136 deletions(-)
diff --git a/changelog.html b/changelog.html
index aca16739..343076e6 100644
--- a/changelog.html
+++ b/changelog.html
@@ -89,6 +89,10 @@
#intro {
font-family: Arial, Helvetica, sans-serif;
}
+ .indent {
+ display: inline-block;
+ width: 1em;
+ }
@@ -105,6 +109,92 @@
The original plain text version of this is still maintained.
+[Version 1.9 - October 13, 2023 - Local Saves]
+
+- + Local Saves
+- + SAVES button
+- + Save the scene to 1 of 12 slots
+- + Save the scene to a file
+- + Load a scene from a file
+- + Saves include a ton of information, even your selected element!
+- + Choose to include your settings or mods
+- + Drag & Drop or Paste a save file
+- + Pumpkin
+- + Fireproof solid for carving activities
+- + Pumpkin Seed
+- + Will grow when planted on soil!
+- ~ Thermal View now uses a more useful logarithmic scale
+- [Changes]
+- + Resetting now adjusts canvas size if needed
+- + Dot appears 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
+- + Tree roots can grow through Clay
+- ~ Sap no longer mixes with Sawdust
+- + Plant and Sauce remove Stench
+- + Humans break Eggs, Grapes, and bugs when on top of them
+- + Humans can trample Grass
+- + Termites can eat Confetti, Straw, and Wheat
+- + Fleas can eat Hair
+- + Ants can eat Honey
+- + Snails can eat Calcium, Limestone, and Paper
+- + Worms can infect and swim in Blood
+- + Worms are killed by Antibodies
+- + Eggs die at high temperatures
+- + Bugs will form Amber when touching Sap
+- ~ Frogs and Fish burn slower
+- + Uranium dirties Salt Water
+- + Radiation can dirty Ice
+- + Blood is infected by Rotten Meat and Rotten Cheese
+- + Vinegar and Limestone reaction
+- + Ketchup slowly deoxidizes Rust
+- ~ Charcoal leaves behind Ash and less CO₂
+- ~ C4 no longer explodes when burnt
+- + C4 releases poisonous fumes when burnt
+- + C4 burns longer, can be used as fuel
+- + C4 explodes when broken
+- + Fireworks ignite at high temperatures
+- + Dye dissolves in Pool Water
+- + Ink slowly dissolves in Water
+- + Honey dissolves in Tea
+- + Molten Salt conducts electricity
+- + Hair can be made by radiating Skin
+- + Skin can absorb Soap
+- + Proton and Electric reaction generates heat
+- + Positron and Electric reaction generates Light
+- + Escape key resets to Normal View
+- ~ Recolored Tuff
+- ~ Recolored Blood
+- ~ Selected element outline is more clear
+- ~ Improved button readability
+- ~ Improved canvas pixel sharpness
+- + Pressing - or + button centers the cursor
+- ~ Step button is now an arrow
+- + Clear Saves setting
+- [Bug Fixes]
+- ~ Fixed: Fireworks and Flash don't transfer heat
+- ~ Fixed: Flash from Heat Ray is not hot
+- ~ Fixed: Alcohol Gas density too high
+- ~ Fixed: Pistil and Mushroom Gill can be dragged
+- ~ Fixed: Herb can't be mixed in Batter or Dough
+- ~ Fixed: Amber spawns at high temperature
+- ~ Fixed: Heads can detach if Body moves during reaction
+- ~ Fixed: Many Flour reactions make Gingerbread instead of Dough
+- ~ Fixed: Ghost pixels when burning Plague, other deleting gases
+- ~ Fixed: Color picker always appears when toggling GUI on (F1)
+- ~ Fixed: Cooldowned elements can't be placed before 8th tick
+- ~ Fixed: Frozen Fish break into Slime
+- [Technical]
+- + logMessage() function
+- + SOIL eList
+- + generateSave() and loadSave() functions
+- + resizeCanvas() and autoResizeCanvas() functions
+- + sb1 save format
+- ~ Browser dark color scheme for UI elements
+- ~ Light, Laser, etc. use bx/by instead of vx/vy (velocity.js fix)
+
+
[Version 1.8.6 - August 21, 2023 - Reaction Overload]
- + Tomato
@@ -1578,6 +1668,7 @@
changelog.innerHTML = changelog.innerHTML.replaceAll("- +","
- ");
changelog.innerHTML = changelog.innerHTML.replaceAll("
- -","
- ");
changelog.innerHTML = changelog.innerHTML.replaceAll("
- ~","
- ");
+ changelog.innerHTML = changelog.innerHTML.replaceAll("> ",">");
changelog.innerHTML = changelog.innerHTML.replaceAll("
- [","
- [");
diff --git a/changelog.txt b/changelog.txt
index 282f541d..f0df2206 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -7,6 +7,90 @@ 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 - October 13, 2023 - Local Saves]
+ + Local Saves
+ + SAVES button
+ + Save the scene to 1 of 12 slots
+ + Save the scene to a file
+ + Load a scene from a file
+ + Saves include a ton of information, even your selected element!
+ + Choose to include your settings or mods
+ + Drag & Drop or Paste a save file
+ + Pumpkin
+ + Fireproof solid for carving activities
+ + Pumpkin Seed
+ + Will grow when planted on soil!
+ ~ Thermal View now uses a more useful logarithmic scale
+ [Changes]
+ + Resetting now adjusts canvas size if needed
+ + Dot appears 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
+ + Tree roots can grow through Clay
+ ~ Sap no longer mixes with Sawdust
+ + Plant and Sauce remove Stench
+ + Humans break Eggs, Grapes, and bugs when on top of them
+ + Humans can trample Grass
+ + Termites can eat Confetti, Straw, and Wheat
+ + Fleas can eat Hair
+ + Ants can eat Honey
+ + Snails can eat Calcium, Limestone, and Paper
+ + Worms can infect and swim in Blood
+ + Worms are killed by Antibodies
+ + Eggs die at high temperatures
+ + Bugs will form Amber when touching Sap
+ ~ Frogs and Fish burn slower
+ + Uranium dirties Salt Water
+ + Radiation can dirty Ice
+ + Blood is infected by Rotten Meat and Rotten Cheese
+ + Vinegar and Limestone reaction
+ + Ketchup slowly deoxidizes Rust
+ ~ Charcoal leaves behind Ash and less CO₂
+ ~ C4 no longer explodes when burnt
+ + C4 releases poisonous fumes when burnt
+ + C4 burns longer, can be used as fuel
+ + C4 explodes when broken
+ + Fireworks ignite at high temperatures
+ + Dye dissolves in Pool Water
+ + Ink slowly dissolves in Water
+ + Honey dissolves in Tea
+ + Molten Salt conducts electricity
+ + Hair can be made by radiating Skin
+ + Skin can absorb Soap
+ + Proton and Electric reaction generates heat
+ + Positron and Electric reaction generates Light
+ + Escape key resets to Normal View
+ ~ Recolored Tuff
+ ~ Recolored Blood
+ ~ Selected element outline is more clear
+ ~ Improved button readability
+ ~ Improved canvas pixel sharpness
+ + Pressing - or + button centers the cursor
+ ~ Step button is now an arrow
+ + Clear Saves setting
+ [Bug Fixes]
+ ~ Fixed: Fireworks and Flash don't transfer heat
+ ~ Fixed: Flash from Heat Ray is not hot
+ ~ Fixed: Alcohol Gas density too high
+ ~ Fixed: Pistil and Mushroom Gill can be dragged
+ ~ Fixed: Herb can't be mixed in Batter or Dough
+ ~ Fixed: Amber spawns at high temperature
+ ~ Fixed: Heads can detach if Body moves during reaction
+ ~ Fixed: Many Flour reactions make Gingerbread instead of Dough
+ ~ Fixed: Ghost pixels when burning Plague, other deleting gases
+ ~ Fixed: Color picker always appears when toggling GUI on (F1)
+ ~ Fixed: Cooldowned elements can't be placed before 8th tick
+ ~ Fixed: Frozen Fish break into Slime
+ [Technical]
+ + logMessage() function
+ + SOIL eList
+ + generateSave() and loadSave() functions
+ + resizeCanvas() and autoResizeCanvas() functions
+ + sb1 save format
+ ~ Browser dark color scheme for UI elements
+ ~ Light, Laser, etc. use bx/by instead of vx/vy (velocity.js fix)
+
[Version 1.8.6 - August 21, 2023 - Reaction Overload]
+ Tomato
+ Sauce
diff --git a/controls.html b/controls.html
index 923798e4..1fb7e40e 100644
--- a/controls.html
+++ b/controls.html
@@ -91,6 +91,7 @@
| Select by name | E |
| Element info | I or / |
| Open settings | \ |
+ | Open saves | L |
| Open Mod Manager | M |
| Reset canvas | R |
| Single step | > |
@@ -101,14 +102,14 @@
| Smooth view (Low performance) | 4 |
| Toggle GUI | F1 |
| Capture screenshot | C or F2 |
- | Paste Image | Ctrl + V or Drag and Drop |
+ | Paste Image or Load Save File | Ctrl + V or Drag & Drop |
Button Info
| Button | Function |
| Pause | Pause/play the simulation |
- | Step | Run a single frame of simulation |
+ | Step (>) | Run a single frame of simulation |
| Minus (-) | Decrease the cursor size |
| Plus (+) | Increase the cursor size |
| Reset | Clear the entire canvas |
diff --git a/controls.txt b/controls.txt
index b82cbbf9..70596dbb 100644
--- a/controls.txt
+++ b/controls.txt
@@ -19,6 +19,7 @@ Left/Right Arrow = Change Category
E = Element Selection
/ or I = Element Info Screen
\ = Settings Menu
+L = Save & Load Menu
M = Mod Manager
R = Reset Canvas
> = Step
@@ -29,12 +30,14 @@ F or F11 = Toggle Fullscreen
4 = Smooth View
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
(Alt/Option can be used in place of Shift)
[Button Info]
Pause = Pause/play the simulation
-Step = Run a single frame of simulation
+> = Run a single frame of simulation
Minus = Decrease the cursor size
Plus = Increase the cursor size
Reset = Clear the entire simulation
diff --git a/index.html b/index.html
index 44275a17..d01ff13c 100644
--- a/index.html
+++ b/index.html
@@ -44,7 +44,7 @@