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

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

src/f/l/Flappy-0.3.7/samples/parasprites.py   Flappy(Download)
    def __init__(self):
        super(ParaspritesExample, self).__init__()
 
        background = Bitmap(BitmapData.load('./resources/ponyville.jpg'))
        background.width = WIDTH
        self.addChild(self.tile_layer)
 
        parasprites_bd = BitmapData.load('./resources/parasprite_sheet.png')
        self.parasprites_ts = Tilesheet(parasprites_bd)