mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2026-01-31 06:22:10 -06:00
fixed last two check misses, added second line before Config class declaration, fixed extra space at end of comment
This commit is contained in:
@@ -9,6 +9,7 @@ BASE_PATH = os.path.dirname(os.path.abspath(__file__))
|
|||||||
RESOURCES = os.path.join(BASE_PATH, "resources")
|
RESOURCES = os.path.join(BASE_PATH, "resources")
|
||||||
IMAGES = os.path.join(RESOURCES, "images")
|
IMAGES = os.path.join(RESOURCES, "images")
|
||||||
|
|
||||||
|
|
||||||
class Config(object):
|
class Config(object):
|
||||||
"""
|
"""
|
||||||
A simple class dedicated to loading, storing and organizing constants.
|
A simple class dedicated to loading, storing and organizing constants.
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class Game(arcade.Window):
|
|||||||
self.floor_list = arcade.SpriteList()
|
self.floor_list = arcade.SpriteList()
|
||||||
self.enemy_list = arcade.SpriteList()
|
self.enemy_list = arcade.SpriteList()
|
||||||
|
|
||||||
# Set up the player, specifically placing it at these coordinates.
|
# Set up the player, specifically placing it at these coordinates.
|
||||||
self.player = Player()
|
self.player = Player()
|
||||||
self.player.scale = 1
|
self.player.scale = 1
|
||||||
self.player.center_x = Config.SCREEN_WIDTH / 2
|
self.player.center_x = Config.SCREEN_WIDTH / 2
|
||||||
|
|||||||
Reference in New Issue
Block a user