大约有 1,494 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...一个游戏 代码重新 写的 请问laya里如何解析json,似乎和AS3的不太一样。 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下载? 问题状态 最新活动: 2017-07-19 17:29 浏览: 2107 关注: 2 人
来源: Laya_社区 发布时间: 20170628
...fig.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = "none"; } AS3版,从Laya1.x升级过来之后,发现2.0-2.8都无法通过这个来设置背景透明。 这让人很绝望啊。。。 附件 : --> 2020-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20200816
...个问题,资源不都是放入bin目录下吗?怎么有的还在laya/assets下面?两者的区别是什么? 第二个问题,图片是不是尽量合并为一个图集更好?加载了图集是不是就可以直接使用了,飞机大战的Role类里面这样的代码Animation.createFram...
来源: Laya_社区 发布时间: 20160818
... (Boolean selected, Boolean scene) LayaPlugin.windowShowExportScene () (at Assets/LayaPlugin/LayaItem.cs:116) LayaPlugin.OnGUI () (at Assets/LayaPlugin/LayaItem.cs:40) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object para...
来源: Laya_社区 发布时间: 20170327
...回复 Laya_Aaron 赞同来自: 纪龙 http://ldc.layabox.com/doc/?nav=zh-as-3-4-4 2018-09-08 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 纪龙 相关问题 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么不显示...
来源: Laya_社区 发布时间: 20180904
...好好看下进度条的使用文档:https://ldc.layabox.com/doc/?nav=zh-as-2-3-11 资源的命名规则必须按照特有的命名规则才可以,建议你看下UI自带资源文件中的进度条命名方式 2018-01-11 0 1 分享 微博 QZONE 微信 杰森 赞同来自: https://zhuanlan.zhih...
来源: Laya_社区 发布时间: 20180111
...不正确 关于使用matterjs物理引擎鼠标问题 matter 物理引擎 as3 ,LayaAir下调试matter.js物理引擎出错。 3d物理不能触发onCollisionEnter事件 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 laya2.0 3d物理碰撞穿透问题 3d项目-unity...
来源: Laya_社区 发布时间: 20190226
关于显存超过上限导致画面材质遗失的问题 https://ask.layabox.com/question/4230 https://ask.layabox.com/question/2610 以上问题提到的方法 在web项目裡有办法设置吗 搜寻社区裡相关的问题都只有提到android裡的设定 目前已尽量合併图集,但项...
来源: Laya_社区 发布时间: 20170930
...栈解析 1、js的压缩工具:.laya/publish.js 中 // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) ....
来源: Laya_社区 发布时间: 20200720
...tem:box,index:int):void { var button:Button = item.getChildByName("buton") as Button;(名字是你在ide里自己设定的) button.on(事件注册) } 方法二: list组件.itemRender = UI页面 function renderHandler(item:UI页面,index:int):void { item.setEvent() //添加事件 不能在UI...
来源: Laya_社区 发布时间: 20171128