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

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

src/f/l/Flappy-0.3.7/samples/mouse.py   Flappy(Download)
        spr.x = WIDTH * 0.25
        spr.y = HEIGHT * 0.25
        self.addChild(spr)
 
        gfx = spr.graphics
        self.txt.selectable = False
        self.txt.autoSize = TextFieldAutoSize.LEFT
        spr.addChild(self.txt)
 
        spr.addEventListener(MouseEvent.MOUSE_OVER, self.on_spr_mouse_over)
        self.cursor = Sprite()
        self.cursor.mouseEnabled = False
        self.addChild(self.cursor)
 
        gfx = self.cursor.graphics

src/f/l/Flappy-0.3.7/samples/keyboard.py   Flappy(Download)
        self.ax, self.ay = 0.0, 0.0
 
        self.addChild(self.ball)
 
        self.addEventListener(Event.ADDED_TO_STAGE, self.on_stage)

src/f/l/Flappy-0.3.7/samples/parasprites.py   Flappy(Download)
        background.width = WIDTH
        background.height = HEIGHT
        self.addChild(background)
 
        self.tile_layer = Sprite()
        self.addChild(self.tile_layer)

src/f/l/Flappy-0.3.7/samples/heroku_shaders.py   Flappy(Download)
        self.scene.width = WIDTH
        self.scene.height = HEIGHT        
        self.addChild(self.scene)
 
        self.texture = Texture(RES_X, RES_Y)

src/f/l/Flappy-0.3.7/samples/cube_3d.py   Flappy(Download)
        self.scene.width = WIDTH
        self.scene.height = HEIGHT        
        self.addChild(self.scene)
 
        aspect = WIDTH / HEIGHT

src/f/l/Flappy-0.3.7/samples/text.py   Flappy(Download)
                                first=LINE_LEN * line_n, 
                                    last = LINE_LEN * (line_n + 1))
        self.addChild(txt)
 
 

src/f/l/Flappy-0.3.7/samples/hello_world.py   Flappy(Download)
        txt.text = 'Hello World!!!'
        txt.selectable = False
        self.addChild(txt)
 
if __name__ == '__main__':