Update animation shadow color.

This commit is contained in:
yukirij 2024-08-27 11:50:28 -07:00
parent a02d876696
commit 309d995541

View File

@ -16,11 +16,13 @@ const INTERFACE = {
TileMedium: "#242424",
TileDark: "#101010",
Dawn: "#ffe082",
DawnDark: "#ff6d00",
Dawn: "#ffe082",
DawnMedium: "#fca03f",
DawnDark: "#ff6d00",
Dusk: "#f6a1bd",
DuskDark: "#c51162",
Dusk: "#f6a1bd",
DuskMedium: "#e84a79",
DuskDark: "#c51162",
HintHover: "#71a1e8",
HintSelect: "#4a148c",
@ -642,9 +644,10 @@ const INTERFACE = {
from_y = to_y - (gui_scale / 1.5);
switch(piece.player) {
case 0: ctx.fillStyle = INTERFACE.Color.Dawn; break;
case 1: ctx.fillStyle = INTERFACE.Color.Dusk; break;
case 0: ctx.fillStyle = INTERFACE.Color.DawnMedium; break;
case 1: ctx.fillStyle = INTERFACE.Color.DuskMedium; break;
}
//ctx.fillStyle = INTERFACE.Color.AnimateShadow;
ctx.save();
ctx.translate(to_x, to_y);