Version 1.10.2 - December 15, 2024 - Birthday III

[Version 1.10.2 - December 15, 2024 - Birthday III]
    + Cheese Powder, from breaking Cheese
    + Chocolate Powder, from breaking Chocolate
   [Changes]
    ~ Drawing lines shows a preview of pixel placement
    ~ Updated Brick texture for better shading
    ~ LEDs, Light Bulbs, and Fireflies can be painted
    + Humans panic when seeing dangerous things, like Fire
    + Humans change direction after hitting walls
    ~ Humans eat more consistently
    ~ Humans have a panic limit
    ~ Humans no longer eat Human meat
    ~ Smash tool moves pixels if they can't be broken
    + Steam decomposes at extreme temperatures
    + Ruins has a Brick texture
    ~ Brick Rubble no longer breaks into Dust
    ~ Recolored Brick Rubble
    + Glass has a light border
    ~ Fancy textures have grain, besides Glass
    + Rock Wall can be made by gluing Rocks
    + Brick can be made by gluing Brick Rubble
    + Mudstone can be made by gluing Dirt
    + Packed Sand can be made by Sand
    + Sponges can dry Mud and Wet Sand
    + Clay can be made by dissolving Wet Sand in Acid
    + Cement can be made with Clay and Quicklime
    ~ Quicklime no longer turns into Limestone on its own
    + Plastic breaks into Beads
    + Charcoal slowly stains solids
    + Animals can spawn Eggs or offspring in Water
    + Seeds planted under soil will rise
    + Birds eat Spiders and their Webs
    + Rocks destroy Webs
    + Frogs release Steam when cooked
    + Worms break down Fiber
    ~ Worms compost some Sawdust into Dirt
    + Soap kills Snails and Slugs
    + Soap removes Slime
    + Alcohol kills Flower Pistils
    + Mercury kills Algae
    ~ Sap boils into some Steam
    ~ Bread is less flammable
    + Ammonia affects Wheat
    + Poison dirties Salt Water, Sugar Water, and Seltzer
    + Water on burning Oil will explode
    + Bleach reacts with Nut Oil and Grease
    + Baking Soda reacts with Soap
    + Copper Sulfate kills Spiders
    + Copper Sulfate stains Zinc
    + Bless removes Heat Ray
    + Plague makes Heads green
    + Plague destroys Skin
    + Hair absorbs some Water
    ~ Breaking Balloons makes some Pop
    ~ Cheese flows slower
    ~ Coffee Grounds in Milk brew into Coffee instead
    ~ Mushroom Spores no longer break
    ~ Acid Clouds don't precipitate when too hot or cold
    ~ Border can be painted
    ~ Tweaked Charcoal heat color
    ~ Moved Light Bulb to after LEDs
    + Midas Touch turns Paper green
    ~ Midas Touch turns Humans into solid Gold instead of Coins
    + Wall alias 'Solid'
    + Mayo alias 'Mayonnaise'
    + Alcohol alias 'Ethanol'
    + Unbreakable elements are clarified in element info
    ~ Screenshots download with name of current save
    ~ Pixel count turns red when all canvas sizes are full
    ~ Log messages have a black shadow to read on bright backgrounds
    ~ TPS dialog displays minimum and maximum
   [Bug Fixes]
    ~ Fixed: Replace Mode causes pixels to float while placing
    ~ Fixed: Detached Heads and dead Humans can eat food
    ~ Fixed: Pixel alpha isn't set from element properties on creation
    ~ Fixed: Molten Thermite continues to heat when not burning
    ~ Fixed: Prop tool can't set value when existing value is null
    ~ Fixed: Unbreakable pixels can burn away when using Prop tool (Perma-burning!!!)
    ~ Fixed: Pixels with burnt states never burn when using Prop tool
    ~ Fixed: Prop tool doesn't retain "0" value on next dialog
    ~ Fixed: Prop tool doesn't handle changing "x" and "y" properties
    ~ Fixed: Placing Fire on insulative pixels heats them
    ~ Fixed: Burning heats insulative pixels
    ~ Fixed: Rays, Bless, Radiation, and some Bombs change insulative pixel temperature
    ~ Fixed: Stink Bugs aren't properly killed by Frogs, Sap, Copper Sulfate, and Borax
    ~ Fixed: Erasing with Lookup selected will only erase 1x1
    ~ Fixed: Erasing fast with Pick or Lookup selected will leave gaps
    ~ Fixed: Hail doesn't conduct heat
    ~ Fixed: Hail cannot break solids without a defined state
    ~ Fixed: Breaking Humans eventually creates Sand and Cement
    ~ Fixed: Element buttons arranged in weird columns after certain issues
    ~ Fixed: Ball doesn't have density and floats on gases
   [Technical]
    + BORDER render preset
    + 'grain' element property
    + 'toolHoverStat' element property, function that takes the hovered pixel while selected
    + 'buttonColor' element property
    ~ Humans now eat any element with true 'isFood' property
    ~ Pixels with 0% alpha won't appear in Basic View
    ~ LEDs with 0% alpha will only appear when powered
    + releaseElement function has option to replace liquids
    ~ Fixed: lineCoords function returns duplicate values
    + empty.js mod for browser JavaScript overriding
