Added Sprites
After Width: | Height: | Size: 538 B |
After Width: | Height: | Size: 803 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 754 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 574 B |
After Width: | Height: | Size: 641 B |
|
@ -32,7 +32,7 @@ class LoadedLevel:
|
|||
if tile_element in LevelElementSymbols.BLOCKS_LIST:
|
||||
spritesheet = self.spritesheet_manager.get_sheet(level.theme + tile_element['sprite_id'])
|
||||
sprite = BlockElement(spritesheet)
|
||||
sprite.set_animation_state(str(random.randint(0, 3)))
|
||||
sprite.set_animation_state(str(random.randint(1, 3)))
|
||||
sprite.position_scale.position = position
|
||||
|
||||
elif tile_element == LevelElementSymbols.GOAL_DOOR:
|
||||
|
|