Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/y/pyzza-0.2.15/examples/arkanoid/main.py   pyzza(Download)
        m.createGradientBox(self.racket_width, field.BRICKHEIGHT,
            0, -self.racket_width/4, -field.BRICKHEIGHT/4)
        self.graphics.beginGradientFill(GradientType.RADIAL,
            [0xFFFFFF, 0x808080], #colors
            [1.0, 1.0], #alphas
        m.createGradientBox(self.racket_width*3, field.BRICKHEIGHT*3,
            0, -self.racket_width/4, -field.BRICKHEIGHT/4)
        self.graphics.beginGradientFill(GradientType.RADIAL,
            [0xFFFFFF, 0x808080], #colors
            [1.0, 1.0], #alphas
        fullh = field.BRICKHEIGHT
        m.createGradientBox(fullw, fullh, 0, -fullw/4, -fullh/4)
        self.graphics.beginGradientFill(GradientType.RADIAL,
            [0xFFFFFF, brickdef.color], #colors
            [1.0, 1.0], #alphas
        self.graphics.endFill()
        m.createGradientBox(fullw*3, fullh*3, 0, -fullw/4, -fullh/4)
        self.graphics.beginGradientFill(GradientType.RADIAL,
            [0xFFFFFF, brickdef.color], #colors
            [1.0, 1.0], #alphas