[Version 1.8.2 - May 12, 2023 - Very Necessary Update]
    + Lettuce
    + Liquid Light at absolute zero (Hidden)
    + Ice Cream (Frozen Milk)
    + Baked Potato (Hidden)
    + Bricks and Glass have a texture when placed
    + Clay Shard
    + Frozen Fish (Hidden, 25% chance)
    ~ Smash is now located on the toolbar
    + Press R to reset scene
    + Toggle buttons in Settings
    + Fancy Textures setting
    + Default View setting for mobile
    + Air Temp, Air Density, and Abs Zero settings
    + Mushrooms world gen type
   [Changes]
    ~ Liquid Helium now has new superfluid behavior
    ~ Burning now stops below 0°C
    ~ Porcelain unhidden in Solids
    ~ Porcelain won't mix unless Shift is held
    ~ Optimized and buffed Strange Matter
    + Strange Matter ignores Fire and Smoke, can be destroyed by Antimatter
    + Bless warms pixels below -200°C
    + Humans will try to regulate their body temperature
    + Humans can eat food
    + Bones and Dead Plants can turn into fossil fuels under right conditions
    + Charcoal can turn into Diamonds under right conditions
    + Sugar and Milk can dissolve in Tea
    + Mixing Cement will reset the time until solidification
    + Termites can dig through soil
    + Potatoes can fall to the side
    + Potatoes break into Juice
    + Borax and Glue makes Slime
    + Incense gives off Smoke when burning
    + Herbs give off Fragrance when burnt
    + Flying Bugs and Birds can be crushed by falling Rocks
    + Fish can eat Broth, Slugs, Herbs, Lettuce, Dead Plants, Lichen, Yeast, Yogurt, and Tea
    + Snails, Algae, Gravel, and Charcoal can clean Broth and Tea
    + Worms can break down Lichen
    + Worms can eat Yolk
    + Gingerbread can be made with Flour and Sap or Caramel
    + Infection, Antibody, and Vaccine will wet soil
    + Radiation affects Milk variants
    + Malware messes with more machines
    + Copper Sulfate can be used as pesticide
    + Bubbles and Foam remove Stench
    + Bless can convert Lead to Gold
    + Tea can be made from Wheat
    + Uncharge tool converts Protons to Neutrons
    + Uncharge tool deletes Electric
    + Unburn tool converts Plasma to Smoke
    + GitHub linked in Mod Manager
    ~ Herbs burn slower
    ~ Tweaked Rad Glass color
    ~ Tweaked Dough color
    ~ Tweaked Lookup tool color to be like Glass
    ~ Pick, Mix, Shock, Mushroom Spore, Iron, and Gray Goo now have dark text
    ~ Settings menu is taller
    ~ Reset warning no longer appears if scene is empty
    ~ Ember cools into Ash
    ~ Firework Ember cools into Carbon Dioxide
    ~ Acid ignores Hydrogen
    ~ Renamed Nitroglycerin to Nitro
    + Frozen Nitro (Hidden)
    + Cream (Hidden)
   [Bug Fixes]
    ~ Fixed: Background color setting input not syncing after refresh
    ~ Fixed: Pixels from Spout don't inherit temperature
    ~ Fixed: Stats bar makes GUI jumpy on mobile
    ~ Fixed: Sponge doesn't conduct heat
    ~ Fixed: Flies no longer electrocute
    ~ Fixed: Sun heat transfer dependent on phase
    ~ Fixed: Neutrons/Protons/Blessing Strange Matter can make ghost pixels
   [Technical]
    + colorPattern and colorKey element properties (see Brick)
    + SUPERFLUID behavior preset
    + Absolute Zero is now controlled with global variable absoluteZero
    + fireElement element property accepts an array of elements
    + breakInto element property accepts null values
    + Uncharge tool supports reactions
    + stateLowColorMultiplier element attribute for Ice Cream
    + darkText element attribute for buttons (true/false)
This commit is contained in:
slweeb 2023-05-12 17:56:50 -04:00
parent 3535833cc3
commit 8abbeeb4f9
6 changed files with 1025 additions and 297 deletions

View File

