Ejemplo n.º 1
0
 def startSky(self):
     self.sky.setTransparency(TransparencyAttrib.MDual, 1)
     self.notify.debug('The sky is: %s' % self.sky)
     if not self.sky.getTag('sky') == 'Regular':
         self.endSpookySky()
     
     SkyUtil.startCloudSky(self)
Ejemplo n.º 2
0
    def startSky(self):

        # we have the wrong sky; load in the regular sky
        if not (self.sky.getTag("sky") == "Regular"):
            self.endSpookySky()

        SkyUtil.startCloudSky(self)
Ejemplo n.º 3
0
 def startSky(self):
     self.sky.setTransparency(TransparencyAttrib.MDual, 1)
     self.notify.debug('The sky is: %s' % self.sky)
     if not self.sky.getTag('sky') == 'Regular':
         self.endSpookySky()
     
     SkyUtil.startCloudSky(self)
Ejemplo n.º 4
0
 def startSky(self):
     if not self.sky.getTag('sky') == 'Regular':
         self.endSpookySky()
     
     SkyUtil.startCloudSky(self)
     if base.cloudPlatformsEnabled:
         self.loader.startCloudPlatforms()
Ejemplo n.º 5
0
 def startSky(self):
     if not self.sky.getTag('sky') == 'Regular':
         self.startSpookySky()
         return
     SkyUtil.startCloudSky(self)
     if base.cloudPlatformsEnabled:
         self.loader.startCloudPlatforms()
Ejemplo n.º 6
0
    def startSky(self):

        # we have the wrong sky; load in the regular sky
        if not (self.sky.getTag("sky") == "Regular"):
            self.endSpookySky()

        SkyUtil.startCloudSky(self)
        if base.cloudPlatformsEnabled:
            self.loader.startCloudPlatforms()
Ejemplo n.º 7
0
    def startSky(self):
        #fade the sky in
        self.sky.setTransparency(TransparencyAttrib.MDual, 1)

        self.notify.debug("The sky is: %s" % self.sky)

        # we have the wrong sky; load in the regular sky
        if not (self.sky.getTag("sky") == "Regular"):
            self.endSpookySky()

        SkyUtil.startCloudSky(self)
Ejemplo n.º 8
0
 def startSky(self):
     SkyUtil.startCloudSky(self)
Ejemplo n.º 9
0
 def startSky(self):
     if not self.sky.getTag('sky') == 'Regular':
         self.endSpookySky()
     SkyUtil.startCloudSky(self)
Ejemplo n.º 10
0
 def startSky(self):
     if not self.sky.getTag('sky') == 'Regular':
         self.endSpookySky()
     SkyUtil.startCloudSky(self)
Ejemplo n.º 11
0
 def startSky(self):
     SkyUtil.startCloudSky(self)
Ejemplo n.º 12
0
    def startSky(self):
        if not self.sky.getTag("sky") == "Regular":
            self.endSpookySky()

        SkyUtil.startCloudSky(self)
Ejemplo n.º 13
0
 def setMorning(self):
     base.cr.playGame.hood.sky.setTransparency(1)
     SkyUtil.startCloudSky(self)
     self.sky.setTransparency(TransparencyAttrib.MDual, 1)
     self.sky.setScale(3)
Ejemplo n.º 14
0
 def startSpookySky(self):
     SkyUtil.startCloudSky(self)
Ejemplo n.º 15
0
 def startSky(self):
     self.notify.debug('The sky is: %s' % self.sky)
     if self.sky:
         if not self.sky.getTag('sky') == 'Regular':
             self.endSpookySky()
     SkyUtil.startCloudSky(self)