Starting on sprite editor

This commit is contained in:
dylan
2023-05-05 14:59:52 -07:00
parent b87529bf56
commit f2b5978cae
7 changed files with 352 additions and 210 deletions

View File

@ -1,4 +1,5 @@
const colors = {
TRANSPARENT: [0, 0, 0],
BLACK: [0, 0, 0],
WHITE: [1, 1, 1],
RED: [1, 0, 0],
@ -6,6 +7,7 @@ const colors = {
GREEN: [0, 1, 0],
BLUE: [0, 0, 1],
DARKBLUE: [0.1, 0.05, 0.4],
BROWN: [0.6, 0.5, 0.4],
} as const;
export const palette: Array<[number, number, number, number]> = Object.values(colors).map(val => [...val, 1]);