mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-08 04:05:14 -06:00
indentation and positioning correction in config for constants
This commit is contained in:
@@ -29,6 +29,7 @@ class Config(object):
|
|||||||
# Constants used to scale our sprites from their original size
|
# Constants used to scale our sprites from their original size
|
||||||
CHARACTER_SCALING = 1
|
CHARACTER_SCALING = 1
|
||||||
TILE_SCALING = 2
|
TILE_SCALING = 2
|
||||||
|
BULLET_SCALING = 0.8
|
||||||
|
|
||||||
# The number of pixels across the level
|
# The number of pixels across the level
|
||||||
LEVEL_SIZE = 10 * TILE_SCALING * TILE_WIDTH
|
LEVEL_SIZE = 10 * TILE_SCALING * TILE_WIDTH
|
||||||
@@ -44,7 +45,7 @@ class Config(object):
|
|||||||
|
|
||||||
#Bullet constants
|
#Bullet constants
|
||||||
BULLET_SPEED = 5
|
BULLET_SPEED = 5
|
||||||
SPRITE_SCALING_BULLET = 0.8
|
|
||||||
|
|
||||||
|
|
||||||
class Enums(Enum):
|
class Enums(Enum):
|
||||||
|
|||||||
Reference in New Issue
Block a user