aboutsummaryrefslogtreecommitdiffstats
path: root/src/Images.ts
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2022-06-01 00:26:52 +0200
committerMaksymilian Jopek <maks@jopek.eu>2022-06-01 00:26:52 +0200
commit5413001f654d4ea27129cf2edfc15322f2ba27ec (patch)
treecd5c4bda29622ca5406a7f641143c7c5ead20a51 /src/Images.ts
parent0010f2de57cfa97106432ea1849c1bb75d3d99a1 (diff)
download1942-5413001f654d4ea27129cf2edfc15322f2ba27ec.tar.gz
1942-5413001f654d4ea27129cf2edfc15322f2ba27ec.tar.zst
1942-5413001f654d4ea27129cf2edfc15322f2ba27ec.zip
Spawning enemies, start Startscreen
Diffstat (limited to 'src/Images.ts')
-rw-r--r--src/Images.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Images.ts b/src/Images.ts
index fce97ea..bf91bb3 100644
--- a/src/Images.ts
+++ b/src/Images.ts
@@ -63,6 +63,11 @@ export const IMGS = {
whiteStrangeRight: {} as HTMLImageElement,
planeIcon: {} as HTMLImageElement,
rollIcon: {} as HTMLImageElement,
+ startScreen0: {} as HTMLImageElement,
+ startScreen1: {} as HTMLImageElement,
+ startScreen2: {} as HTMLImageElement,
+ startScreen3: {} as HTMLImageElement,
+ startScreen4: {} as HTMLImageElement,
font: {
white: {} as any,
yellow: {} as any,
@@ -93,6 +98,7 @@ export default async function loadAllImages() {
IMGS.font[' '] = await asyncImageLoader("/src/imgs/font/ .png")
IMGS.font.yellow[' '] = await asyncImageLoader("/src/imgs/font/ .png")
IMGS.font.white[' '] = await asyncImageLoader("/src/imgs/font/ .png")
+ // Only numbers
for (const c of allChars.filter(ch => !alphabet.includes(ch))) {
IMGS.font.small.white[c] = await asyncImageLoader("/src/imgs/font/small/white/" + c + ".png");
}