A 2D Graphics Engine for Mobile Game
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
cdj3579 opened this issue 10 years ago · comments
类似Unity和cocos2dx中,对一个节点做变换,子节点也会跟着变,这样做UI和tween动画比较方便。 资源文件中animation是写死的,如果想在程序中动态生成应该怎么做呢,能否提供一些实现思路,谢谢。
用sprite的matrix属性实现了这个功能 :)
sprite
matrix