Renamed tutorial to grasslands
parent
8651b44cf0
commit
b1a9792ec7
|
@ -10,7 +10,7 @@
|
|||
]
|
||||
},
|
||||
"themes": [
|
||||
"tutorial",
|
||||
"grasslands",
|
||||
"cave",
|
||||
"castle"
|
||||
]
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "playground",
|
||||
"theme": "tutorial",
|
||||
"theme": "grasslands",
|
||||
"abilities": [
|
||||
],
|
||||
"file": "playground.csv"
|
||||
},
|
||||
{
|
||||
"name": "tutorial",
|
||||
"theme": "tutorial",
|
||||
"name": "grasslands",
|
||||
"theme": "grasslands",
|
||||
"abilities": [
|
||||
],
|
||||
"file": "0-tutorial.csv"
|
||||
|
|
|
@ -20,7 +20,7 @@ from ui_elements.ClickEvent import ClickEvent
|
|||
from ui_elements.KeyManager import KeyManager
|
||||
|
||||
BACKGROUND_IMAGES_UNSCALED = {
|
||||
'tutorial': pygame.image.load('data/sprites/tutorial_bg.png'),
|
||||
'grasslands': pygame.image.load('data/sprites/tutorial_bg.png'),
|
||||
'castle': pygame.image.load('data/sprites/castle_bg.png'),
|
||||
'cave': pygame.image.load('data/sprites/cave_bg.png'),
|
||||
'menu': pygame.image.load('data/sprites/intro_bg.png'),
|
||||
|
@ -29,7 +29,7 @@ BACKGROUND_IMAGES_UNSCALED = {
|
|||
}
|
||||
|
||||
BACKGROUND_IMAGES_SCALED = {
|
||||
'tutorial': pygame.transform.scale(BACKGROUND_IMAGES_UNSCALED['tutorial'], (1, 1)),
|
||||
'grasslands': pygame.transform.scale(BACKGROUND_IMAGES_UNSCALED['grasslands'], (1, 1)),
|
||||
'castle': pygame.transform.scale(BACKGROUND_IMAGES_UNSCALED['castle'], (1, 1)),
|
||||
'cave': pygame.transform.scale(BACKGROUND_IMAGES_UNSCALED['cave'], (1, 1)),
|
||||
'menu': pygame.transform.scale(BACKGROUND_IMAGES_UNSCALED['menu'], (1, 1)),
|
||||
|
@ -102,7 +102,7 @@ class MainLoop:
|
|||
self.level = level
|
||||
self.set_game_state(self.GAME_STATE_LEVEL)
|
||||
|
||||
def select_level_selection(self, theme: str = 'tutorial'):
|
||||
def select_level_selection(self, theme: str = 'grasslands'):
|
||||
self.set_game_state(self.GAME_STATE_LEVEL_SELECTION)
|
||||
if self.screen_manager is not None and isinstance(self.screen_manager, LevelSelectionScreenManager):
|
||||
self.screen_manager.select_theme(theme)
|
||||
|
|
Loading…
Reference in New Issue