Add hideandshowtools.js
Hide and Show tools is a mod that adds two tools: Hide tool, which you click on pixels to hide them, and Show tool, where you click on pixels to show them if they're hidden.
This commit is contained in:
parent
337811d22b
commit
4a54108898
|
|
@ -0,0 +1,18 @@
|
|||
elements.hide = {
|
||||
color: "#000000",
|
||||
tool: function(pixel){
|
||||
pixel.alpha = 0
|
||||
},
|
||||
category: "tools",
|
||||
canPlace: false,
|
||||
desc: "Use on pixels to hide them.",
|
||||
};
|
||||
elements.show = {
|
||||
color: "#ffffff",
|
||||
tool: function(pixel){
|
||||
pixel.alpha = 1
|
||||
},
|
||||
category: "tools",
|
||||
canPlace: false,
|
||||
desc: "Use on pixels to show them, can also unpaint elements."
|
||||
};
|
||||
Loading…
Reference in New Issue