add new knight sprite path, change folder "character" to "characters"

This commit is contained in:
Xevion
2020-04-20 02:53:29 -05:00
parent f457ad0643
commit 1e8f5b507c
39 changed files with 6 additions and 1 deletions

View File

@@ -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")