-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDefaults.py
More file actions
41 lines (30 loc) · 970 Bytes
/
Defaults.py
File metadata and controls
41 lines (30 loc) · 970 Bytes
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
NAME = "Lyrascribe"
BG_IMG = "resources/icons/background2.jpg"
LYRIC_SIZE = 90
LYRIC_LOCATION = (25, 480)
CHOOSE_SONG_IMG = "resources/icons/choose_song.png"
FONT_FILE = "resources/fonts/eating_pasta_ttf.ttf"
# Use (1600, 900) for debugging
SCREEN_DIM = (1920, 1080)
# Can put back to 1920 x 1080
WIDTH, HEIGHT = SCREEN_DIM
CENTER_X, CENTER_Y = WIDTH // 2, HEIGHT // 2
# Button info
PLAY_IMG = "resources/icons/play_button.png"
PLAY_SIZE = (100, 100)
PLAY_LOCATION = (CENTER_X, 280)
STOP_IMG = "resources/icons/stop.png"
STOP_SIZE = (100, 100)
STOP_LOCATION = (CENTER_X, 280)
RESTART_IMG = "resources/icons/restart_button.png"
RESTART_SIZE = (150, 150)
RESTART_LOCATION = (CENTER_X, CENTER_Y)
MAIN_MENU_IMG = "resources/icons/main_menu.png"
MAIN_MENU_SIZE = (300, 100)
MAIN_MENU_LOCATION = (CENTER_X, 870)
CLOSE_IMG = "resources/icons/close_button.png"
CLOSE_SIZE = (50, 50)
CLOSE_LOCATION = (WIDTH - 50, 50)
# Colors
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)