-
Notifications
You must be signed in to change notification settings - Fork 1
/
Constants.py
42 lines (40 loc) · 951 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
42
TEAM_GOODGUYS = 'TEAM_GOODGUYS'
TEAM_BADGUYS = 'TEAM_BADGUYS'
RIGHT = 'right'
LEFT = 'left'
UP = 'up'
DOWN = 'down'
D_UP_RIGHT = 'diagonal_up_right'
D_UP_LEFT = 'diagonal_up_left'
D_DOWN_RIGHT = 'diagonal_down_right'
D_DOWN_LEFT = 'diagonal_down_left'
heroImageData = [
{
'sprite_initial': 0,
'walk_down': [0,1,2],
'walk_left': [12,13,14],
'walk_right': [24,25,26],
'walk_up': [36,37,38]
},
{
'sprite_initial': 3,
'walk_down': [3,4,5],
'walk_left': [15,16,17],
'walk_right': [27,28,29],
'walk_up': [39,40,41]
},
{
'sprite_initial': 6,
'walk_down': [6,7,8],
'walk_left': [18,19,20],
'walk_right': [30,31,32],
'walk_up': [42,43,44]
},
{
'sprite_initial': 9,
'walk_down': [9,10,11],
'walk_left': [21,22,23],
'walk_right': [33,34,35],
'walk_up': [45,46,47]
}
]