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

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

451. discard property,please use transform's property instead [ 63%]

...耗性能         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

452. 关于ASTC使用问题和建议 [ 63%]

...理时就会报错,需要使用异步的方式来处理         Laya.loader.load("ui/guide01.ktx", Laya.Handler.create(this, (res)=>{             this.img.texture = res;         })); 这样一来,不同的平台就需要使用不同的编程方式就大大降低了易用性,...

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

453. graphics绘制报错 [ 63%]

...ser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), ne...

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

454. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 63%]

...HOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load(["../../../../res/ui/progressBar.png", "../../../../res/ui/progressBar$bar.png"], Handler.create(this, onLoadComplete)); } /***加载资源完成***/ private function onLoadComplete():void { //实例化进度条 p...

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

455. swf转成H5资源显示超出原有范围 [ 63%]

...看下,谢谢啦,贴上代码。 package {     import flash.display.Loader;     import flash.display.LoaderInfo;     import flash.display.MovieClip;     import flash.display.Sprite;     import flash.display.StageAlign;     import flash.display.StageScaleMode;     import flas...

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

456. UI图片资源不显示 [ 63%]

... 微博 QZONE 微信 hjy1234123 赞同来自: json文件没加载到 Laya.loader.load([{url: "res/atlas/**.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 像这样加载一下,再打开界面 2017-02-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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

457. QQ玩一玩,在加载 骨骼动画 后的资源映射出问题了 [ 63%]

...题了 Demo已上传。 在点击登录游戏后,可以查看得到 Laya.Loader.loaderMap 中的映射是有问题的,就是  res/protobuf/client_message.proto 和 res/uieffect/skeleton/jingyu.sk 的值都是同一个 ArrayBuffer 对象, 也就是比较后面加载的 .proto 文件资...

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

458. load 跨域请求 [ 63%]

load 跨域请求 Laya.loader.load(resUrl+'bin/res/atlas/dice.json', Laya.Handler .create(this, this.init), null, Laya.Loader.ATLAS); 这个json提示跨域了,怎么解决好 2017-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

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

...么加载进度回调只调用了一次。下面有代码,求解答 Laya.loader.load(     // 资源     [{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr),     // 加载完成回调     Laya.Handler.create(null,function(){         var logintest = new loginTestView().ini...

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

460. 自定义loadingView [ 63%]

...进行进度值传参 dd.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.Brows...

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