Did I find the right examples for you? yes no

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

src/p/y/python-tactics-HEAD/scene.py   python-tactics(Download)
from pyglet.text import Label
 
from util import load_sprite_asset, load_sprite_animation,\
                 faces_from_images, find_path
from sprite import PixelAwareSprite, MovingSprite
    def _load_characters(self):
        # Just load the knight for now
        knight_north = load_sprite_asset("knight/look_north")
        knight_west = load_sprite_asset("knight/look_west")
        knight_walk_west  = load_sprite_animation("knight", "walk_west", 8, 0.15)
        knight_walk_north = load_sprite_animation("knight", "walk_north", 8, 0.15)