Example #1
0
    def __init__(self, parent):
        super().__init__(
            parent,
            1.5,
            ImageCache['RockyBoss'],
            (-25, -33),
        )

        self.aux.append(SLib.AuxiliaryRectOutline(parent, 71, 77, -166, -50))
        self.aux.append(SLib.AuxiliaryRectOutline(parent, 71, 77, -334, -2))
    def __init__(self, parent):
        super().__init__(parent)
        self.spritebox.shown = False

        self.doorName = 'Door'
        self.doorDimensions = (0, 0, 32, 48)
        self.entranceOffset = (0, 48)

        self.aux.append(SLib.AuxiliaryRectOutline(parent, 24, 24))
        self.aux[0].setIsBehindSprite(False)
Example #3
0
 def __init__(self, parent):
     super().__init__(
         parent,
         1.5,
         offset = (-16, -9)
     )
     image = ImageCache['FloatingBarrel']
     self.width = (image.width() / self.scale) + 1
     self.height = (image.height() / self.scale) + 2
     
     self.aux.append(SLib.AuxiliaryImage(parent, image.width(), image.height()))
     self.aux.append(SLib.AuxiliaryRectOutline(parent, 72, 2, 0, 36))
Example #4
0
 def __init__(self, parent):
     super().__init__(parent, 1.5)
     self.aux2 = [SLib.AuxiliaryRectOutline(parent, 0, 0)]
     self.aux = self.aux2
Example #5
0
 def __init__(self, parent):
     super().__init__(parent, 1.5)
     self.alpha = 0.5
     self.aux.append(SLib.AuxiliaryRectOutline(parent, 0, 0))