-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
26 lines (15 loc) · 923 Bytes
/
Copy pathconfig.py
File metadata and controls
26 lines (15 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
FPS = 100
SCREENSIZE = (1024, 768)
spritepics = {'man': os.path.join(os.getcwd(), 'resources/images/man.jpg'),
'grass': os.path.join(os.getcwd(), 'resources/images/back.jpg'),
'castle': os.path.join(os.getcwd(), 'resources/images/final.png'),
'arrow': os.path.join(os.getcwd(), 'resources/images/bt2.png'),
'monster': os.path.join(os.getcwd(), 'resources/images/monster.gif'),
'healthbar': os.path.join(os.getcwd(), 'resources/images/healthbar.png'),
'health': os.path.join(os.getcwd(), 'resources/images/health.png'),
'tree': os.path.join(os.getcwd(), 'resources/images/tree.png')}
Sounds = {'hit': os.path.join(os.getcwd(), 'resources/audio/m_okay.wav'),
'enemy': os.path.join(os.getcwd(), 'resources/audio/beltslap.mp3'),
'shoot': os.path.join(os.getcwd(), 'resources/audio/shoot.wav'),
'backmusic': os.path.join(os.getcwd(), 'resources/audio/boldback.mp3')}