大约有 181 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(158) Laya2.0_文档(9) Laya3.0_文档(5) Laya_示例(2) Laya2.0_api(2) Laya2.0_示例(2) laya_api(2) Laya3.0_api(1)
....Stage.SCREEN_NONE; var uiResArr =[ {url:"res/atlas/comp.atlas",type: Laya.Loader.ATLAS}, ]; Laya.loader.load (uiResArr , Laya.Handler.create(this,this.onLoded)); //加载图片 this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket =...
来源: Laya_社区 发布时间: 20180210
...创建vivo快游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Mo...
来源: Laya_社区 发布时间: 20200817
... Laya.init(1136, 640,WebGL); Laya.loader.load([GameConfig.getAssetsFile("comp")],Handler.create(this, onComplet)); } private var imag:Image; private function onComplet():void ...
来源: Laya_社区 发布时间: 20170510
...提前设置 assets = ["res/ui/dialog (1).png", "res/ui/close.png"]; Laya.loader.load(assets, Handler.create(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Butto...
来源: Laya_社区 发布时间: 20170706
...是加载sk完成前,就调用动画导致 因此,在最开始用Laya.loader.Load(["drgon.sk"]......)这样的方式预加载 !!!结果,预加载时报错,就是这里: laya.core.js的7430行 if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,...
来源: Laya_社区 发布时间: 20180622
...ror - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 问题状态 最新活动: 2019-07-05 11:11 浏览: 2056 关注: 2 人 麟。 • 2019-07-11 15:37 很容易复现...
来源: Laya_社区 发布时间: 20190704
...关于遮罩的用法,在哪块可以找到? Laya.URL.basePath与Laya.loader.load用法 问题状态 最新活动: 2019-09-26 13:14 浏览: 919 关注: 1 人
来源: Laya_社区 发布时间: 20190926
...的URL,因为这个URL没有后缀,所以加载时要写上类型 Laya.loader.load([{url:url,type:"image"}], Handler.create(this,function(){ //接下来 }));5.接下来回调,卸载之前的资源 Laya.loader.clearRes(oldUrl);6.加载Texture2D 这样就原图片地址是个Texture2D,生...
来源: Laya_社区 发布时间: 20181221
...耗性能 directionLight.shadowPCFType = 3; Laya.loader.create([ "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoo...
来源: Laya_社区 发布时间: 20180725
... 0 0 分享 微博 QZONE 微信 Recovery 赞同来自: 微信小游戏Laya.loader.loadPackage 与 Laya.URL.basePath的互斥问题 - layabox问答社区-HTML5引擎社区-LayaAir开发者社区 试试这个 2025-09-26 0 0 分享 微博 QZONE 微信 Fany 赞同来自: 感谢@Recovery 帮助 目前...
来源: Laya_社区 发布时间: 20250925