mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-09 04:05:20 -06:00
add new knight sprite path, change folder "character" to "characters"
This commit is contained in:
@@ -33,7 +33,7 @@ class Config(object):
|
||||
# Movement speed of player, in pixels per frame
|
||||
PLAYER_MOVEMENT_SPEED = 7
|
||||
|
||||
# How many pixels to keep as a minimum margin between the character and the edge of the screen.
|
||||
# How many pixels to keep as a minimum margin between the characters and the edge of the screen.
|
||||
LEFT_VIEWPORT_MARGIN = 250
|
||||
RIGHT_VIEWPORT_MARGIN = 250
|
||||
BOTTOM_VIEWPORT_MARGIN = 50
|
||||
@@ -58,8 +58,13 @@ class SpritePaths(object):
|
||||
Simple class for holding sprite paths.
|
||||
"""
|
||||
|
||||
__CHARACTERS = os.path.join(IMAGES, "characters")
|
||||
__MONSTERS = os.path.join(IMAGES, "monsters")
|
||||
|
||||
# Single frame sprites
|
||||
SKELETON = os.path.join(__MONSTERS, "skeleton.png")
|
||||
GHOST = os.path.join(__MONSTERS, "ghost", "ghost1.png")
|
||||
FROG = os.path.join(__MONSTERS, "frog", "frog1.png")
|
||||
|
||||
# Animated sprites
|
||||
KNIGHT = os.path.join(__CHARACTERS, "knight")
|
||||
|
||||
Reference in New Issue
Block a user