大约有 1,604 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
...pe: Laya.Loader.FONT }], Handler.create(this, () => { console.log('bitmapFont loaded'); this.onFontLoaded(); }), Handler.create(this, (progress) => { console.log('bitmapFont loading', progress); }...
来源: Laya_社区 发布时间: 20190225
...rror); this.templet.loadAni("res/spine/goblins/goblins.sk"); } onError() { console.log("parse error"); } parseComplete() { //创建第一个动画 var skeleton0: Laya.Skeleton; //从动画模板创建动画播放对象 skeleton0 = this.templet.buildArmature(0); skeleton0.pos(200, 700); //切换动...
来源: Laya2.0_文档 发布时间: 20210715
...回复 青衿 赞同来自: Laya.WebAudioSound.ctx.resume = function () { console.log('this is laya`s bug') } 2018-08-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 青衿 相关问题 游戏运行在chrome里面 听不见声音 播...
来源: Laya_社区 发布时间: 20180716
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2019-06-19 15:09 浏览: 781 关注: 1 人
来源: Laya_社区 发布时间: 20190619
....ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = 300; mArmature.y = 600; Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPE...
来源: Laya_社区 发布时间: 20170818
... var viewRect:Laya.Rectangle = new Laya.Rectangle(); console.log(this._tMap); //创建TiledMap地图 this._tMap.createMap("../bin/map/orthogonal-outside.json",viewRect,Laya.Handler.create(this,this.onComplete)); 附件 : --> 2020-08-15 添...
来源: Laya_社区 发布时间: 20200815
...-启动脚本 启动脚本代码: export async function main() { console.log("Hello LayaAir!"); Laya.loader.load("resources/BitmapFont.fnt", Laya.Loader.FONT).then((res) => { Laya.Scene.open(Laya.PlayerConfig.startupScene); //可以设置场景路径 }) } 场景...
来源: Laya_社区 发布时间: 20250910
播放声音异常 console.log("播放音效"); Laya.SoundManager.playSound("res/AK47.mp3", 1, new Handler(this, this.onComplete)); 很简单的调用就崩溃了,麻烦看看,谢谢!!! 附件 : --> 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180611
... function onCreateMap(){ this.role = tMap.getLayerObject("role","player"); console.log(this.role.x,this.role.y); } 附件 : --> 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 wudi199553 赞同...
来源: Laya_社区 发布时间: 20171124
...一些用LAYABOX做的练习小游戏http://iuhigi.cn/ 赞同来自: 你用console.log(this.serverOwn)看一下输出什么 2018-01-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 minj 相关问题 【带附件】 使用Laya2.0.0beta5....
来源: Laya_社区 发布时间: 20180123