예제 #1
0
 def playComeAboutEffect(self):
     if base.options.getSpecialEffectsSetting() >= base.options.SpecialEffectsLow:
         if not self.windTunnelEffect2:
             self.windTunnelEffect2 = Wind.getEffect()
         if self.windTunnelEffect2:
             self.windTunnelEffect2.reparentTo(self.center)
             self.windTunnelEffect2.fadeColor = Vec4(0.8, 0.8, 0.8, 0.4)
             self.windTunnelEffect2.setScale(self.dimensions / 10.0)
             self.windTunnelEffect2.fadeTime = 2.0
             self.windTunnelEffect2.setH(0)
             self.windTunnelEffect2.play()
예제 #2
0
 def playFullSailEffect(self):
     if base.options.getSpecialEffectsSetting() >= base.options.SpecialEffectsLow:
         if not self.windTunnelEffect1:
             self.windTunnelEffect1 = Wind.getEffect()
         if self.windTunnelEffect1:
             self.windTunnelEffect1.reparentTo(self.center)
             self.windTunnelEffect1.fadeColor = Vec4(0.8, 0.8, 0.8, 0.5)
             self.windTunnelEffect1.setScale(self.dimensions / 6.0)
             self.windTunnelEffect1.fadeTime = 2.0
             self.windTunnelEffect1.setH(180)
             self.windTunnelEffect1.play()
 def playComeAboutEffect(self):
     if base.options.getSpecialEffectsSetting() >= base.options.SpecialEffectsLow:
         if not self.windTunnelEffect2:
             self.windTunnelEffect2 = Wind.getEffect()
         
         if self.windTunnelEffect2:
             self.windTunnelEffect2.reparentTo(self.center)
             self.windTunnelEffect2.fadeColor = Vec4(0.80000000000000004, 0.80000000000000004, 0.80000000000000004, 0.40000000000000002)
             self.windTunnelEffect2.setScale(self.dimensions / 10.0)
             self.windTunnelEffect2.fadeTime = 2.0
             self.windTunnelEffect2.setH(0)
             self.windTunnelEffect2.play()
 def playFullSailEffect(self):
     if base.options.getSpecialEffectsSetting() >= base.options.SpecialEffectsLow:
         if not self.windTunnelEffect1:
             self.windTunnelEffect1 = Wind.getEffect()
         
         if self.windTunnelEffect1:
             self.windTunnelEffect1.reparentTo(self.center)
             self.windTunnelEffect1.fadeColor = Vec4(0.80000000000000004, 0.80000000000000004, 0.80000000000000004, 0.5)
             self.windTunnelEffect1.setScale(self.dimensions / 6.0)
             self.windTunnelEffect1.fadeTime = 2.0
             self.windTunnelEffect1.setH(180)
             self.windTunnelEffect1.play()