• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 9 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0019 秒)

1. 缓动-时间线 [ 100%]

... scaleY:1, alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } function onComplete() { console.log("timeLine complete!!!!"); } function onLabel(label) { console.log("LabelName:" + label); } function keyDown(e...

来源: Laya_示例 发布时间: 20241001

2. 骨骼动画-多纹理 [ 96%]

...es/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...

来源: Laya_示例 发布时间: 20241001

3. 骨骼动画-藤蔓 [ 95%]

.../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature ...

来源: Laya_示例 发布时间: 20241001

4. 骨骼动画-橡胶人 [ 95%]

...ine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature ...

来源: Laya_示例 发布时间: 20241001

5. 骨骼动画-换装 [ 95%]

...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...

来源: Laya_示例 发布时间: 20241001

6. 网络和格式-POST [ 94%]

...est(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData', 'name=myname&psword=xxx', 'post', 'text'); } function showLogger() { lo...

来源: Laya_示例 发布时间: 20241001

7. 网络和格式-GET [ 94%]

...est(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData?name=myname&psword=xxx', null, 'get', 'text'); } function showLogger() { ...

来源: Laya_示例 发布时间: 20241001

8. 骨骼动画-Spine事件 [ 92%]

...res/spine/spineRes6/alien.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...

来源: Laya_示例 发布时间: 20241001

9. 性能测试-骨骼 [ 89%]

...fer = Loader.getRes(mAniPath); mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.parseData(tTexture, arraybuffer, 10); } function parseComplete() { for (var i = 0; i = tAnimNum) { mActionIndex = 0; } for (var i = 0, n = mAnimationArray.length; i = []; private mFact...

来源: Laya_示例 发布时间: 20241001