本文整理匯總了Python中RepairMincroGame.RepairMincroGame._initAudio方法的典型用法代碼示例。如果您正苦於以下問題:Python RepairMincroGame._initAudio方法的具體用法?Python RepairMincroGame._initAudio怎麽用?Python RepairMincroGame._initAudio使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類RepairMincroGame.RepairMincroGame
的用法示例。
在下文中一共展示了RepairMincroGame._initAudio方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: _initAudio
# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
def _initAudio(self):
RepairMincroGame._initAudio(self)
if not self.pumpDownSounds:
RepairPumpingGame.pumpDownSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_DOWN01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_DOWN02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_DOWN03))
RepairPumpingGame.pumpUpSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_UP01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_UP02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_UP03))
RepairPumpingGame.pumpGoodSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD04), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD05), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD06))
RepairPumpingGame.pumpBadSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_BAD),)
示例2: _initAudio
# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
def _initAudio(self):
RepairMincroGame._initAudio(self)
if not self.hammerComplete:
RepairHammeringGame.hammerComplete = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_COMPLETE)
RepairHammeringGame.weakHammerSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_WEAKHIT01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_WEAKHIT02))
RepairHammeringGame.normalHammerSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_HIT01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_HIT02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_HIT03))
RepairHammeringGame.perfectHammerSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_PERFECT)
RepairHammeringGame.failSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_FAIL)
示例3: _initAudio
# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
def _initAudio(self):
RepairMincroGame._initAudio(self)
if not self.scrubSounds:
RepairCareeningGame.scrubSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB04), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB05), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB06), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB07), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB08))
for sound in RepairCareeningGame.scrubSounds:
sound.setVolume(0.75)
RepairCareeningGame.powerFullSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_CHRGCOMP)
RepairCareeningGame.powerFullSound.setVolume(0.75)
RepairCareeningGame.powerEmptySound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_CHRGEMPTY)
RepairCareeningGame.powerEmptySound.setVolume(0.75)
示例4: _initAudio
# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
def _initAudio(self):
if not self.moveSound:
RepairBracingGame.moveSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_BRACE_PIECEMOVE)
RepairBracingGame.lineCompleteSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_BRACE_LINECOMPLETE)
RepairMincroGame._initAudio(self)
示例5: _initAudio
# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
def _initAudio(self):
RepairMincroGame._initAudio(self)
if not self.sawSounds:
RepairSawingGame.sawSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT04))
RepairSawingGame.boardComplete = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_COMPLETE)
RepairSawingGame.boardDestroyed = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_FAIL)
示例6: _initAudio
# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
def _initAudio(self):
RepairMincroGame._initAudio(self)
self.pitchSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_PLUG01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_PLUG02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_PLUG03))
self.leakSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK04))