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

from engine.scene import Scene
from .game_objects.common import S
from .game_objects.level import Level
from .game_objects.pacman import PacMan
from .game_objects.ghost import Ghost
class Lvl0(Scene):
def load(self):
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))
super().load()
scene = Lvl0()