예제 #1
0
 def __init__(self):
     SceneBase.__init__(self)
     self.continuebutton = Button("Continue", (900, 500),
                                  self.Continue,
                                  size=(160, 60),
                                  font_size=20,
                                  bg=(109, 177, 255))
예제 #2
0
    def __init__(self):
        SceneBase.__init__(self)

        self.economybutton = Button("+5 MoonCrystals Economy", (300, 200),
                                    self.Economy,
                                    size=(240, 60),
                                    font_size=20,
                                    bg=(109, 177, 255))
        self.defensebutton = Button("+500 Mothership HP", (300, 300),
                                    self.Defense,
                                    size=(240, 60),
                                    font_size=20,
                                    bg=(109, 177, 255))

        self.continuebutton = Button("Make the Game Great Again", (900, 500),
                                     self.Continue,
                                     size=(240, 60),
                                     font_size=20,
                                     bg=(109, 177, 255))
        self.damagebutton = Button("Unit Damage +10", (300, 400),
                                   self.Damage,
                                   size=(240, 60),
                                   font_size=20,
                                   bg=(109, 177, 255))

        self.healthbutton = Button("Unit Health +20", (300, 500),
                                   self.Health,
                                   size=(240, 60),
                                   font_size=20,
                                   bg=(109, 177, 255))

        b = Boombox()

        if not b.MusicStatus():
            b.PlayMusic("menumusic")
예제 #3
0
 def __init__(self):
     SceneBase.__init__(self)
     self.returnbutton = Button("Return to Menu", (900, 425),
                                self.GoBack,
                                size=(300, 60),
                                font_size=20,
                                bg=(109, 177, 255))
예제 #4
0
    def __init__(self):
        SceneBase.__init__(self)

        self.continuebutton = Button("Continue", (900,500), self.Continue, size=(120,60), font_size=20, bg=(109,177,255))

        b = Boombox()
        b.PlayMusic("levelvictorymusic")
예제 #5
0
    def __init__(self):
        SceneBase.__init__(self)

        self.hardcoremode = ToggleBox((600, 225),
                                      self.HardcoreMode,
                                      size=(30, 30),
                                      bg=(0, 170, 28))
        self.hardcoretext = Text(225,
                                 500,
                                 "Hardcore Mode",
                                 bold=True,
                                 font="Arial",
                                 fontSize=18)

        self.backbutton = Button("Back", (50, 625),
                                 self.GoBack,
                                 size=(60, 30),
                                 bg=(109, 177, 255))

        self.text1 = Text(100,
                          600,
                          "Options Menu",
                          bold=True,
                          color=(255, 255, 255),
                          font="Arial",
                          fontSize=35)
예제 #6
0
    def __init__(self):
        SceneBase.__init__(self)
        self.startbutton = Button("New Game", (510, 325),
                                  self.StartGame,
                                  size=(120, 60),
                                  font_size=20,
                                  bg=(109, 177, 255))
        self.Instructionsbutton = Button("Instructions", (690, 325),
                                         self.Instructions,
                                         size=(120, 60),
                                         font_size=20,
                                         bg=(109, 177, 255))
        self.Lorebutton = Button("Read Lore", (510, 425),
                                 self.Lore,
                                 size=(120, 60),
                                 font_size=20,
                                 bg=(109, 177, 255))
        self.exitbutton = Button("Exit Game", (690, 425),
                                 self.ExitGame,
                                 size=(120, 60),
                                 font_size=20,
                                 bg=(109, 177, 255))
        self.optionsbutton = Button("Options", (1150, 625),
                                    self.Options,
                                    size=(90, 40),
                                    bg=(109, 177, 255))
        self.creditsbutton = Button("Credits", (600, 525),
                                    self.Credits,
                                    size=(120, 60),
                                    font_size=20,
                                    bg=(109, 177, 255))

        self.text = Text(
            228,
            600,
            "Mongolian Space Stick Wars XD Special Day One Edition",
            bold=True,
            color=(109, 177, 255),
            fontSize=45)

        self.text1 = Text(
            224,
            600,
            "Mongolian Space Stick Wars XD Special Day One Edition",
            bold=True,
            color=(255, 255, 255),
            font="Arial",
            fontSize=45)

        # Start music
        b = Boombox()

        b.PlayMusic("menumusic")
예제 #7
0
 def __init__(self):
     SceneBase.__init__(self)
     self.text = Text(228,
                      600,
                      "Special Thanks: Connor Daniel",
                      bold=True,
                      color=(109, 177, 255),
                      fontSize=45)
     self.returnbutton = Button("Return to Menu", (900, 425),
                                self.GoBack,
                                size=(300, 60),
                                font_size=20,
                                bg=(109, 177, 255))
예제 #8
0
    def __init__(self):
        SceneBase.__init__(self)
        self.text = Text(228,
                         600,
                         "Level Select",
                         bold=True,
                         color=(109, 177, 255),
                         fontSize=45)
        self.marsbutton = Button("2. Mars", (690, 325),
                                 self.Mars,
                                 size=(120, 60),
                                 font_size=20,
                                 bg=(109, 177, 255))
        self.moonbutton = Button("1. Moon", (510, 325),
                                 self.Moon,
                                 size=(120, 60),
                                 font_size=20,
                                 bg=(109, 177, 255))
        self.saturnbutton = Button("3. Saturn", (510, 425),
                                   self.Saturn,
                                   size=(120, 60),
                                   font_size=20,
                                   bg=(109, 177, 255))
        self.mercurybutton = Button("4. Mercury", (690, 425),
                                    self.Mercury,
                                    size=(120, 60),
                                    font_size=20,
                                    bg=(109, 177, 255))

        self.uranusbutton = Button("5. Uranus", (510, 525),
                                   self.Uranus,
                                   size=(120, 60),
                                   font_size=20,
                                   bg=(109, 177, 255))
        self.neptunebutton = Button("6. Neptune", (690, 525),
                                    self.Neptune,
                                    size=(120, 60),
                                    font_size=20,
                                    bg=(109, 177, 255))

        self.continuebutton = Button("Back", (50, 625),
                                     self.Continue,
                                     size=(60, 30),
                                     bg=(109, 177, 255))
        # Start music
        b = Boombox()

        if not b.MusicStatus():
            b.PlayMusic("menumusic")
    def __init__(self):
        SceneBase.__init__(self)
        self.continuebutton = Button("Continue", (900, 525),
                                     self.Continue,
                                     size=(120, 60),
                                     font_size=20,
                                     bg=(109, 177, 255))
        self.backbutton = Button("Back", (900, 605),
                                 self.GoBack,
                                 size=(120, 60),
                                 font_size=20,
                                 bg=(109, 177, 255))

        b = Boombox()
        b.PlayMusic("loremusic")
예제 #10
0
    def __init__(self):
        SceneBase.__init__(self)
        self.backbutton = Button("Back", (900, 605),
                                 self.GoBack,
                                 size=(120, 60),
                                 font_size=20,
                                 bg=(109, 177, 255))
        self.returnbutton = Button("Menu", (900, 525),
                                   self.Return,
                                   size=(120, 60),
                                   font_size=20,
                                   bg=(109, 177, 255))

        b = Boombox()
        if not b.MusicStatus():
            b.PlayMusic("loremusic")
예제 #11
0
	def __init__(self, game, messageLines, action = None):
		SceneBase.__init__(self, game)
		self.messageLines = messageLines
		self.action = action
예제 #12
0
	def __init__(self, game):
		SceneBase.__init__(self, game)