Beispiel #1
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("moon.png", 0, 0))
     self.eng.add_entity(
         entity.Text("What the hell?", 36, "m46.TTF", (490, -120),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("phew", 36, "m46.TTF", (520, 420), (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 30, 195, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 240, scale=(150, 80)))
     self.eng.add_entity(entity.Entity("pic2.png", 200, 220,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 290, 200,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 380, 180,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 470, 160,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 560, 140,
                                       scale=(40, 40)))
     self.eng.add_entity(
         entity.Entity("pic2.png", 620, 440, scale=(200, 40)))
     self.eng.add_entity(
         entity.Lift("platform.png", 825, 440, 825, 1225, 0, 0, 3))
     self.eng.add_entity(
         entity.Lift("platform.png", 1325, 35, 0, 0, 35, 435, dy=-3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 1425, 30, scale=(150, 40)))
     self.eng.add_entity(entity.Entity("exit.png", 1540, -14, "exit"))
     self.start()
Beispiel #2
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("moon.png", 0, 0))
     self.eng.add_entity(
         entity.Text("What happend?", 36, "m46.TTF", (0, 265),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Where am I?", 36, "m46.TTF", (180, -36),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Where is everyone?", 36, "m46.TTF", (500, 93),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("It was a day a minute ago...", 36, "m46.TTF",
                     (480, -20), (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 10, 396, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 440, scale=(100, 80)))
     self.eng.add_entity(
         entity.Lift("platform.png", 110, 400, 110, 110, 110, 445, dy=-3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 195, 115, scale=(200, 60)))
     self.eng.add_entity(entity.Entity("pic2.png", 325, 95, scale=(35, 20)))
     self.eng.add_entity(entity.Entity("pic2.png", 360, 75, scale=(35, 40)))
     self.eng.add_entity(
         entity.Lift("platform.png", 401, 75, 400, 740, 75, 75, 3))
     self.eng.add_entity(entity.Entity("pic2.png", 845, 75,
                                       scale=(100, 30)))
     self.eng.add_entity(entity.Entity("exit.png", 910, 31, "exit"))
     self.start()
Beispiel #3
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("far.png", 0, 0))
     self.eng.add_entity(
         entity.Text("Wait", 36, "m46.TTF", (80, 320), (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Far far away", 36, "m46.TTF", (350, 290),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Is it...?", 36, "m46.TTF", (670, 265),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("I need to get there as soon as I can!", 36, "m46.TTF",
                     (900, 265), (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 50, 396, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 440, scale=(300, 80)))
     self.eng.add_entity(
         entity.Entity("pic2.png", 300, 410, scale=(300, 110)))
     self.eng.add_entity(
         entity.Entity("pic2.png", 600, 380, scale=(300, 140)))
     self.eng.add_entity(
         entity.Entity("pic2.png", 900, 360, scale=(520, 160)))
     self.eng.add_entity(
         entity.Lift("platform.png", 1425, 360, 1420, 1570, 0, 0, -3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 1655, 360, scale=(150, 160)))
     self.eng.add_entity(entity.Entity("exit.png", 1770, 316, "exit"))
     self.start()
Beispiel #4
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("sun.png", 0, 0))
     self.eng.add_entity(
         entity.Text("I will never find her again", 36, "m46.TTF",
                     (10, 200), (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Why can't I be happy for a while? :(", 36, "m46.TTF",
                     (275, -150), (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 10, 396, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 440, scale=(150, 80)))
     self.eng.add_entity(
         entity.Lift("platform.png", 155, 360, 110, 110, 110, 445, dy=-3))
     self.eng.add_entity(entity.Entity("pic2.png", 240, 115,
                                       scale=(50, 60)))
     self.eng.add_entity(
         entity.Lift("platform.png", 300, 110, 110, 110, -40, 110, dy=-3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 390, -35, scale=(150, 60)))
     self.eng.add_entity(entity.Entity("exit.png", 505, -79, "exit"))
     self.start()
Beispiel #5
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("moon.png", 0, 0))
     self.eng.add_entity(
         entity.Text("Hello?", 36, "m46.TTF", (50, 320), (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Anybody?...", 36, "m46.TTF", (480, -40),
                     (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 10, 396, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 440, scale=(150, 80)))
     self.eng.add_entity(
         entity.Lift("platform.png", 480, 440, 155, 480, 0, 0, -3))
     self.eng.add_entity(
         entity.Lift("platform.png", 570, 440, 0, 0, 115, 440, dy=-3))
     self.eng.add_entity(
         entity.Lift("platform.png", 1000, 120, 675, 1000, 0, 0, -3))
     self.eng.add_entity(
         entity.Lift("platform.png", 1105, 120, 1105, 1430, 0, 0, 3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 1530, 120, scale=(150, 40)))
     self.eng.add_entity(entity.Entity("exit.png", 1647, 76, "exit"))
     self.start()
Beispiel #6
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("sun.png", 0, 0))
     self.eng.add_entity(
         entity.Text("OMG IT'S MOVING!", 42, "m46.TTF", (160, 265),
                     (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 10, 396, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 440, scale=(100, 80)))
     self.eng.add_entity(
         entity.Lift("platform.png", 270, 440, 110, 455, 440, 440, -3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 551, 440, scale=(100, 80)))
     self.eng.add_entity(entity.Entity("exit.png", 605, 396, "exit"))
     self.start()
Beispiel #7
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("sun.png", 0, 0))
     self.eng.add_entity(
         entity.Text("Not again.", 36, "m46.TTF", (200, 200),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Wait. It was night minute ago.", 36, "m46.TTF",
                     (450, 200), (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Where's she?", 36, "m46.TTF", (1050, 200),
                     (255, 255, 255)))
     self.eng.add_entity(
         entity.Text("Why this happens to me?", 36, "m46.TTF", (1500, 200),
                     (255, 255, 255)))
     self.eng.add_entity(entity.Entity("hero.png", 10, 396, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 440, scale=(100, 80)))
     self.eng.add_entity(
         entity.Lift("platform.png", 270, 440, 110, 1705, 0, 0, -3))
     self.eng.add_entity(
         entity.Entity("pic2.png", 1800, 440, scale=(100, 80)))
     self.eng.add_entity(entity.Entity("exit.png", 1854, 396, "exit"))
     self.start()
Beispiel #8
0
 def run(self):
     self.initialize()
     self.eng.set_background(entity.Entity("sun.png", 0, 0))
     self.eng.add_entity(entity.Entity("hero.png", 30, 195, "player", 45))
     self.eng.add_entity(entity.Entity("pic2.png", -1, 300, scale=(1, 200)))
     self.eng.add_entity(entity.Entity("pic2.png", 0, 240, scale=(150, 80)))
     self.eng.add_entity(entity.Entity("pic2.png", 200, 260,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 290, 280,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 380, 300,
                                       scale=(40, 40)))
     self.eng.add_entity(
         entity.Lift("platform.png", 430, 300, 430, 600, 0, 0, 3))
     self.eng.add_entity(entity.Entity("pic2.png", 690, 300,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 780, 280,
                                       scale=(40, 40)))
     self.eng.add_entity(entity.Entity("pic2.png", 870, 260,
                                       scale=(40, 40)))
     self.eng.add_entity(
         entity.Entity("pic2.png", 960, 240, scale=(150, 80)))
     self.eng.add_entity(entity.Entity("exit.png", 1079, 195, "exit"))
     self.start()