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

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

src/c/o/cocos2d-0.6.0/tools/skeleton/anim_player.py   cocos2d(Download)
import ui
import animator
from skeleton import Bone, Skeleton, Skin, Animation, Animate
 
class Player(cocos.layer.Layer):
                # you just have to say which animation you want to use
                # and what kind of translation
                self.skin.do( Animate( anim , recenter_x=self.translate ) )