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

大约有 1,588 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)

1021. Laya.Scene.load 加载场景 Cannot read property 'loadPath' [ 54%]

...例->3D场景->场景加载的资源 Arena/Arena.ls 资源放到bin/res/Arena   报错 Uncaught TypeError: Cannot read property 'loadPath' of undefined   附件 : --> 2017-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

来源: Laya_社区 发布时间: 20170731

1022. Laya的下载Loader 能下载Zip 压缩包吗? [ 54%]

...分享 微博 QZONE 微信 liuliqianxiao 赞同来自: 可以的。 {url: "res/configs/configs.zip", type: Laya.Loader.BUFFER} 加载后其实得到的是一个二进制buffer。调用一下第三库比如jszip,得到zip里面的内容很容易的,自行搜索 2017-12-28 0 0 分享 微博 QZONE ...

来源: Laya_社区 发布时间: 20171227

1023. 为什么加载进度回调只调用了一次。下面有代码,求解答 [ 54%]

...下面有代码,求解答 Laya.loader.load(     // 资源     [{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr),     // 加载完成回调     Laya.Handler.create(null,function(){         var logintest = new loginTestView().init();         Laya.stage.addChild(login...

来源: Laya_社区 发布时间: 20170331

1024. HTMLDivElement [ 54%]

...LDivElement(); appendHtml.innerHTML="show animation  ==<animation src='res/ani_test.json'></animation>"; Laya.stage.addChild(appendHtml);   附件 : --> HelloWorld_Project.zip 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20180312

1025. 使用API:loadAnimation 加载并播放动画问题 [ 54%]

...发布! 2.hero.ani路径是:bin\ani\hero.ani   3.资源atlas在:bin\res\atlas\war.atlas 4.代码如下 :   IDE版本:1.7.19.1beta tsc 版本:2.1.5     附件 : --> AirWar.zip 2018-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20180807

1026. 在native下,XMLHttpRequest调用getAllResponseHeaders返回undefined [ 54%]

在native下,XMLHttpRequest调用getAllResponseHeaders返回undefined 调试发现是因为在XMLHttpRequest的实现中,函数setResponseHeader只有定义没有被调用过,导致根本没有设置Response Headers,这样调用getAllResponseHeaders永远返回undefined 请看附件的1559...

来源: Laya_社区 发布时间: 20190515

1027. 位图字体ide无法注册 [ 54%]

...扩展名,外部保证fnt与png文件同名 this.mBitmapFont.loadFont("res/bitmapFont/test.fnt",new Laya.Handler(this,onLoaded)); function onLoaded(){ init(); } function init(){ Laya.Text.registerBitmapFont(this.mFontName,this.mBitmapFont); } 2018-03-29 0 1 分享 微博 QZONE 微信 为什么被...

来源: Laya_社区 发布时间: 20180329

1028. 自定义loadingView [ 54%]

...loading(50); } //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } 这里的dd=__JS__("window.loadingView"); 换成 ts 怎么写 Apple • 2018-04-16 16:22 直接 Laya.Browser.window.loadingView

来源: Laya_社区 发布时间: 20180416

1029. 骨骼动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 54%]

...效果。 ```typescript //加载我们导出的场景 Laya.Scene3D.load("res/LayaScene_LayaMonkey/Conventional/LayaMonkey.ls",Laya.Handler.create(this,function(s){ Laya.stage.addChild(s); })); ``` ![](img/6.gif)(图6)

来源: Laya2.0_文档 发布时间: 20210715

1030. 骨骼动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 54%]

...效果。 ```typescript //加载我们导出的场景 Laya.Scene3D.load("res/LayaScene_LayaMonkey/Conventional/LayaMonkey.ls",Laya.Handler.create(this,function(s){ Laya.stage.addChild(s); })); ``` ![](img/6.gif)(图6)

来源: Laya2.0_文档 发布时间: 20210715