Spine-EaselJS:使用 EaselJS 渲染 Spine 动画

时间:2021-06-09 19:50:00
【文件属性】:
文件名称:Spine-EaselJS:使用 EaselJS 渲染 Spine 动画
文件大小:1.3MB
文件格式:ZIP
更新时间:2021-06-09 19:50:00
JavaScript Spine-EaselJS 使用 EaselJS 渲染 Spine 动画 Spine-EaselJS 脊柱动画示例 var stage = new createjs . Stage ( 'myCanvas' ) ; var dragon = new createjs . Spine ( "res/sceletons/dragon/dragon.atlas" , "res/sceletons/dragon/dragon.json" ) ; dragon . setTransform ( 300 , 220 , 0.5 , 0.5 ) ; dragon . onComplete = function ( ) { console . log ( dragon ) ; dragon . state . setAnimationByName ( 0 , 'flying' , true )
【文件预览】:
Spine-EaselJS-master
----package.json(186B)
----src()
--------main.coffee(2KB)
--------easelSpine.coffee(5KB)
----gulpfile.js(504B)
----public()
--------res()
--------js()
--------vendor()
--------index.html(882B)
----README.md(598B)

网友评论