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

大约有 323 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0138 秒)

301. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 46%]

...se); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.timer.once(0, null, Right); Laya.timer.once(50,...

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

302. 我在Layasample主类中,检测键盘按下并输出一切正常,可是放到其他类里面则能检测到按键按下,却一直输出undefined [ 46%]

...EY_DOWN,LayaSample,Test);     }     function Test(e){         console.log(e.keycode);             }   按下按键后一直输出undefined,在入口类里面却能输出对应按键编号,是什么原因呢   2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

303. LayaAir功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 46%]

...LayaNative1.0版本中,要调试项目中的JavaScript代码只能调用console.log或者alert函数。在layaNative2.0版本中正式支持使用Chrome浏览器调试JavaScript代码。可以在Chrome的调试器里对代码进行断点的添加,代码追踪等功能。 **测试App支持扫码...

来源: Laya2.0_文档 发布时间: 20210715

304. 打包发布vivo,调试黑屏 [ 45%]

...有输出报错,自己的项目也没有日志中也没有update里面的console.下面是demo跟截图 附件 : --> coin_scroll_vivo.rar 2019-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 kylin 赞同来...

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

305. webGL模式下 graphic画线涂鸦,一直不停画会出现线条异常 [ 45%]

...this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.po...

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

306. 安装layaair2-cmd一直失败 [ 45%]

...:\COCOS\cocos2d-x-3.17.2\templates;E:\COCOS\cocos2d-x-3.17.2\tools\cocos2d-console\bin;E:\COCOS\Python\Python27;E:\COCOS\apache-ant-1.10.7\bin;C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files (x86)\Egret\Egret Wing 3\bin ...

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

307. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 45%]

...text = new Laya.Context();         } private onloadswf():void { // console.log("ssss"); // let mc:Laya.MovieClip = Laya.loader.getRes("res/swf/star.swf"); // Laya.stage.addChild(mc); }     } } new laya.Loader_MultipleType();   2018-02-03 添加评论 免费帖 --> 分享 微博 QZONE ...

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

308. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 44%]

...est/1.png" ||data.url == "test/2.png"||data.url == "test/3.png"){ mark ++; console.log("------data.url:" + JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.load(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplet...

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

309. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 44%]

.../layaMaxUI.ts"     let fileContent = readFile(layaMaxUI_Path);     console.log("读取文件",fileContent)     if (fileContent ) {             fileContent = fileContent.replace(/Laya\.UICodeView/g,"UICodeView");             fs.writeFileSync(layaMaxUI_Path, fileCon...

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

310. 真机调试 开启子域后 提示出现window is not defined [ 44%]

...工程 bt_rank_call_back(body){   this.bt_rank.CALL_BACK = function () { console.log("排行榜") var player_rank = body.wxData.get_canvas_4_code("SHOW_PLAYER_RANK",0) var rankTexture = new Laya.Texture(sharedCanvas); rankTexture.bitmap.alwaysChange = true; var pl = new Laya.Sprite() pl.graphics.dr...

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