大约有 133 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
... "res/atlas/comp.atlas", type: Loader.ATLAS }, { url: "unpack/comp/image.png", type: Loader.IMAGE }, { url: "test/TestPage.json", type: Loader.JSON }, ], Handler.create(this, this.onLoaded)); 运行报错: [warn]Retry to load: comp/image.png [error]Failed to load: comp/image.png ...
来源: Laya_社区 发布时间: 20171230
....rotationLookAt的问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 问题状态 最新活动: 2017-11-28 10:15 浏览: 608 关注: 2 人 cllc55 • 2017-11-28 10:28 这个好几个人都反馈了,你们回复在处理,mac10.13下所有都运行不了,包...
来源: Laya_社区 发布时间: 20171127
QQ玩一玩 获取头像后的数据是 BK.Buffer,需要如何用laya的Image显示出来? 如下代码是玩一玩获取头像的代码, BufferInfo.buffer 是 BK.Buffer 类型,需要如何用laya的Image显示出来?function callback(openID, BuffInfo){ if(openID == openID1) { var buff = Bu...
来源: Laya_社区 发布时间: 20180417
...idth="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin="setting/log18-5_n.png" editorInfo="compId=2"> <Image y="3" x="8" skin...
来源: Laya_社区 发布时间: 20170221
...aya.loader.load加载atlas的时候,在下图位置报错。 提示this._image.src是个undefine, this._image是有值的 附件 : --> 2018-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来...
来源: Laya_社区 发布时间: 20180329
UI编辑器编辑导出的Iamge图,不能再代码里loadImage吗? 创建一个View,随便拖一张图进去,生成了一个Image。变量名为test。 然后代码里对这个Image重新load图形。this.test.loadImage("pic/close.png") 完了发现并没有把"close.png"加载进去,只是...
来源: Laya_社区 发布时间: 20180816
...同一个fadeout的动画。其中按钮使用playEvent的mouseup播放,image不设置。 代码中设置按钮按下时,播放属于image的那个动画。 运行效果是image瞬间消失。 请问: 这是bug吗?有什么办法可以达到我想要的效果:在代码中播放一...
来源: Laya_社区 发布时间: 20170718
请问在IDE中实现addChild的功能怎么做 比如拖一个image(A)上去,然后我想另外放一些image(B)和label(c),作为image(A)的child 在代码中实现这个父子关系很容易,A.addChild(B)... 在编辑器中怎么去实现这个效果呢? 2016-07-28 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20160728
... res = [{ url: setStaticPrefix("card/card_item_bg.png"), type: Laya.Loader.IMAGE }] /** 添加文件hash */ export const setStaticPrefix = (url:string) :string => { if (staticHash[`images/${url}`]) { return staticHash[`images/${url}`] } return `images/${url}` }然后资源导出的时候使用gu...
来源: Laya_社区 发布时间: 20180412
...void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png","resources/UI/images/dsgame/banner2.jpg"] ).then(() => { let resArr: Array<any> = [ { url: "resources/U...
来源: Laya_社区 发布时间: 20230713