This commit is contained in:
slweeb 2024-12-15 11:45:52 -05:00
parent 479a57e4e3
commit 79ac763b65
10 changed files with 994 additions and 483 deletions

View File

@ -109,6 +109,112 @@
<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.10.2">[Version 1.10.2 - December 15, 2024 - Birthday III]</h2>
<ul>
<li>+ Cheese Powder, from breaking Cheese</li>
<li>+ Chocolate Powder, from breaking Chocolate</li>
<li>[Changes]</li>
<li>~ Drawing lines shows a preview of pixel placement</li>
<li>~ Updated Brick texture for better shading</li>
<li>~ LEDs, Light Bulbs, and Fireflies can be painted</li>
<li>+ Humans panic when seeing dangerous things, like Fire</li>
<li>+ Humans change direction after hitting walls</li>
<li>~ Humans eat more consistently</li>
<li>~ Humans have a panic limit</li>
<li>~ Humans no longer eat Human meat</li>
<li>~ Smash tool moves pixels if they can't be broken</li>
<li>+ Steam decomposes at extreme temperatures</li>
<li>+ Ruins has a Brick texture</li>
<li>~ Brick Rubble no longer breaks into Dust</li>
<li>~ Recolored Brick Rubble</li>
<li>+ Glass has a light border</li>
<li>~ Fancy textures have grain, besides Glass</li>
<li>+ Rock Wall can be made by gluing Rocks</li>
<li>+ Brick can be made by gluing Brick Rubble</li>
<li>+ Mudstone can be made by gluing Dirt</li>
<li>+ Packed Sand can be made by Sand</li>
<li>+ Sponges can dry Mud and Wet Sand</li>
<li>+ Clay can be made by dissolving Wet Sand in Acid</li>
<li>+ Cement can be made with Clay and Quicklime</li>
<li>~ Quicklime no longer turns into Limestone on its own</li>
<li>+ Plastic breaks into Beads</li>
<li>+ Charcoal slowly stains solids</li>
<li>+ Animals can spawn Eggs or offspring in Water</li>
<li>+ Seeds planted under soil will rise</li>
<li>+ Birds eat Spiders and their Webs</li>
<li>+ Rocks destroy Webs</li>
<li>+ Frogs release Steam when cooked</li>
<li>+ Worms break down Fiber</li>
<li>~ Worms compost some Sawdust into Dirt</li>
<li>+ Soap kills Snails and Slugs</li>
<li>+ Soap removes Slime</li>
<li>+ Alcohol kills Flower Pistils</li>
<li>+ Mercury kills Algae</li>
<li>~ Sap boils into some Steam</li>
<li>~ Bread is less flammable</li>
<li>+ Ammonia affects Wheat</li>
<li>+ Poison dirties Salt Water, Sugar Water, and Seltzer</li>
<li>+ Water on burning Oil will explode</li>
<li>+ Bleach reacts with Nut Oil and Grease</li>
<li>+ Baking Soda reacts with Soap</li>
<li>+ Copper Sulfate kills Spiders</li>
<li>+ Copper Sulfate stains Zinc</li>
<li>+ Bless removes Heat Ray</li>
<li>+ Plague makes Heads green</li>
<li>+ Plague destroys Skin</li>
<li>+ Hair absorbs some Water</li>
<li>~ Breaking Balloons makes some Pop</li>
<li>~ Cheese flows slower</li>
<li>~ Coffee Grounds in Milk brew into Coffee instead</li>
<li>~ Mushroom Spores no longer break</li>
<li>~ Acid Clouds don't precipitate when too hot or cold</li>
<li>~ Border can be painted</li>
<li>~ Tweaked Charcoal heat color</li>
<li>~ Moved Light Bulb to after LEDs</li>
<li>+ Midas Touch turns Paper green</li>
<li>~ Midas Touch turns Humans into solid Gold instead of Coins</li>
<li>+ Wall alias 'Solid'</li>
<li>+ Mayo alias 'Mayonnaise'</li>
<li>+ Alcohol alias 'Ethanol'</li>
<li>+ Unbreakable elements are clarified in element info</li>
<li>~ Screenshots download with name of current save</li>
<li>~ Pixel count turns red when all canvas sizes are full</li>
<li>~ Log messages have a black shadow to read on bright backgrounds</li>
<li>~ TPS dialog displays minimum and maximum</li>
<li>[Bug Fixes]</li>
<li>~ Fixed: Replace Mode causes pixels to float while placing</li>
<li>~ Fixed: Detached Heads and dead Humans can eat food</li>
<li>~ Fixed: Pixel alpha isn't set from element properties on creation</li>
<li>~ Fixed: Molten Thermite continues to heat when not burning</li>
<li>~ Fixed: Prop tool can't set value when existing value is null</li>
<li>~ Fixed: Unbreakable pixels can burn away when using Prop tool (Perma-burning!!!)</li>
<li>~ Fixed: Pixels with burnt states never burn when using Prop tool</li>
<li>~ Fixed: Prop tool doesn't retain "0" value on next dialog</li>
<li>~ Fixed: Prop tool doesn't handle changing "x" and "y" properties</li>
<li>~ Fixed: Placing Fire on insulative pixels heats them</li>
<li>~ Fixed: Burning heats insulative pixels</li>
<li>~ Fixed: Rays, Bless, Radiation, and some Bombs change insulative pixel temperature</li>
<li>~ Fixed: Stink Bugs aren't properly killed by Frogs, Sap, Copper Sulfate, and Borax</li>
<li>~ Fixed: Erasing with Lookup selected will only erase 1x1</li>
<li>~ Fixed: Erasing fast with Pick or Lookup selected will leave gaps</li>
<li>~ Fixed: Hail doesn't conduct heat</li>
<li>~ Fixed: Hail cannot break solids without a defined state</li>
<li>~ Fixed: Breaking Humans eventually creates Sand and Cement</li>
<li>~ Fixed: Element buttons arranged in weird columns after certain issues</li>
<li>~ Fixed: Ball doesn't have density and floats on gases</li>
<li>[Technical]</li>
<li>+ BORDER render preset</li>
<li>+ 'grain' element property</li>
<li>+ 'toolHoverStat' element property, function that takes the hovered pixel while selected</li>
<li>+ 'buttonColor' element property</li>
<li>~ Humans now eat any element with true 'isFood' property</li>
<li>~ Pixels with 0% alpha won't appear in Basic View</li>
<li>~ LEDs with 0% alpha will only appear when powered</li>
<li>+ releaseElement function has option to replace liquids</li>
<li>~ Fixed: lineCoords function returns duplicate values</li>
<li>+ empty.js mod for browser JavaScript overriding</li>
</ul>
<h2 id="1.10.1">[Version 1.10.1 - October 5, 2024 - Creepy Crawlies]</h2>
<ul>
<li>[Crawly]</li>
@ -2463,11 +2569,13 @@
</script>
<script>
changelog = document.getElementById("changelog");
changelog.innerHTML = changelog.innerHTML.replaceAll("<li>+","<li class='ad'>");
changelog.innerHTML = changelog.innerHTML.replaceAll("<li>-","<li class='rm'>");
changelog.innerHTML = changelog.innerHTML.replaceAll("<li>~","<li class='ch'>");
changelog.innerHTML = changelog.innerHTML.replaceAll("> ","><span class='indent'></span>");
changelog.innerHTML = changelog.innerHTML.replaceAll("<li>[","<li class='update-section'>[");
let html = changelog.innerHTML;
html = html.replaceAll("<li>+","<li class='ad'>");
html = html.replaceAll("<li>-","<li class='rm'>");
html = html.replaceAll("<li>~","<li class='ch'>");
html = html.replaceAll("> ","><span class='indent'></span>");
html = html.replaceAll("<li>[","<li class='update-section'>[");
changelog.innerHTML = html;
</script>

