大约有 409 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。 这是在chrome下面正常运行的信息 附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20191121
...ayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static g...
来源: Laya_社区 发布时间: 20171124
...长宽高? 请教一个关于laya2.5d项目美术规范的问题哈 Laya.Loader.getRes请教 项目分包后, 运行出错 LayaAir3D 导出和使用U3D粒子特效 unity 粒子特效 laya插件有问题? 问题状态 最新活动: 2018-03-21 10:41 浏览: 949 关注: 2 人
来源: Laya_社区 发布时间: 20180321
...ir' of undefined崩溃 这个是出错信息 this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/"; 我们采用的播放模式是this.effectMovieClip.load(effectsPath,true); effectsPath 是路径 我们的swf 文件在附件中, 附件 : --...
来源: Laya_社区 发布时间: 20180408
...的项目是都导出json文件了,用prefab内容也是json的。 Laya.loader.create("prefab/car.json",Handler.create(this,onCar)); public function onCar(obj:Object):void{ var spr:Prefab = new Prafab(); spr.json=obj; var car:Sprite = Pool.getItemBy...
来源: Laya_社区 发布时间: 20181108
...览器播放mp3出现The AudioContext was not allowed to start. 请问下loader如何强制加载一个文件,避免浏览器的缓存 移植了一个游戏 代码重新 写的 LayaAir3D 导出和使用U3D粒子特效 在List渲染的时候,在滚动一个list的时候,如何实现另一个lis...
来源: Laya_社区 发布时间: 20170109
..."; Laya.stage.bgColor = "#232628"; //这里是我注释掉的代码 //Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); this.setup(); } private setup(): void { this.createApe(); this.showDragRegion(); } private createApe(): void { this.ape = new Sprite(); //this.ape.loadImage(this.Ap...
来源: Laya_社区 发布时间: 20171106
...享 微博 QZONE 微信 子艮 赞同来自: let sp3d = lf.addChild(Laya.loader.getRes("res/zhadan/1/LayaScene_zhadan/Conventional/zhadan.ls")) as Scene3D; let spCore = sp3d.getChildByName("Canvas") as Sprite3D; spCore.transform.localPosition = new Vector3(0, 0.7, 90); let tp3d = Sprite3D.instantiat...
来源: Laya_社区 发布时间: 20191126
...资源加载完运行过回调函数以后再进行。如下句 : Laya.loader.create( MyResouces.arrResources, Handler.create(this,onLoadComplete) ); 意为加载完MyResouces.arrResources这些资源后调用方法onLoadComplete,添加碰撞盒子需要在onLoadComplete里或者onLoadComplete...
来源: Laya_社区 发布时间: 20181012
...的 Demo示例 为什么ani动画执行的不是按中心点执行的 Laya.loader.create 进度回调函数执行两次 【附上DEMO】使用2.0.1发布,在微信版本低于7.0.3的手机上会出现画面撕裂!! layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执...
来源: Laya_社区 发布时间: 20190510