@ -5,6 +5,89 @@
See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQuS See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQuS
[Version 1.8.2 - May 12, 2023 - Very Necessary Update]
+ Lettuce
+ Liquid Light at absolute zero (Hidden)
+ Ice Cream (Frozen Milk)
+ Baked Potato (Hidden)
+ Bricks and Glass have a texture when placed
+ Clay Shard
+ Frozen Fish (Hidden, 25% chance)
~ Smash is now located on the toolbar
+ Press R to reset scene
+ Toggle buttons in Settings
+ Fancy Textures setting
+ Default View setting for mobile
+ Air Temp, Air Density, and Abs Zero settings
+ Mushrooms world gen type
[Changes]
~ Liquid Helium now has new superfluid behavior
~ Burning now stops below 0°C
~ Porcelain unhidden in Solids
~ Porcelain won't mix unless Shift is held
~ Optimized and buffed Strange Matter
+ Strange Matter ignores Fire and Smoke, can be destroyed by Antimatter
+ Bless warms pixels below -200°C
+ Humans will try to regulate their body temperature
+ Humans can eat food
+ Bones and Dead Plants can turn into fossil fuels under right conditions
+ Charcoal can turn into Diamonds under right conditions
+ Sugar and Milk can dissolve in Tea
+ Mixing Cement will reset the time until solidification
+ Termites can dig through soil
+ Potatoes can fall to the side
+ Potatoes break into Juice
+ Borax and Glue makes Slime
+ Incense gives off Smoke when burning
+ Herbs give off Fragrance when burnt
+ Flying Bugs and Birds can be crushed by falling Rocks
+ Fish can eat Broth, Slugs, Herbs, Lettuce, Dead Plants, Lichen, Yeast, Yogurt, and Tea
+ Snails, Algae, Gravel, and Charcoal can clean Broth and Tea
+ Worms can break down Lichen
+ Worms can eat Yolk
+ Gingerbread can be made with Flour and Sap or Caramel
+ Infection, Antibody, and Vaccine will wet soil
+ Radiation affects Milk variants
+ Malware messes with more machines
+ Copper Sulfate can be used as pesticide
+ Bubbles and Foam remove Stench
+ Bless can convert Lead to Gold
+ Tea can be made from Wheat
+ Uncharge tool converts Protons to Neutrons
+ Uncharge tool deletes Electric
+ Unburn tool converts Plasma to Smoke
+ GitHub linked in Mod Manager
~ Herbs burn slower
~ Tweaked Rad Glass color
~ Tweaked Dough color
~ Tweaked Lookup tool color to be like Glass
~ Pick, Mix, Shock, Mushroom Spore, Iron, and Gray Goo now have dark text
~ Settings menu is taller
~ Reset warning no longer appears if scene is empty
~ Ember cools into Ash
~ Firework Ember cools into Carbon Dioxide
~ Acid ignores Hydrogen
~ Renamed Nitroglycerin to Nitro
+ Frozen Nitro (Hidden)
+ Cream (Hidden)
[Bug Fixes]
~ Fixed: Background color setting input not syncing after refresh
~ Fixed: Pixels from Spout don't inherit temperature
~ Fixed: Stats bar makes GUI jumpy on mobile
~ Fixed: Sponge doesn't conduct heat
~ Fixed: Flies no longer electrocute
~ Fixed: Sun heat transfer dependent on phase
~ Fixed: Neutrons/Protons/Blessing Strange Matter can make ghost pixels
[Technical]
+ colorPattern and colorKey element properties (see Brick)
+ SUPERFLUID behavior preset
+ Absolute Zero is now controlled with global variable absoluteZero
+ fireElement element property accepts an array of elements
+ breakInto element property accepts null values
+ Uncharge tool supports reactions
+ stateLowColorMultiplier element attribute for Ice Cream
+ darkText element attribute for buttons (true/false)
[Version 1.8.1 - April 14, 2023 - Striking Detail] [Version 1.8.1 - April 14, 2023 - Striking Detail]
+ Lightning (!!!) + Lightning (!!!)
+ Bless + Bless
@ -150,8 +233,8 @@ See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQ
~ Fixed: Canvas overflows on the right on mobile ~ Fixed: Canvas overflows on the right on mobile
[Technical] [Technical]
+ onMix element attribute function(pixel1,pixel2) + onMix element attribute function(pixel1,pixel2)
+ isFood element attribute for dough/batter mixing + isFood element attribute for Dough/Batter mixing
+ stateHighColorMultiplier element attribute for batter + stateHighColorMultiplier element attribute for Batter
[Version 1.7.1 - January 8, 2023] [Version 1.7.1 - January 8, 2023]
+ Walls and Glass aren't affected by Mix unless holding Shift + Walls and Glass aren't affected by Mix unless holding Shift

View File

