大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
.../ public function loadImage(url:String, complete:Handler = null):Sprite 2.0接口改了,还有你的sprite 没有指定类型。 2018-10-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 相关...
来源: Laya_社区 发布时间: 20181010
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2017-09-22 14:34 浏览: 941 关注: 2 人
来源: Laya_社区 发布时间: 20170922
...loader.load(this._proto_files,Laya.Handler.create(this,this.OnProtoLoaded),null, Laya.Loader.TEXT); 打包的时候在release/web下面有了protos/loginxxxxxxxx.proto这样的文件 然后运行的时候,报了这样的错 GET http://xxxxxxxx.com/newgame/pr ... proto 404 (Not Found) 其...
来源: Laya_社区 发布时间: 20180319
...ader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ console.info("onLoaded"); this.tiledMap = new Laya.TiledMap(); this.tiledMap.createMap("desert.json", new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Laya.H...
来源: Laya_社区 发布时间: 20171125
...Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function onLoaded(){ //实例化 var tempBG=new background(); Laya.stage.addChild(tempBG); } })();在background.js里是这样写的 var background = (function (_super) { function background() { ...
来源: Laya_社区 发布时间: 20180129
...可以加速内存的释放。如:var video = new HTHLVideo(); video = null;//移除引用 测试出更快的释放方法 附件 : --> 2017-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞...
来源: Laya_社区 发布时间: 20170515
... higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more info. 我的项目中用到了3D物理库,因为UI上也需要显示3D模型,所以创建了多个scene3D,...
来源: Laya_社区 发布时间: 20191022
...,但是出错误。 Error processing "launch": Error: 找不到文件: null 请设置文件配置文件属性runtimeExecutable at launch.then (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/laya-debug/out/bundle.js:153:31) 下面是默认脚本代码 { "version": "0.2.0", "con...
来源: Laya_社区 发布时间: 20180205
...一开始我以为是资源没有找到,但后来发现sprite.texture = null还有作用,给texture赋其他有内容的值却一点效果也没有,loadImage也是,感觉是赋值成功但是graphic没有重新绘制。而Sprite.fromImage却是可用的,看上去新生成的sprite的绘制...
来源: Laya_社区 发布时间: 20190218
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 1.7.15 小游戏3d 发布后在手机预览显示异常 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2016-10-23 16:06 浏览: 2011 关注: 3 人 佟掌柜 • 2016-...
来源: Laya_社区 发布时间: 20161017