-
Notifications
You must be signed in to change notification settings - Fork 5
/
cfg.py
24 lines (19 loc) · 854 Bytes
/
cfg.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
# Author: P.K. Prajapati
import os
FPS = 40
SCREENSIZE = (640, 640)
SKIER_IMAGE_PATHS = [
os.path.join(os.getcwd(), 'resources/images/skier_forward.png'),
os.path.join(os.getcwd(), 'resources/images/skier_right1.png'),
os.path.join(os.getcwd(), 'resources/images/skier_right2.png'),
os.path.join(os.getcwd(), 'resources/images/skier_left2.png'),
os.path.join(os.getcwd(), 'resources/images/skier_left1.png'),
os.path.join(os.getcwd(), 'resources/images/skier_fall.png')
]
OBSTACLE_PATHS = {
'tree': os.path.join(os.getcwd(), 'resources/images/tree.png'),
'flag': os.path.join(os.getcwd(), 'resources/images/flag.png'),
'stone': os.path.join(os.getcwd(), 'resources/images/stone.png')
}
BGMPATH = os.path.join(os.getcwd(), 'resources/music/bgm.mp3')
FONTPATH = os.path.join(os.getcwd(), 'resources/font/FZSTK.TTF')