-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
53 lines (49 loc) · 1.04 KB
/
settings.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
42
43
44
45
46
47
48
49
50
51
52
53
# game setup
WIDTH = 1280
HEIGHT = 720
FPS = 60
TILE_SIZE = 64
# user interface
BAR_HEIGHT = 20
HEALTH_BAR_WIDTH = 200
ENERGY_BAR_WIDTH = 200
ITEM_BOX_SIZE = 100
UI_FONT = 'assets/font/joystix.ttf'
UI_FONT_SIZE = 20
# general colors
WATER_COLOR = '#71DDEE'
UI_BG_COLOR = '#222222'
UI_BORDER_COLOR = '#111111'
TEXT_COLOR = '#EEEEEE'
# ui colors
HEALTH_COLOR = 'red'
ENERGY_COLOR = 'blue'
UI_BORDER_COLOR_ACTIVE = 'gold'
# weapons
weapon_data = {
'sword': {
'cooldown': 100,
'damage': 15,
'image': 'assets/images/weapons/sword/full.png'
},
'lance': {
'cooldown': 400,
'damage': 30,
'image': 'assets/images/weapons/lance/full.png'
},
'axe': {
'cooldown': 300,
'damage': 20,
'image': 'assets/images/weapons/axe/full.png'
},
'rapier': {
'cooldown': 50,
'damage': 8,
'image': 'assets/images/weapons/rapier/full.png'
},
'sai': {
'cooldown': 80,
'damage': 10,
'image': 'assets/images/weapons/sai/full.png'
}
}