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

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

2321. 如何预先下载资源到本地,laya里面又怎么引用已下载的资源文件?路径要怎么设置? [ 51%]

...怎么调用下载到本地的资源 cuixueying • 2017-05-18 17:10 Laya.loader.load可以对服务器的资源进行预加载,并缓存到本地,Laya.loader.getRes可以获取缓存下的资源文件! 我盼乙卯 • 2018-05-31 15:42 @cuixueying:请问这个缓存到本地是缓存到硬盘...

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

2322. 请问如何释放atlas和他的png资源 [ 51%]

...ction clickFun():void { url = "res/CH/atlas/MORNUI_Z_Gongneng.atlas"; Laya.loader.load(url,new Handler(this,hh)); //trace( Laya.loader.getRes(url) ); } private function hh():void { Laya.stage.addChild(new Image("MORNUI_Z_Gongneng/clip_xue_quan.png")); Laya.timer.once(1000,1,ddd); } private function ...

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

2323. 用插件导出unity制作的模型时,不支持skinned mesh renderer么? [ 51%]

...复问题请先登录 发起人 getstr88 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) unity导出粒子文件问题 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~...

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

2324. workerLoader问题 [ 51%]

workerLoader问题 版本:2.2.0beta1,ts_new 看代码 constructor(){ super();             this.worker = new Worker(WorkerLoader.workerPath); this.worker.onmessage = function(evt:any):void { //接收worker传过来的数据函数 (this as any as WorkerLoader).workerMessage(evt.data); } } 回...

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

2325. [LayaAir3]OPPO小游戏下图片地址无法加载 [ 51%]

...j.com/api/player/auth/img?key=testpng oppo小游戏下 无法显示  Laya.loader .load( "https://sh.mudgj.com/api/playe ... ot%3B, Laya.Loader.IMAGE ) .then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发...

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

2326. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 51%]

...Ani = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));

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

2327. 新人求助!FD为什么会出现这个问题 [ 51%]

...ibrary "D:\LayaWork\FlashDevelop - 5.2\Library" Building LayaSample mxmlc -load-config+=obj\LayaSampleConfig.xml -debug=true -incremental=true -swf-version=29 -o obj\LayaSample636377954440000000 Starting java as: java -Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.region=US -Djava....

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

2328. 预设/场景的导出(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 51%]

... ui.test.TestSceneUI { constructor(){ super(); //加载场景 Laya.Scene3D.load('LayaScene_test/Conventional/test.ls',Laya.Handler.create(this,this.onComplete)); } /** * 加载完成 */ private onComplete(scene:Laya.Scene3D):void{ // 将场景加到舞台上 Laya.stage.addChild(scene); } } } ``` 运...

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

2329. Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget [ 51%]

...面调试出现报错Uncaught (in promise) DOMException: play() Failed to load resource: net::ERR_FILE_NOT_FOUND 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide...

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

2330. layanative安卓端需要怎么添加ttf字体,需要增加两种字体? [ 51%]

...; import laya.utils.Handler; /** * ... * @author ww */ public class TestTTFLoader  {   public function TestTTFLoader()  { Laya.init(1000, 900);   Laya.loader.load("res/remember.ttf",new Handler(this,test)); }   private function test():void { var text:Text; text = new Text(); text.fontSize = 30;...

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