View File

@ -1,11 +1,113 @@
[Future Plans]
+ Save Gallery
+ 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
[Version 1.10.2 - December 15, 2024 - Birthday III]
+ Cheese Powder, from breaking Cheese
+ Chocolate Powder, from breaking Chocolate
[Changes]
~ Drawing lines shows a preview of pixel placement
~ Updated Brick texture for better shading
~ LEDs, Light Bulbs, and Fireflies can be painted
+ Humans panic when seeing dangerous things, like Fire
+ Humans change direction after hitting walls
~ Humans eat more consistently
~ Humans have a panic limit
~ Humans no longer eat Human meat
~ Smash tool moves pixels if they can't be broken
+ Steam decomposes at extreme temperatures
+ Ruins has a Brick texture
~ Brick Rubble no longer breaks into Dust
~ Recolored Brick Rubble
+ Glass has a light border
~ Fancy textures have grain, besides Glass
+ Rock Wall can be made by gluing Rocks
+ Brick can be made by gluing Brick Rubble
+ Mudstone can be made by gluing Dirt
+ Packed Sand can be made by Sand
+ Sponges can dry Mud and Wet Sand
+ Clay can be made by dissolving Wet Sand in Acid
+ Cement can be made with Clay and Quicklime
~ Quicklime no longer turns into Limestone on its own
+ Plastic breaks into Beads
+ Charcoal slowly stains solids
+ Animals can spawn Eggs or offspring in Water
+ Seeds planted under soil will rise
+ Birds eat Spiders and their Webs
+ Rocks destroy Webs
+ Frogs release Steam when cooked
+ Worms break down Fiber
~ Worms compost some Sawdust into Dirt
+ Soap kills Snails and Slugs
+ Soap removes Slime
+ Alcohol kills Flower Pistils
+ Mercury kills Algae
~ Sap boils into some Steam
~ Bread is less flammable
+ Ammonia affects Wheat
+ Poison dirties Salt Water, Sugar Water, and Seltzer
+ Water on burning Oil will explode
+ Bleach reacts with Nut Oil and Grease
+ Baking Soda reacts with Soap
+ Copper Sulfate kills Spiders
+ Copper Sulfate stains Zinc
+ Bless removes Heat Ray
+ Plague makes Heads green
+ Plague destroys Skin
+ Hair absorbs some Water
~ Breaking Balloons makes some Pop
~ Cheese flows slower
~ Coffee Grounds in Milk brew into Coffee instead
~ Mushroom Spores no longer break
~ Acid Clouds don't precipitate when too hot or cold
~ Border can be painted
~ Tweaked Charcoal heat color
~ Moved Light Bulb to after LEDs
+ Midas Touch turns Paper green
~ Midas Touch turns Humans into solid Gold instead of Coins
+ Wall alias 'Solid'
+ Mayo alias 'Mayonnaise'
+ Alcohol alias 'Ethanol'
+ Unbreakable elements are clarified in element info
~ Screenshots download with name of current save
~ Pixel count turns red when all canvas sizes are full
~ Log messages have a black shadow to read on bright backgrounds
~ TPS dialog displays minimum and maximum
[Bug Fixes]
~ Fixed: Replace Mode causes pixels to float while placing
~ Fixed: Detached Heads and dead Humans can eat food
~ Fixed: Pixel alpha isn't set from element properties on creation
~ Fixed: Molten Thermite continues to heat when not burning
~ Fixed: Prop tool can't set value when existing value is null
~ Fixed: Unbreakable pixels can burn away when using Prop tool (Perma-burning!!!)
~ Fixed: Pixels with burnt states never burn when using Prop tool
~ Fixed: Prop tool doesn't retain "0" value on next dialog
~ Fixed: Prop tool doesn't handle changing "x" and "y" properties
~ Fixed: Placing Fire on insulative pixels heats them
~ Fixed: Burning heats insulative pixels
~ Fixed: Rays, Bless, Radiation, and some Bombs change insulative pixel temperature
~ Fixed: Stink Bugs aren't properly killed by Frogs, Sap, Copper Sulfate, and Borax
~ Fixed: Erasing with Lookup selected will only erase 1x1
~ Fixed: Erasing fast with Pick or Lookup selected will leave gaps
~ Fixed: Hail doesn't conduct heat
~ Fixed: Hail cannot break solids without a defined state
~ Fixed: Breaking Humans eventually creates Sand and Cement
~ Fixed: Element buttons arranged in weird columns after certain issues
~ Fixed: Ball doesn't have density and floats on gases
[Technical]
+ BORDER render preset
+ 'grain' element property
+ 'toolHoverStat' element property, function that takes the hovered pixel while selected
+ 'buttonColor' element property
~ Humans now eat any element with true 'isFood' property
~ Pixels with 0% alpha won't appear in Basic View
~ LEDs with 0% alpha will only appear when powered
+ releaseElement function has option to replace liquids
~ Fixed: lineCoords function returns duplicate values
+ empty.js mod for browser JavaScript overriding
[Version 1.10.1 - October 5, 2024 - Creepy Crawlies]
[Crawly]
+ Spider, will climb and create Webs

