大约有 302 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...的GET参数 关于同为object层,层级设置无效的问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2020-02-01 20:3...
来源: Laya_社区 发布时间: 20200121
...缩混淆js(耗时)”的bug laya3D项目压缩引用库 Laya的下载Loader 能下载Zip 压缩包吗? js文件过多要怎么办, 目前发布有实现自动打包压缩的功能吗?还是需要自己实现? 请问图片压缩工具在哪里? laya.physics3D库文件可以压缩吗?1.5M...
来源: Laya_社区 发布时间: 20170210
...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。 这是在chrome下面正常运行的信息 附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20191121
...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
....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
... 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
...; 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
...; } 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
...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
...,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