mirror of
https://github.com/csd4ni3l/ember-keeper.git
synced 2026-01-01 04:23:43 +01:00
Add pause menu, template map, level 2, fix level selection, increase warmth, moving x and y platforms, respawn trees after reset, fix constant restarting lagging the game, add bg color effect after warmth levels decrease
This commit is contained in:
@@ -16,7 +16,7 @@ REPLAY_DELAY = 1 / 20
|
||||
LEFT_RIGHT_DIAGONAL_ID = 6
|
||||
RIGHT_LEFT_DIAGONAL_ID = 7
|
||||
|
||||
AVAILABLE_LEVELS = 1
|
||||
AVAILABLE_LEVELS = 2
|
||||
|
||||
menu_background_color = (30, 30, 47)
|
||||
log_dir = 'logs'
|
||||
|
||||
@@ -21,4 +21,4 @@ player_duck_animation = animation_from([os.path.join(_assets_dir, 'graphics', 'K
|
||||
background_sound = arcade.Sound(os.path.join(_assets_dir, "sound", "background.mp3"))
|
||||
freeze_sound = arcade.Sound(os.path.join(_assets_dir, "sound", "freeze.wav"))
|
||||
|
||||
tilemaps = [arcade.load_tilemap(os.path.join(_assets_dir, "levels", tilemap)) for tilemap in os.listdir(os.path.join(_assets_dir, "levels"))]
|
||||
tilemaps = {int(tilemap.split(".tmx")[0]): arcade.load_tilemap(os.path.join(_assets_dir, "levels", tilemap)) for tilemap in os.listdir(os.path.join(_assets_dir, "levels")) if tilemap.split(".tmx")[0].isnumeric()}
|
||||
Reference in New Issue
Block a user