[Version 1.8.5 - July 27, 2023]
    + Drag tool
    + Tree color variety (8 variants!)
    ~ Mobile UI improvements
    + Warp (Special)
    + Crumb (Hidden, from broken foods)
    + Skin (Solid)
    + Hair (Hidden)
   [States]
    + Soda Ice (Hidden)
    + Bleach Ice (Hidden)
    + Frozen Vinegar (Hidden)
    + Amber (Hidden, frozen Sap)
    + Perfume (Hidden, liquid Fragrance)
    + Liquid Stench (Hidden)
   [Changes]
    + Molten Dirt can solidify into some Rock
    + Tools have descriptions on info page
    + Oil dirties Water
    + Humans will panic and run when burning
    + Rad Shards and Molten Rad Glass can produce radiation
    + Light and Laser retain color when liquified
    + Slag can be formed with Dirt
    + Slag can break into Gravel
    + Corn breaks into Flour
    + Mushrooms can release Poison when broken
    + Poison and Antidote can wet soil
    + Juice can wet Flour
    + Blood can oxidize Iron and Copper
    + Fallout will infect Blood
    + Birds turn to white meat when cooked
    + Birds smash into Blood
    + Cacti can be killed by Vinegar, Bleach, Baking Soda, and Alcohol
    + Humans can be killed by Poison and Cyanide
    + Cells can be killed by Plague, Soap, Mercury, Chlorine, and Cyanide
    + Dioxin can kill Plants, Grass, Vines, Saplings, and Cacti
    + Vinegar can kill Frogs slowly
    + Vinegar can kill Grass
    + Algae dies at hot and cold temperatures
    + Dust will burn at high temperatures
    + Melted Wax will break down at high temperatures
    + Uranium conducts electricity
    + Unburn tool can put out Embers and Torches
    + Bless turns Static to Rainbow
    + Static conducts electricity
    + Grapes can turn Water into Juice
    + Primordial Soup can wet Clay Soil
    + Hydrogen produces heat during fusion
    + Helium, Hydrogen, and Mercury Gas glow when electrified
    + Cactus and Liquid Light random events
    + Cement can be made with Slaked Lime
    ~ Recolored Slaked Lime
    ~ Placing Petals or Mushroom Caps now picks a random color
    ~ Unhid Petal
    ~ Hid Root
    ~ Moved Bamboo to Solids
    ~ Moved Steel
    ~ Moved Melted Cheese, Butter, and Chocolate to States
    ~ Moved Liquid Hydrogen, Helium, and Neon to States
    ~ States category always appears last if unhidden
    ~ Humans rot more randomly
    ~ Bamboo Plant grows faster
    ~ Worms no longer break Eggs
    ~ Strange Matter can no longer travel through indestructible things
    ~ Strange Matter can no longer destroy Void
    ~ Tweaked Molten Uranium radiation rate
   [Fixes]
    ~ Fixed: Alt-Tab locks Alt key
    ~ Fixed: Cacti break into Sap
    ~ Fixed: Cream deletes infinite Soda and Juice
    ~ Fixed: Null in info page error (e.g. tea)
    ~ Fixed: Unknown element in info page error (e.g. salt)
    ~ Fixed: Reactions, related, and aliases don't show up in tool info pages
    ~ Capitalization fixes
   [Technical]
    + Element properties onSelect, onMouseUp, perTick, singleColor
    ~ Element property fireElement can accept null
This commit is contained in:
slweeb 2023-07-27 12:33:58 -04:00
parent 214d093869
commit 3d4134e2b7
7 changed files with 734 additions and 151 deletions

View File

