This repository has been archived on 2019-12-09. You can view files and clone it, but cannot push or open issues or pull requests.
pacman2/scenes/lvl0.py

21 lines
471 B
Python
Raw Permalink Normal View History

2019-11-23 10:46:25 +01:00
from engine.scene import Scene
2019-12-09 12:36:42 +01:00
from .game_objects.common import S
from .game_objects.level import Level
from .game_objects.pacman import PacMan
from .game_objects.ghost import Ghost
2019-11-23 10:46:25 +01:00
class Lvl0(Scene):
def load(self):
2019-12-09 12:36:42 +01:00
self.add(Level('lvl0.png'))
self.add(PacMan(S, S))
self.add(Ghost(S*6, S*2))
self.add(Ghost(S*6, S*13))
self.add(Ghost(S*18, S*13))
self.add(Ghost(S*8, S*23))
2019-11-23 10:46:25 +01:00
super().load()
scene = Lvl0()