大约有 555 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"], Laya.Handler.create(this, function(){ }), Laya.Handler.create(this, function(e){ c...
来源: Laya_社区 发布时间: 20180101
Sprite.loadImage在Android平台无法卡死,web和iOS平台正常 在Android平台使用Spirte.loadImage方法初始Sprite卡死,log中一直打印日志“JCGraphicsCmdDispath::calcBoundingBox Wrong command number!,cmd=-65536” 同样的代码和图片地址在web和iOS平台正常; 代码...
来源: Laya_社区 发布时间: 20171229
...not defined? 有没有克隆控件的方法,prefab能否在代码上调用 load方法的progress回调进的次数太少了。是我哪里设置有问题么 安卓的截图问题 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 layabox 截图 关...
来源: Laya_社区 发布时间: 20181011
...ctor3( -15, 0, 0), true, false); var mc:Sprite3D = scene.addChild(Sprite3D.load("res/mod5_13.lh")) as Sprite3D; c416288806 • 2018-03-05 11:41 有看到回复的话...说一下处理情况啊。T.T不要没动静了亲... qian • 2018-03-05 11:42 已经把你的问题上传给引擎部 ...
来源: Laya_社区 发布时间: 20180305
...相关的链接 提交 2 个回复 Laya_XS 赞同来自: sprite你可以用loadImage,image你可以用skin。但是你直接使用网络的图片会存在跨域的问题! 2017-02-20 0 0 分享 微博 QZONE 微信 tianbo_zhang 赞同来自: 1.设置baseUrl为:http://image.xxx.com/ 2. 使用Laya...
来源: Laya_社区 发布时间: 20170220
2.0.2使用worker加载图片的问题 Laya.loader.load加载图片时,如果使用worker加载,会调用到loadImage方法,然后执行这句话`this.worker.postMessage(url);`,然后 在worker.js中执行了这句话`onmessage=function(t){var e=t.data;switch(e.type){case"load":loadImage2(e...
来源: Laya_社区 发布时间: 20190605
...哪些文件格式 分享:IDE 无插件 自动格式化 AS3 代码 请问Loader.load支持支持swf格式的预加载吗? 引擎示例里的3d场景是如何获得的? 例如停车场那个场景, .ls 格式文件可用.lh格式文件替代否? 问题状态 最新活动: 2020-09-10 14:19 浏...
来源: Laya_社区 发布时间: 20200909
...持声音预加载,声音的播放是即用即加载的。所以用Laya.load.load预加载声音是无效的。 Jacy • 2018-05-21 23:05 @一点一滴:那要怎么处理同样一个音播放多次的情况呢?
来源: Laya_社区 发布时间: 20180515
[QQ小游戏适配] Laya.loader.create 在QQ安卓版本上 执行没有成功回调,也没有进度回调,监听了error 也没有。在ios版QQ上正常。 游戏适配QQ小游戏平台(不是玩一玩), 使用 Laya.loader.create 加载3d资源 *.lani动画资源 ,在iOS版本的QQ上...
来源: Laya_社区 发布时间: 20190617
graphics使用matrix的异常情况 Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200...
来源: Laya_社区 发布时间: 20170609