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

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

361. TiledMap加载报错 relativePath为空 [ 60%]

...ity":1, "properties": { "isCanPass":"0" }, "propertytypes": { "isCanPass":"string" }, "type":"tilelayer", "visible":true, "width":25, "x":0, "y":0 }], "nextobjectid":1, "orientation":"orthogonal", "properties": { "isCanPass":"1" }, "propertytypes": { "isCanPass":"string" }, "renderorder":"right-down...

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

362. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 60%]

... { url: "res/settings/UI_EN.xml", type: Loader.XML }, { url: "res/settings/String_CN.csv", type: Loader.TEXT }, { url: "res/settings/String_EN.csv", type: Loader.TEXT }, { url: "res/audio/PK_10_BGM_Short.mp3", type: Loader.SOUND }, { url: "res/audio/PK_10_Car_ Final.mp3", type: Loader.SOUND }, { url...

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

363. Laya.loader.create 不会反馈失败状态跟描述不符合 [ 59%]

...er.create 不会反馈失败状态跟描述不符合 var resource:Array<string> = ["scene/Conventional/scene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number) => { ...

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

364. 鼠标事件:为什么没有设置穿透,也会发生穿透现象? [ 59%]

...this,test); } ================== public static function createSprite(url:String,c:Boolean = false):Sprite {             var sp:Sprite = new Sprite();             sp.loadImage(url);             return sp;  } bg和bg2一样大,bg盖在bg2上,无论对bg或者是bg2添...

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

365. 【分享】微信小游戏解析xml适配 [ 59%]

...引擎自带解析方法你们都不知道? laya.utils.Utils.parseXMLFromString(xmlStr) 搞笑的是官方人员提出的这个问题 2018-11-27 0 0 分享 微博 QZONE 微信 老衲当时慌了 赞同来自: http://blog.asroads.com/post/c20f4493.html http://blog.asroads.com/post/28b1df01.html...

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

366. 如何使用graphics绘画虚线 [ 59%]

... 10:20 浏览: 2333 关注: 5 人 逐浪人 • 2018-08-04 11:08 var data: string = "data:image/svg+xml," + "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">" +"<g fill=\"none\" stroke=\"black\" stroke-width=\"4...

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

367. 引擎的text类中有没有直接读取Json文件的函数 [ 59%]

...onLoaded():void { var json:JSON=Laya.loader.getRes("unpack.json"); var str:String=JSON.stringify(json); trace(str); } } } 2017-08-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 youngas 相关问题 看了其他引擎才发现 LAYA 真...

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

368. laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds [ 59%]

...int16 error - Out of bounds";at api request success callback function String

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

369. 微信小游戏报错 the .lh file root type must be Scene [ 59%]

... file root type must be Scene 引擎版本1.7.17beta private screen3DPath: string = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.stage.addChildAt(scene, 0); thi...

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

370. LAYA的AS3项目碰见个问题,求解 [ 59%]

...      super.initialize();         }        private var names:String="";        override public function set dataSource(value:*):void         {             super.dataSource = value;             if(dataSource==null) return;             names=dataSourc...

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