Example #1
0
 def start_game(self):
     music.stop()
     pyglet.clock.unschedule(self.on_draw)
     self.mode = PLAYING
     save.init()
     self.gluballplayer = gluballplayer.GluballPlayer(self)
     self.gluballplayer.init_game(level.entry_point)
Example #2
0
 def load_game(self):
     music.stop()
     pyglet.clock.unschedule(self.on_draw)
     self.mode = PLAYING
     self.gluballplayer = gluballplayer.GluballPlayer(self)
     self.gluballplayer.init_from_save(save.load_from(gui.load_path))