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

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

241. 设置屏幕分辨率后,个别浏览器的帧频下降,只能跑到30帧 [ 54%]

...的GET参数 关于同为object层,层级设置无效的问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2020-02-01 20:3...

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

242. 关于js压缩 [ 54%]

...缩混淆js(耗时)”的bug laya3D项目压缩引用库 Laya的下载Loader 能下载Zip 压缩包吗? js文件过多要怎么办, 目前发布有实现自动打包压缩的功能吗?还是需要自己实现? 请问图片压缩工具在哪里? laya.physics3D库文件可以压缩吗?1.5M...

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

243. Laya 2.3和2.4示例项目导出的QQ小游戏无法运行 [ 54%]

...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。     这是在chrome下面正常运行的信息     附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

244. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 54%]

...var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主...

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

245. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 54%]

....id = "photo";         body.appendChild(input);         Laya.loader.load("comp/button.png");         let button = new UIButton("comp/button.png","点我");         button.labelSize = 30;         button.size(300,100);         button.centerX = 0;       ...

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

246. [Laya2.0beta3] 3d模型克隆后 都不显示了 [ 53%]

... 3 个回复 Laya_Xq 赞同来自: B型血人 layaMonkey = scene.addChild(Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")) as Sprite3D; //克隆sprite3d layaMonkey_clone1 = Sprite3D.instantiate(layaMonkey, scene, false, new Vector3(0.6, 0, 0)); //克隆sprite3d layaMonkey_clone2 =...

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

247. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 53%]

...;          this.scene.addChild(this.camera);         Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => {              let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh...

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

248. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 53%]

...; } private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = n...

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

249. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 53%]

...map.json';  /**地图 */ map: Laya.TiledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComplete)) }  private onComplete(){ this.map = new Laya.TiledMap(); this.map.createMap(this.MAP_URL, new Laya.Rectangle(0,0,Laya.stage.width, Laya.stage.height), new ...

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

250. 打包微信小游戏报错 ReferenceError: Matter is not defined [ 52%]

...,matter.js是直接用 <script type="text/javascript" src='matter.js' loader='laya'></script> 引入 打包后在微信开发者工具打开报错:Matter is not defined, 在game.js里面添加了 let matter = require("matter.js"); window.Matter = matter; 但是还是不行,有没...

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