mirror of
https://github.com/csd4ni3l/ember-keeper.git
synced 2026-01-01 04:23:43 +01:00
add level selector and support for multiple levels, fix high score not updating
This commit is contained in:
@@ -13,6 +13,8 @@ GRID_PIXEL_SIZE = 70
|
||||
LEFT_RIGHT_DIAGONAL_ID = 6
|
||||
RIGHT_LEFT_DIAGONAL_ID = 7
|
||||
|
||||
AVAILABLE_LEVELS = 1
|
||||
|
||||
menu_background_color = (30, 30, 47)
|
||||
log_dir = 'logs'
|
||||
discord_presence_id = 1443616900096590027
|
||||
|
||||
@@ -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"))
|
||||
|
||||
tile_map = arcade.load_tilemap(os.path.join(_assets_dir, "map.tmx"))
|
||||
tilemaps = [arcade.load_tilemap(os.path.join(_assets_dir, "levels", tilemap)) for tilemap in os.listdir(os.path.join(_assets_dir, "levels"))]
|
||||
Reference in New Issue
Block a user