@ -18,6 +18,7 @@ E = Element Selection
/ or I = Element Info Screen / or I = Element Info Screen
\ = Settings Menu \ = Settings Menu
M = Mod Manager M = Mod Manager
R = Reset Canvas
> = Step > = Step
F or F11 = Toggle Fullscreen F or F11 = Toggle Fullscreen
1 or 0 = Normal View 1 or 0 = Normal View

1122
index.html

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
elements.dirt.color = [ if (elements.dirt) {elements.dirt.color = [
"#9e6b4b", "#9e6b4b",
"#9e6b4b", "#9e6b4b",
"#9e6b4b", "#9e6b4b",
@ -14,58 +14,58 @@ elements.dirt.color = [
"#9e6b4b", "#9e6b4b",
"#9e6b4b", "#9e6b4b",
"#a88c7b" "#a88c7b"
]; ];}
elements.rotten_meat.color = [ if (elements.rotten_meat) {elements.rotten_meat.color = [
"#9ab865", "#9ab865",
"#b8b165", "#b8b165",
"#b89765" "#b89765"
]; ];}
elements.ant.color = "#4a0903"; if (elements.ant) {elements.ant.color = "#4a0903";}
elements.worm.color = "#402208"; if (elements.worm) {elements.worm.color = "#402208";}
elements.fly.color = "#303012"; if (elements.fly) {elements.fly.color = "#303012";}
elements.firefly.color = [ if (elements.firefly) {elements.firefly.color = [
"#310D09", "#310D09",
"#310D09", "#310D09",
"#d9d950", "#d9d950",
"#310D09", "#310D09",
"#310D09" "#310D09"
]; ];}
elements.firefly.tick = function(pixel) { elements.firefly.tick = function(pixel) {
if (!pixel.fff) { if (!pixel.fff) {
pixel.fff = Math.floor(Math.random() * 60) + 20; pixel.fff = Math.floor(Math.random() * 60) + 20;
} }
if (pixelTicks % pixel.fff === 0) { if (pixelTicks % pixel.fff === 0) {
pixel.color = pixelColorPick(pixel,"#d9d950") if (pixel) {pixel.color = pixelColorPick(pixel,"#d9d950")}
} }
else if (pixelTicks % pixel.fff === 2) { else if (pixelTicks % pixel.fff === 2) {
pixel.color = pixelColorPick(pixel,"#310D09"); if (pixel) {pixel.color = pixelColorPick(pixel,"#310D09");}
} }
behaviors.FLY(pixel,function(firefly,newfly){ behaviors.FLY(pixel,function(firefly,newfly){
if (newfly) { if (newfly) {
newfly.fff = firefly.fff; newfly.fff = firefly.fff;
} }
}) })
}, }
elements.human.color = [ if (elements.human) {elements.human.color = [
"#f5eac6", "#f5eac6",
"#d4c594", "#d4c594",
"#a89160", "#a89160",
"#7a5733", "#7a5733",
"#523018", "#523018",
"#361e0e" "#361e0e"
]; ];}
elements.body.color = [ if (elements.body) {elements.body.color = [
"#049699", "#049699",
"#638A61" "#638A61"
]; ];}
elements.head.color = [ if (elements.head) {elements.head.color = [
"#f5eac6", "#f5eac6",
"#d4c594", "#d4c594",
"#a89160", "#a89160",
"#7a6433", "#7a6433",
"#524018" "#524018"
]; ];}
elements.slug.color = [ if (elements.slug) {elements.slug.color = [
"#997e12", "#997e12",
"#403314", "#403314",
"#997e12", "#997e12",
@ -79,25 +79,30 @@ elements.slug.color = [
"#997e12", "#997e12",
"#403314", "#403314",
"#124a44" "#124a44"
]; ];}
elements.light.color = "#ffffa8"; if (elements.light) {elements.light.color = "#ffffa8";}
elements.wheat.color = "#c9bc81"; if (elements.wheat) {elements.wheat.color = "#c9bc81";}
elements.permafrost.color = [ if (elements.permafrost) {elements.permafrost.color = [
"#557d65", "#557d65",
"#557d79" "#557d79"
]; ];}
elements.root.color = "#7B6F6B"; if (elements.root) {elements.root.color = "#7B6F6B";}
elements.sap.color = [ if (elements.sap) {elements.sap.color = [
"#B66B18", "#B66B18",
"#C84805", "#C84805",
"#CF6719", "#CF6719",
"#E49B3A" "#E49B3A"
]; ];}
elements.electric.color = "#dddd00"; if (elements.electric) {elements.electric.color = "#dddd00";}
elements.epsom_salt.color = [ if (elements.epsom_salt) {elements.epsom_salt.color = [
"#f2f2f2", "#f2f2f2",
"#e0e0e0" "#e0e0e0"
]; ];}
elements.flash.color = "#ffffa8"; if (elements.flash) {elements.flash.color = "#ffffa8";}
elements.bread.color = "#F2CF99"; if (elements.bread) {elements.bread.color = "#F2CF99";}
elements.mycelium.color = ["#734d5e","#b5949f","#734d53"]; if (elements.mycelium) {elements.mycelium.color = ["#734d5e","#b5949f","#734d53"];}
if (elements.glass) {elements.glass.color = ["#5e807d","#679e99"];}
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";}

View File

@ -3713,8 +3713,8 @@ if(enabledMods.includes(libraryMod) && enabledMods.includes(colorOffsetMod)) {
layers: [ layers: [
[0.9, "oil_cloud_floater"], [0.9, "oil_cloud_floater"],
[0.65, "coal", 0.1], [0.65, "coal", 0.1],
[0.65, "nitroglycerin"], [0.65, "nitro"],
[0.55, "nitroglycerin", 0.5], [0.55, "nitro", 0.5],
[0.2, "coal", 0.2], [0.2, "coal", 0.2],
[0.2, "tnt"], [0.2, "tnt"],
[0.05, "coal", 0.3], [0.05, "coal", 0.3],

View File

@ -22,8 +22,8 @@ body {
left: 0; left: 0;
} }
a {color: rgb(255, 0, 255);text-decoration: none;} a {color: rgb(255, 0, 255);text-decoration: none;}
a:hover {color: rgb(255, 121, 255);} a:hover {filter: brightness(200%);}
a:active, a:hover:active {color: rgb(255, 179, 255);} a:active, a:hover:active {filter: brightness(275%);}
#gameDiv { /*game canvas*/ #gameDiv { /*game canvas*/
border: 1px solid #ffffff; border: 1px solid #ffffff;
position: relative; position: relative;
@ -97,6 +97,9 @@ kbd {
overflow-x: hidden; overflow-x: hidden;
z-index: 10; z-index: 10;
} }
#settingsMenu {
height: 75%;
}
#infoSearch, #modManagerUrl { #infoSearch, #modManagerUrl {
position: absolute; position: absolute;
bottom: 59.4%; bottom: 59.4%;
@ -248,6 +251,9 @@ button, input[type="submit"], input[type="reset"] {
font-size: 0.75em; font-size: 0.75em;
height: 1.5em; height: 1.5em;
width:100%; width:100%;
/* no wrapping */
white-space: nowrap;
overflow-x: hidden;
} }
/* screen size < 800px */ /* screen size < 800px */
@media screen and (max-width: 800px) { /* Mobile Styles */ @media screen and (max-width: 800px) { /* Mobile Styles */
@ -370,28 +376,43 @@ button, input[type="submit"], input[type="reset"] {
button, input { /*Disable double tap zoom on mobile devices*/ button, input { /*Disable double tap zoom on mobile devices*/
touch-action: manipulation; touch-action: manipulation;
} }
select { select, .toggleInput, #settingsMenu input[type="number"], #settingsMenu input[type="text"] {
background-color: black; background-color: black;
vertical-align: middle; vertical-align: middle;
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
border: white 0.5px solid; border: rgb(150, 150, 150) 1px solid;
border-radius: 20px; border-radius: 20px;
padding: 0.5em; padding: 0.5em;
color: white; color: white;
font-size: 1em;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
} }
.toggleInput {
display: inline-block;
width: 4em;
text-align: center;
cursor: pointer;
}
.toggleInput[state="1"] {color: lime;}
.toggleInput[state="0"] {color: red;}
#settingsMenu input[type="number"] {
width: 3em;
}
.settingsButton { .settingsButton {
background-color: black; background-color: black;
vertical-align: middle; vertical-align: middle;
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
border: white 0.5px solid; border: rgb(150, 150, 150) 1px solid;
border-radius: 20px; border-radius: 20px;
padding: 0.5em; padding: 0.5em;
color: white; color: white;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
} }
.settingsButton:active, .toggleInput:active {
filter: brightness(75%);
}
#canvasDiv { #canvasDiv {
position:relative; position:relative;
overflow-x:hidden overflow-x:hidden
@ -420,4 +441,8 @@ select {
} }
.setting-span { .setting-span {
display:block;padding-bottom:0.5em display:block;padding-bottom:0.5em
} }
.multisetting {
display: inline-block
}
.helpMark {text-decoration:dotted underline; font-style:italic; cursor:help; color:yellow}