-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame_data.py
49 lines (46 loc) · 1.77 KB
/
game_data.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
level_0 = {
'terrain': './level/0/level_0._terrain.csv',
'coins': './level/0/level_0._coins.csv',
'fg palms': './level/0/level_0._fg_trees.csv',
'bg palms': './level/0/level_0._bg_trees.csv',
'crates': './level/0/level_0._crate.csv',
'enemies': './level/0/level_0._enemy.csv',
'constraints': './level/0/level_0._constraints.csv',
'player': './level/0/level_0._player.csv',
'grass': './level/0/level_0._grass.csv',
'node_pos': (110, 400),
'unlock': 1,
'node_graphics': './assets/level_selection/0'}
level_1 = {
'terrain': './level/1/level_1_terrain.csv',
'coins': './level/1/level_1_coins.csv',
'fg palms': './level/1/level_1_fg_trees.csv',
'bg palms': './level/1/level_1_bg_trees.csv',
'enemies': './level/1/level_1_enemy.csv',
'constraints': './level/1/level_1_enemy_limits.csv',
'grass': './level/1/level_1_grass.csv',
'crates': './level/1/level_1_crate.csv',
'player': './level/1/level_1_player.csv',
'wind_turbines': './level/1/level_1_wind_turbines.csv',
'node_pos': (600, 560),
'node_graphics': './assets/level_selection/1',
'unlock': 2}
level_2 = {
'terrain': './level/2/level_2_terrain_collide.csv',
'coins': './level/2/level_2_coins.csv',
'fg palms': './level/2/level_2_fgtrees.csv',
'bg palms': './level/2/level_2_bgtrees.csv',
'crates': './level/2/level_2_crates.csv',
'enemies': './level/2/level_2_enemies.csv',
'constraints': './level/2/level_2_constraints.csv',
'player': './level/2/level_2_player.csv',
'grass': './level/2/level_2_grass.csv',
'terrain_deco': './level/2/level_2_terrain_deco.csv',
'node_pos': (1000, 400),
'node_graphics': './assets/level_selection/2',
'unlock': 3}
levels = {
0: level_0,
1: level_1,
2: level_2
}