-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCONSTANTS.py
42 lines (36 loc) · 947 Bytes
/
CONSTANTS.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# model constants
ASSETS_DIR = "assets\\"
CONFIG_FILE_PATH = "config\\user.json"
CONFIG_DIR = "config\\"
FONTS_DIR = "assets\\fonts\\"
LANG_DIR = "assets\\lang\\"
SPRITE_DIR = "assets\\sprites\\"
CRASH_REPORT_DIR = "crash_reports\\"
lore_sprites = [
"assets\img\icon.png",
"assets\img\lore1.bmp",
"assets\img\lore2.bmp",
"assets\img\lore3.bmp",
"assets\img\lore4.bmp",
"assets\img\lore5.bmp",
"assets\img\lore6.bmp",
"assets\img\lore7.bmp",
"assets\img\lore8.bmp",
"assets\img\lore9.bmp",
"assets\img\lore10gif.gif"]
INITIAL_WINDOW_TITLE = "nUndertale"
# screen constans
SCREEN_WIDTH = 640
SCREEN_HEIGHT = 480
INITIAL_FPS = 60
# color codes (RGBA)
C_BLACK = (0, 0, 0, 0)
C_WHITE = (255, 255, 255, 0)
C_RED = (255, 0, 0, 0)
C_GREEN = (0, 255, 0, 0)
C_BLUE = (0, 0, 255, 0)
C_YELLOW = (255, 255, 0, 0)
C_MAGENTA = (255, 0, 255, 0)
C_CYAN = (0, 255, 255, 0)
# controller constants
ALLOW_WASD = False