示例#1
0
    def __init__(self):
        ScoreScreen.__init__(self)
        mixer.init()
        self.title = GameText("Controls", 94)
        self.title.centerx = SCREEN.width / 2
        self.title.y = 48
        self.title.color = COLOR.half_black
        self.title.create()

        self.bg = ASSET.controls
        self.state = STATE.controls

        self.select_sound = mixer.Sound(os.path.join("assets", "sfx", "sfx_twoTone.ogg"))
        self.select_sound.set_volume(0.5)