step 1: export a game as html (eg "export game.html" in console)
step 2: edit the html file (eg game.html)
add this inside "canvas{}":
canvas{
image-rendering: optimizeSpeed;
../..
border: 0px;
--gray: grayscale(100%);
--blue: sepia(100%)hue-rotate(180deg)saturate(200%);
--amber: sepia(100%)saturate(200%);
--green: sepia(100%)hue-rotate(90deg)saturate(200%);
filter:var(--green);
}
|
set your preferred filter in filter:var()
step 3: profit!
more info on css filters:
https://www.w3schools.com/cssref/css3_pr_filter.asp
P#41509 2017-06-10 11:05 ( Edited 2017-06-10 15:44)
[Please log in to post a comment]



