From b4defa324a330217f0139f1240bcf53c0b1f996a Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Thu, 2 Jun 2022 23:13:07 +0200 Subject: v1.0.0 --- src/consts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/consts.ts') diff --git a/src/consts.ts b/src/consts.ts index 5443a1a..9b67159 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -3,12 +3,12 @@ export const ctx = canvas.getContext("2d")! ctx.imageSmoothingEnabled = false; export const PLAYER_SIZE = 20; // canvas-dot -export const PLAYER_VEL = 3.5; // canvas-dot / frame -export const BULLET_VEL = 4; // canvas-dot / frame +export const PLAYER_VEL = 3; // canvas-dot / frame +export const BULLET_VEL = 7.5; // canvas-dot / frame export const FIRE_DELAY = 300; // ms export const TOPBAR_HEIGHT = 24; // ms -export const FPS = 1; +// export const FPS = 1; export const alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '.', '-', '&', '?', '!', 'man', 'woman', 'heart', 'rv', 'ed'] export const allChars = [...alphabet, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] -- cgit v1.3.1