-
Notifications
You must be signed in to change notification settings - Fork 1
/
levelconfigs.py
28 lines (26 loc) · 952 Bytes
/
levelconfigs.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
import boss
import pygame
"""
This list of dicts represents the static resources for
the various levels.
"""
# todo: add enemy behavior into this config
# todo: add boss health to this config
level_configs = [
{
"background": pygame.image.load("assets/magykal_level/map.png"),
"bg_music_fname": "assets/JaricoIsland.ogg",
"boss_image": pygame.image.load("assets/magykal_level/boss.png"),
"enemy_image": pygame.image.load("assets/magykal_level/saucer.png"),
"boss_class": boss.MagykalBossBehave,
"start_text": "LEVEL 1"
},
{
"background": pygame.image.load("assets/simple_level/map.png"),
"bg_music_fname": "assets/JaricoLandscape.ogg",
"boss_image": pygame.image.load("assets/simple_level/invader.png"),
"enemy_image": pygame.image.load("assets/simple_level/saucer.png"),
"boss_class": boss.InvaderBossBehave,
"start_text": "LEVEL 2"
}
]