def __init__(self):

        Base.__init__(self, 40, 40, 50, 42, "imagenes/corazon.png")

        Base.sprites.add(self)

        self.rect.x = self.proxima_posicion()

        Base.corazon.add(self)
    def __init__(self, x, y):

        Base.__init__(self, x, y, 65, 65, "imagenes/goomba/1.png")

        Base.sprites.add(self)
        Base.goombas.add(self)

        self.direccion = False
        self.frame = 0
        self.muerto = False
        self.frame_muerto = None
    def __init__(self, x, y):

        Base.__init__(self, x, y, 50, 50, "imagenes/hongo.png")
        Base.sprites.add(self)
        Base.hongos.add(self)

        self.estatico = False
        self.direccion = False
        self.frame = 0
        self.agarrado = False
        self.bajando = False
Пример #4
0
    def __init__(self):

        Base.__init__(self, 40, 100, 40, 40, "imagenes/monedas/inicial.png")

        Base.sprites_principales.add(self)
        self.cantidad = None
Пример #5
0
    def __init__(self, x, y):
        Base.__init__(self, x, y, 72, 71, "imagenes/piso_bloque.png")

        Base.sprites.add(self)
        Base.piso.add(self)
    def __init__(self, x):

        Base.__init__(self, x, 195, 800, 500, "imagenes/colegio.png")

        Base.colegio = self
        Base.sprites.add(self)
Пример #7
0
    def __init__(self, x, y):
        Base.__init__(self, x, y, 1000, 500, "imagenes/texto.png")

        Base.sprites_principales.add(self)
        Base.texto = self
    def __init__(self, x, y):

        Base.__init__(self, x, y, 55, 42, "imagenes/+1.png")

        Base.sprites_principales.add(self)
        self.frame = None