1209
index.html

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,9 @@ elements.mud_brick = {
color: "#8a6249",
colorPattern: textures.BRICK,
colorKey: {
"l": "#986c51",
"r": "#8a6249",
"d": "#7f5943",
"w": "#634933"},
behavior: behaviors.WALL,
category: "solids",

View File

@ -166,4 +166,10 @@ if (elements.steel) {delete elements.steel.colorPattern;}
if (elements.galvanized_steel) {delete elements.galvanized_steel.colorPattern;}
if (elements.bird) {delete elements.bird.stateHighColor;}
if (elements.frog) {delete elements.frog.stateHighColor;}
if (elements.fallout) {elements.fallout.color = ["#63b85a","#448044","#598044","#7bb85a"];}
if (elements.fallout) {elements.fallout.color = ["#63b85a","#448044","#598044","#7bb85a"];}
if (elements.brick_rubble) {elements.brick_rubble.color = ["#e36868","#cb4141","#752020"];}
if (elements.border) {elements.border.tick = function(pixel){
var t = pixelTicks/2+pixel.x+pixel.y;
var r = Math.floor(127*Math.sin(t/1.5));
pixel.color = "rgba("+r+","+r*2+","+r*2+","+r/127+")";
};}

7
mods/empty.js Normal file
View File

@ -0,0 +1,7 @@
// Override this file with your browser's developer tools to test mods locally.
// [Tutorials]
// Chrome: https://developer.chrome.com/docs/devtools/overrides
// Firefox: https://stackoverflow.com/a/38538310
// Microsoft Edge: https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/javascript/overrides
// Safari: https://webkit.org/web-inspector/local-overrides/

View File

@ -114,9 +114,25 @@ elements.head.burnInto = "soul";
elements.head.stateHigh = "soul";
elements.head.stateLow = "soul";
elements.head.onDelete = function(pixel) {
for (var i = 0; i < adjacentCoords.length; i++) {
var coord = adjacentCoords[i];
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (!isEmpty(x,y,true) && pixelMap[x][y].panic !== undefined) {
pixelMap[x][y].panic += 20;
}
}
releaseElement(pixel,"soul");
}
elements.head.onChange = function(pixel,element) {
for (var i = 0; i < adjacentCoords.length; i++) {
var coord = adjacentCoords[i];
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (!isEmpty(x,y,true) && pixelMap[x][y].panic !== undefined) {
pixelMap[x][y].panic += 20;
}
}
if (element !== "soul") {
releaseElement(pixel,"soul");
}

View File

@ -203,6 +203,9 @@ elements.sell = {
if (elementWorth[pixel.element] === -1) { return; }
survivalAdd("gold_coin",elementWorth[pixel.element]||1);
},
toolHoverStat: function(pixel) {
return "$"+(elementWorth[pixel.element]||1);
},
category: "tools",
desc: "Exchanges pixels for their market value in Gold Coins"
}

View File

@ -352,6 +352,9 @@ button, input[type="submit"], input[type="reset"] {
#toolControls button, #category-tools button {
flex-grow: 1;
}
#elementControls {
flex-direction: column;
}
/* Scrollbars */
@ -603,4 +606,5 @@ button, input { /*Disable double tap zoom on mobile devices*/
padding: 5px;
white-space: pre-wrap;
font-size: 0.75em;
text-shadow: 0px 0px 6px black;
}

View File

@ -112,7 +112,7 @@
<li>Import an image using the Image tool in Special</li>
<li>Grow a Flower garden</li>
<li>Build a terrarium for bugs and feed them</li>
<li>Watch Humans steal all of your Gold Coins</li>
<li>Watch Humans steal all of your Gold Coins or Diamonds</li>
<li>Melt everything with Plasma</li>
<li>Discover every element (Info > Undiscovered)</li>
<li>Compost your Dead Plants and Ash with Worms</li>