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

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

981. 使用IDE打包图集工具出来的atlas,调用clearRes无法卸载资源 [ 52%]

...源 加载时时这样调用 Laya.loader.load("res/MainBlood.atlas", Laya.Handler.create(this, this.onAtlasLoaded), null, Laya.Loader.ATLAS); 卸载时这样 Laya.loader.clearRes("res/MainBlood.atlas");在Laya.Loader.loadedMap里查找是没有了,但是统计面板的CurMem降不下来,工程...

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

982. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 52%]

...    tiledMap.createMap("res/atlas/TiledMap/desert.json", viewRect, new Handler(this, completeHandler));     } /**      * 地图加载完成的回调      */     function completeHandler()     {          //设置缩放中心为左上角         tiledMap.setView...

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

983. 多种碰撞器形状(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 52%]

...一张桌子。 ```typescript Mesh.load("res/threeDimen/Physics/table.lm", Handler.create(this, function(mesh:Mesh):void { //....省略中间 //读取导出的桌子模型 var table:MeshSprite3D = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; //给桌子加刚体并且设置刚体属性 va...

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

984. 加载不同域名下的单个图片 会重复加载两次,导致无法显示 [ 52%]

....base_image_url+"image/loading.jpg", ]; Laya.loader.load(_silentLoadArray, Handler.create(this, gameStart));   var gameStart = function(){     var loading = new LoadingPage();(loading页面)     //加载完成 进入主界面     loading.onComplete = loadHome;     //开始加载     l...

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

985. 请问laya.net.Loader和laya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 [ 52%]

...果 Laya.loader.load("https://piggy.q1.com/res//atlas/images.atlas", Laya.Handler.create(this, this.onLoaded2), null, Laya.Loader.ATLAS); // Laya.loader.load("map/tile_map.png");   2018-05-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

986. 动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效 [ 52%]

...,描点未生效 if(anin==null)anin=new Animation(); anin.loadAtlas(url,Handler.create(this,onloaded),url); anin.autoSize=true; anin.autoPlay=false; anin.interval=interval;   private function onloaded():void { anin.pivotX=anin.getBounds().width/2; anin.pivotY=anin.getBounds().height/2; }   如...

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

987. playSound和playMusic结束时候有异常抛出 [ 52%]

...der.load("res/music/Music_start.mp3",                      Laya.Handler.create(this, this.onLoadFinished));     }     onLoadFinished()     {         Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1);     } } new GameMain();   ----------------------------------------...

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

988. 按钮加载皮肤丢失 [ 52%]

...       /**加载资源*/             Laya.loader.load(skins,Handler.create(this,loadComplete)); 2017-03-20 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 加载到舞台的3D模型不显示贴图 laya2.0加载3d场景报...

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

989. Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 [ 52%]

...rl = "https://lupic.cdn.bcebos.com/2 ... 3B%3B Laya.loader.load(_url, Laya.Handler.create(this, res => { let a = new Laya.Image(_url); Laya.stage.addChild(a); })) 以下是安卓层面输出日志:09-22 11:08:10.811 27895-28111/? D/jswrapper: JS: [WARN]: [warn]Retry to load: https://lupic.cdn.b...

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

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

...ader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));

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