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

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

701. 获取Sprite位置问题 [ 56%]

...域 var bound:Laya.Rectangle = this.body.getBounds();  //this.pos(100,0); console.log(-bound.width/2 + " --- "+ -bound.height/2); }  onPlayComplete():void{  } } 请问为啥bound.width bound.heigh这是0? 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

702. 如何获得特效的宽高 [ 56%]

... ani.once(Laya.Event.LOADED,null,function(ani1){                 console.log(ani1.getGraphicBounds());             });   这样写的话监听不到           2017-06-28 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 你用Laya.timer.once加个延迟看下呢? 2017-06...

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

703. windows10操作系统createProcess错误 [ 56%]

...特定角度下显示错误 提示错误在laya.core.js里 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 ui分离模式首次加载布局错误问题 spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...

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

704. Laya.Event.RESIZE 栈溢出问题 [ 56%]

...aya.Stat.show(0, 0); Laya.stage.on(Laya.Event.RESIZE, Laya.stage, ()=>{ console.log(111) Laya.stage.width = 600 * Laya.Browser.pixelRatio; }) } } new GameMain(); 2018-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

705. Animation创建时无法获取高度 [ 56%]

...his.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, height: 0}修改anchorY值无效 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

706. 同一页面中, 存在2个 stage [ 56%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 创建动效模板 可能存在bug 需要用SoundChannel的play()方法,报错说不存在play()方法? 尽量保证同一个面板中的所有资源用一...

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

707. 如何在游戏中展示一个网页 [ 56%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 一个时间轴动画里创建的多个动画,怎么分别调用?如图 请问下loader如何强制加载一个文件,避免浏览器的缓存 H5动画...

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

708. Stage中删除不掉Scene [ 56%]

...     } else {         Laya.stage.removeChild(scene3D);     }     console.log(str); });     每次删除scene3D后又被添加进来了。不知道什么原因,是stage中的scene不能被删除吗? 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

709. 请教个问题:如何重绘sharedCanvas [ 56%]

...绘 sharedCanvas” 我的代码如下: if (message.cmd == "render") { console.log("重置共享数据域"); let sharedCanvas = Laya.Browser.window.sharedCanvas; sharedCanvas.width = 0; sharedCanvas.height = 0; // let tempMatrix = message.matrix; // let matrix = new Laya.Matrix(); // matrix.a = te...

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

710. [LayaAir3]Laya命令行发布无法修改配置 [ 56%]

...     let innerBuild:any = IEditorEnv.BuildTask.start("web")         console.log(innerBuild.config)//这里返回的是undefined           innerBuild.config.enableVersion = false;//这个地方会报错         return innerBuild.waitForCompletion();     } }   cmd中执行命令:"C...

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