@ -93,7 +93,7 @@
</head>
<body>
<h1><a href="https://sandboxels.R74n.com" class="backbutton" target="_blank">&lt;</a> Sandboxels Changelog</h1>
<h1><a href="https://sandboxels.R74n.com" class="backbutton">&lt;</a> Sandboxels Changelog</h1>
</ul>
<div id="changelog">
@ -105,6 +105,86 @@
<p>The original <a href="https://sandboxels.r74n.com/changelog.txt">plain text version</a> of this is still maintained.</p>
</div>
<h2 id="1.8.5">[Version 1.8.5 - July 27, 2023]</h2>
<ul>
<li>+ Drag tool</li>
<li>+ Tree color variety (8 variants!)</li>
<li>~ Mobile UI improvements</li>
<li>+ Warp (Special)</li>
<li>+ Crumb (Hidden, from broken foods)</li>
<li>+ Skin (Solid)</li>
<li>+ Hair (Hidden)</li>
<li>[States]</li>
<li>+ Soda Ice (Hidden)</li>
<li>+ Bleach Ice (Hidden)</li>
<li>+ Frozen Vinegar (Hidden)</li>
<li>+ Amber (Hidden, frozen Sap)</li>
<li>+ Perfume (Hidden, liquid Fragrance)</li>
<li>+ Liquid Stench (Hidden)</li>
<li>[Changes]</li>
<li>+ Molten Dirt can solidify into some Rock</li>
<li>+ Tools have descriptions on info page</li>
<li>+ Oil dirties Water</li>
<li>+ Humans will panic and run when burning</li>
<li>+ Rad Shards and Molten Rad Glass can produce radiation</li>
<li>+ Light and Laser retain color when liquified</li>
<li>+ Slag can be formed with Dirt</li>
<li>+ Slag can break into Gravel</li>
<li>+ Corn breaks into Flour</li>
<li>+ Mushrooms can release Poison when broken</li>
<li>+ Poison and Antidote can wet soil</li>
<li>+ Juice can wet Flour</li>
<li>+ Blood can oxidize Iron and Copper</li>
<li>+ Fallout will infect Blood</li>
<li>+ Birds turn to white meat when cooked</li>
<li>+ Birds smash into Blood</li>
<li>+ Cacti can be killed by Vinegar, Bleach, Baking Soda, and Alcohol</li>
<li>+ Humans can be killed by Poison and Cyanide</li>
<li>+ Cells can be killed by Plague, Soap, Mercury, Chlorine, and Cyanide</li>
<li>+ Dioxin can kill Plants, Grass, Vines, Saplings, and Cacti</li>
<li>+ Vinegar can kill Frogs slowly</li>
<li>+ Vinegar can kill Grass</li>
<li>+ Algae dies at hot and cold temperatures</li>
<li>+ Dust will burn at high temperatures</li>
<li>+ Melted Wax will break down at high temperatures</li>
<li>+ Uranium conducts electricity</li>
<li>+ Unburn tool can put out Embers and Torches</li>
<li>+ Bless turns Static to Rainbow</li>
<li>+ Static conducts electricity</li>
<li>+ Grapes can turn Water into Juice</li>
<li>+ Primordial Soup can wet Clay Soil</li>
<li>+ Hydrogen produces heat during fusion</li>
<li>+ Helium, Hydrogen, and Mercury Gas glow when electrified</li>
<li>+ Cactus and Liquid Light random events</li>
<li>+ Cement can be made with Slaked Lime</li>
<li>~ Recolored Slaked Lime</li>
<li>~ Placing Petals or Mushroom Caps now picks a random color</li>
<li>~ Unhid Petal</li>
<li>~ Hid Root</li>
<li>~ Moved Bamboo to Solids</li>
<li>~ Moved Steel</li>
<li>~ Moved Melted Cheese, Butter, and Chocolate to States</li>
<li>~ Moved Liquid Hydrogen, Helium, and Neon to States</li>
<li>~ States category always appears last if unhidden</li>
<li>~ Humans rot more randomly</li>
<li>~ Bamboo Plant grows faster</li>
<li>~ Worms no longer break Eggs</li>
<li>~ Strange Matter can no longer travel through indestructible things</li>
<li>~ Strange Matter can no longer destroy Void</li>
<li>~ Tweaked Molten Uranium radiation rate</li>
<li>[Fixes]</li>
<li>~ Fixed: Alt-Tab locks Alt key</li>
<li>~ Fixed: Cacti break into Sap</li>
<li>~ Fixed: Cream deletes infinite Soda and Juice</li>
<li>~ Fixed: Null in info page error (e.g. tea)</li>
<li>~ Fixed: Unknown element in info page error (e.g. salt)</li>
<li>~ Fixed: Reactions, related, and aliases don't show up in tool info pages</li>
<li>~ Capitalization fixes</li>
<li>[Technical]</li>
<li>+ Element properties onSelect, onMouseUp, perTick, singleColor</li>
<li>~ Element property fireElement can accept null</li>
</ul>
<h2 id="1.8.4">[Version 1.8.4 - July 11, 2023]</h2>
<ul>
<li>+ Image placing<ul>
@ -112,7 +192,7 @@
<li>+ Select any image from your computer</li>
<li>+ Place it on the canvas at any scale</li>
<li>+ Choose its element or disable smoothing in Settings</li>
<li>+ Burn it, blow it up, or make it a powder!</li></ul></li>
<li>+ Burn it, blow it up, or make it a powder!</li>
<li>+ Paste or Drag-and-Drop images!</li></ul></li>
<li>[Stay tuned for bigger updates in the coming months!]</li>
<li>[Bug Fixes]</li>

