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

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

1. Laya.loader.load方法报错 [ 100%]

Laya.loader.load方法报错 这里为什么报错,一直通过不了编译?同样的代码,2.1没问题 2.4报错? 附件 : --> 2020-02-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同...

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

2. 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function [ 95%]

... 柠檬_酸 赞同来自: 今天也遇到了哈,new Texture就行,Laya.loader.load试了还是 不行 var Texture1= new Laya.Texture(); Texture1.load("res/1.png",Laya.Handler.create(this,function(){     this.sprite.graphics.drawTexture(Texture1,0,0,50,50,null,1,"#FFFFF"); })); 2021-09-17 ...

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

3. Resources already exist,is repeated loading 加载特效报重复加载 [ 94%]

...PCFType = 3;      //  批量预加载资源         // Laya.loader.create([         //  "res/threeDimen/staticModel/grid/plane.lh",         //  "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh",         // //   "res/threeDimen/particle/RadiusMode.lh",  ...

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

4. Laya.loader.load加载Laya.Loader.FONT位图字体,不会进入成功回调,并且下载请求还会一直发送 [ 94%]

Laya.loader.load加载Laya.Loader.FONT位图字体,不会进入成功回调,并且下载请求还会一直发送 图1使用Laya.loader.load加载Laya.Loader.FONT位图字体,图2就是收到的信息,图3是请求成功了,但是并未进入成功回调,而且还会持续发送下载请...

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

5. 开放域中不能使用Laya.loader.load? [ 93%]

开放域中不能使用Laya.loader.load? 报错 WAGameSubContext.js:3 Uncaught TypeError: wx.getFileSystemManager is not a function 2018-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来...

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

6. Laya.loader.load 加载场景报错 [ 93%]

Laya.loader.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent ...

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

7. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 92%]

ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? onEnable() { //戏控制脚本引用,避免每次获取组件带来不必要的性能开销 thi   s._loveControl = this.getComponent(LoveControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Ev...

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

8. linux系统运行layaair-cmd报错 [ 89%]

...ayaair-cmd-compile.js:14:1)     at Module._compile (internal/modules/cjs/loader.js:678:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)     at Module.load (internal/modules/cjs/loader.js:589:32)     at tryModuleLoad (internal/modules/cjs/loader.js:528:12)   ...

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

9. layaair2-cmd安装报错 [ 89%]

...d to ~\AppData\Roaming\npm\node_modules\layaair2-cmd internal/modules/cj s/loader.js:638     throw err;     ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp-babel'     at Function.Module._load (internal/modules/cjs/loader.js:56...

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

10. Laya.loader.create中的progress回调好像不准确? [ 87%]

Laya.loader.create中的progress回调好像不准确? 如图,我加载二十多M的资源(大概二三十个文件),进度回调只有一次,是不是这个回调有问题?   附件 : --> 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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