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

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

271. 在一个矩形之上画另一个矩形,只显示一个矩形 [ 89%]

...GL = laya.webgl.WebGL; Laya.init(480, 800, WebGL); //串盒子的宽 var boxWidth = 440; //串盒子的高 var boxHeight = 500; //串盒子 this.chuanBox = new Laya.Rectangle(Laya.stage.width - boxWidth >> 1, Laya.stage.height - boxHeight - 10, boxWidth, boxHeight); //画出盒子 Laya.stage.g...

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

272. 其他引擎的Demo-Example_23 [ 89%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya_示例 发布时间: 20240930

273. laya.display.cmd.FillTextCmd_API3.0 [ 88%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/FillTextCmd" FillTextCmd Class FillTextCmd 绘制文字 Hierarchy FillTextCmd Index Properties x y ID Accessors align c...

来源: Laya3.0_api 发布时间: 20231115

274. 关于闭包的问题 [ 88%]

...st.length, bg.height / 2); 这一行代码中,我实际是通过Sprite的x,y属性去调整的位置,突然想起教程中讲到的注意事项 x,y调整位置,貌似会从0,0开始一直画到你调整的x,y位置,再加上addChild()的特性,后add在上,所以会盖住先add的Sprite...

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

275. 点击区域问题 [ 88%]

....display.Sprite = new laya.display.Sprite; Laya.stage.addChild(con1); con1.x = con1.y = 100; var con:laya.display.Sprite = new laya.display.Sprite; con1.addChild(con); // con.scrollRect = new laya.maths.Rectangle(200,200,500,500); con.x = con.y = -200; var sp:laya.display.Sprite = new laya.display.S...

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

276. ide跑没问题,安卓包跑报错 [ 88%]

...Bean >= this.bodyBeanNum && this.bodyArr.length < this.bodyMaxNum) { let addBodyNum = Math.floor(this.eatBean / this.bodyBeanNum) let x = this.bodyArr[this.bodyArr.length - 1].x 。。。。。。 } let x = this.bodyArr[this.bodyArr.length - 1].x 这一句报错   附件 : --> 2018-06...

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

277. laya.d3.math.Native.ConchQuaternion [ 88%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchQuaternionProperties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchQuaternionInheritanceConchQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Pr...

来源: Laya2.0_api 发布时间: 20190513

278. [3.0.6]运行时切出窗口,再回来后不能正常显示和停止运行 [ 88%]

...相关的链接 提交 2 个回复 layaAir小孟 赞同来自: 无名玩家X 我按照您说的步骤尝试了一下,在不注释log时,运行时编辑脚本,动图所展示的问题确实有偶现,但不是必现。   这边建议您在运行项目时,编辑完脚本代码后,回到IDE...

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

279. 请问 2.x 提示 Laya.Templet is not a constructor 和 Laya.Skeleton is not a constructor 该如何处理 谢谢 [ 88%]

请问 2.x 提示 Laya.Templet is not a constructor 和 Laya.Skeleton is not a constructor 该如何处理 谢谢 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 183*****470 赞同来自: 是我自己...

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

280. matter.js的长度宽度什么的和laya的x,y,width,height就不在一个体系,怎么玩? [ 88%]

matter.js的长度宽度什么的和laya的x,y,width,height就不在一个体系,怎么玩? 我用 render: { sprite: { texture: "../src/view/0.png", } }, 位置都不一样 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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