View File

@ -1,11 +1,89 @@
[Future Plans]
+ Save Gallery
+ Human Update
+ Suggest new additions at https://link.r74n.com/sandboxels-feedback
+ Suggest new additions at https://link.R74n.com/sandboxels-feedback
See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQuS
A fancier version of this changelog can be found here: https://sandboxels.r74n.com/changelog
A fancier version of this changelog can be found here: https://sandboxels.R74n.com/changelog
[Version 1.8.5 - July 27, 2023]
+ Drag tool
+ Tree color variety (8 variants!)
~ Mobile UI improvements
+ Warp (Special)
+ Crumb (Hidden, from broken foods)
+ Skin (Solid)
+ Hair (Hidden)
[States]
+ Soda Ice (Hidden)
+ Bleach Ice (Hidden)
+ Frozen Vinegar (Hidden)
+ Amber (Hidden, frozen Sap)
+ Perfume (Hidden, liquid Fragrance)
+ Liquid Stench (Hidden)
[Changes]
+ Molten Dirt can solidify into some Rock
+ Tools have descriptions on info page
+ Oil dirties Water
+ Humans will panic and run when burning
+ Rad Shards and Molten Rad Glass can produce radiation
+ Light and Laser retain color when liquified
+ Slag can be formed with Dirt
+ Slag can break into Gravel
+ Corn breaks into Flour
+ Mushrooms can release Poison when broken
+ Poison and Antidote can wet soil
+ Juice can wet Flour
+ Blood can oxidize Iron and Copper
+ Fallout will infect Blood
+ Birds turn to white meat when cooked
+ Birds smash into Blood
+ Cacti can be killed by Vinegar, Bleach, Baking Soda, and Alcohol
+ Humans can be killed by Poison and Cyanide
+ Cells can be killed by Plague, Soap, Mercury, Chlorine, and Cyanide
+ Dioxin can kill Plants, Grass, Vines, Saplings, and Cacti
+ Vinegar can kill Frogs slowly
+ Vinegar can kill Grass
+ Algae dies at hot and cold temperatures
+ Dust will burn at high temperatures
+ Melted Wax will break down at high temperatures
+ Uranium conducts electricity
+ Unburn tool can put out Embers and Torches
+ Bless turns Static to Rainbow
+ Static conducts electricity
+ Grapes can turn Water into Juice
+ Primordial Soup can wet Clay Soil
+ Hydrogen produces heat during fusion
+ Helium, Hydrogen, and Mercury Gas glow when electrified
+ Cactus and Liquid Light random events
+ Cement can be made with Slaked Lime
~ Recolored Slaked Lime
~ Placing Petals or Mushroom Caps now picks a random color
~ Unhid Petal
~ Hid Root
~ Moved Bamboo to Solids
~ Moved Steel
~ Moved Melted Cheese, Butter, and Chocolate to States
~ Moved Liquid Hydrogen, Helium, and Neon to States
~ States category always appears last if unhidden
~ Humans rot more randomly
~ Bamboo Plant grows faster
~ Worms no longer break Eggs
~ Strange Matter can no longer travel through indestructible things
~ Strange Matter can no longer destroy Void
~ Tweaked Molten Uranium radiation rate
[Fixes]
~ Fixed: Alt-Tab locks Alt key
~ Fixed: Cacti break into Sap
~ Fixed: Cream deletes infinite Soda and Juice
~ Fixed: Null in info page error (e.g. tea)
~ Fixed: Unknown element in info page error (e.g. salt)
~ Fixed: Reactions, related, and aliases don't show up in tool info pages
~ Capitalization fixes
[Technical]
+ Element properties onSelect, onMouseUp, perTick, singleColor
~ Element property fireElement can accept null
[Version 1.8.4 - July 11, 2023]
+ Image placing

View File

@ -70,7 +70,7 @@
</head>
<body>
<h1><a href="https://sandboxels.R74n.com" class="backbutton" target="_blank">&lt;</a> Sandboxels Controls</h1>
<h1><a href="https://sandboxels.R74n.com" class="backbutton">&lt;</a> Sandboxels Controls</h1>
</ul>
<div id="controls">
@ -82,7 +82,7 @@
<tr><td>Erase pixels</td> <td><kbd>Right Click</kbd></td></tr>
<tr><td>Pick element</td> <td><kbd>Middle Click</kbd></td></tr>
<tr><td>Pause simulation</td> <td><kbd>Space</kbd> or <kbd>P</kbd></td></tr>
<tr><td>Intensify effect</td> <td><kbd>Shift</kbd> + <kbd style="background-color:red;">Heat</kbd>/<kbd style="background-color:blue;">Cool</kbd>/<kbd style="background-color:#fff4b5;color:black">Mix</kbd>/<kbd style="background-color:yellow;color:black">Shock</kbd>/<kbd style="background-color:888888;color:white">Smash</kbd></td></tr>
<tr><td>Intensify effect</td> <td><kbd>Shift</kbd> + <kbd style="background-color:red;">Heat</kbd>/<kbd style="background-color:blue;">Cool</kbd>/<kbd style="background-color:white;color:black">Drag</kbd>/<kbd style="background-color:#fff4b5;color:black">Mix</kbd>/<kbd style="background-color:yellow;color:black">Shock</kbd>/<kbd style="background-color:888888;color:white">Smash</kbd></td></tr>
<tr><td>Draw line</td> <td><kbd>Shift</kbd> + <kbd>Click</kbd></td></tr>
<tr><td>Change cursor size</td> <td><kbd>Scroll</kbd> or <kbd>+</kbd><kbd>-</kbd> or <kbd>[</kbd><kbd>]</kbd></td></tr>
<tr><td>Cursor size 1</td> <td><kbd>Shift</kbd> + <kbd>-</kbd></td></tr>

File diff suppressed because it is too large Load Diff

View File

@ -106,4 +106,32 @@ if (elements.rad_glass) {elements.rad_glass.color = ["#648c64","#6aad83"];}
if (elements.packed_sand) {elements.packed_sand.color = "#a1975d";}
if (elements.dough) {elements.dough.color = "#edd8ba";}
if (elements.flour) {elements.flour.color = "#f0e2b7";}
if (elements.frozen_meat) {elements.frozen_meat.color = "#65b8aa";}
if (elements.frozen_meat) {elements.frozen_meat.color = "#65b8aa";}
if (elements.petal) {elements.petal.color = "#ff0000"; elements.petal.singleColor = false;}
if (elements.mushroom_cap) {
elements.mushroom_cap.color = ["#c74442","#c74442","#c74442","#cfb4b4","#c74442","#c74442","#c74442"];
elements.mushroom_cap.singleColor = false;
}
if (elements.mushroom_gill) {
elements.mushroom_gill.tick = function(pixel) {
if (isEmpty(pixel.x,pixel.y-1) && Math.random() < 0.1) {
createPixel("mushroom_cap",pixel.x,pixel.y-1);
}
if (isEmpty(pixel.x-1,pixel.y) && Math.random() < 0.02) {
// create either mushroom_gill or mushroom_cap
if (Math.random() < 0.5) {
createPixel("mushroom_gill",pixel.x-1,pixel.y);
} else {
createPixel("mushroom_cap",pixel.x-1,pixel.y);
}
}
if (isEmpty(pixel.x+1,pixel.y) && Math.random() < 0.02) {
if (Math.random() < 0.5) {
createPixel("mushroom_gill",pixel.x+1,pixel.y);
} else {
createPixel("mushroom_cap",pixel.x+1,pixel.y);
}
}
}
}
if (elements.slaked_lime) {elements.slaked_lime.color = "#adb8b5";}

0
mods/devtests.js Normal file
View File

View File

@ -7,9 +7,10 @@ html, body {
@font-face {
font-family: 'Press Start 2P';
src: url('fonts/PressStart2P-Regular.ttf');
font-display: swap;
}
body {
font-family: 'Press Start 2P';
font-family: 'Press Start 2P', Arial;
background-color: #000000;
color: #ffffff;
}
@ -274,6 +275,30 @@ button, input[type="submit"], input[type="reset"] {
margin-left: 0px;
margin-right: 0px;
}
#gameDiv { /*game canvas*/
margin-top: 0;
}
.stat {
margin-right: 15px;
margin-bottom: 3px;
}
#stats {
width: 97%;
margin-left: 5px;
font-size: 0.75em;
height: 2.5em
}
}
@media screen and (max-width: 600px) {
#gameDiv { /*game canvas*/
margin-top: 0;
border-left: none;
border-right: none;
border-top: none;
}
.pagetitle {
display: none
}
}
/* screen size > 1325px, h1::after {content:" Sandboxels"} */
@media screen and (min-width: 1325px) {