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

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

551. 如何知道Laya.Tween.to 完成 [ 57%]

...法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 Laya2.5--发布oppo[rpk]加载3D资源完成后蓝屏|黑屏|花屏 spine动画转换失败,加载...

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

552. 父容器怎么知道有子对象添加了进来呢 [ 57%]

...对象添加到matter.js里的物理引擎世界里 获取sprite对象的 width和height0 drawTexture时,Matrix对象,a=-1,无法实现水平翻转 请问在微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true 问题...

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

553. TileMap有明显的bug [ 57%]

...og("map create ..."); } var viewRect = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); var tMap = new Laya.TiledMap(); tMap.createMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-...

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

554. fixedwidth模式,横屏在有些机型,屏幕下方无法相应点击事件 [ 57%]

fixedwidth模式,横屏在有些机型,屏幕下方无法相应点击事件 鼠标点击的位置: 1520 744 屏幕舞台的高: 1624 914   在 iphone6sp 这样的机型下,屏幕舞台高超过了750,下方区域就不能响应鼠标点击事件了,   目前是  GameConfig.width = 1624...

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

555. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 57%]

...Filter meshRenderer minX minZ numChildren parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChil...

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

556. Laya2.7.1 UI的VIew锚点感觉出问题了。 [ 57%]

...画如何设置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点可以设置,如何实现 Laya的Scene和View什么区别? 求解:2D项目中加载View,Laya.Scene.load应该如何使用? 问题状态 最新活动: 2020-08-31 10:...

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

557. 列表组件 · LayaAir3.0文档 · LAYABOX [ 56%]

...temRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 设置List的垂直滚动 list.scrollType = Laya.ScrollType.Vertical; // 设置List的垂直滚动皮肤,不设置或者""就没有滚动...

来源: Laya3.0_文档 发布时间: 20230927

558. HTMLDivElement 内容没法正常显示 [ 56%]

...没法正常显示,里面的html代码是   <div style="font-size:60;width:900px">aaaa</div><div style="font-size:60">bbbbbbbbbbbb</div><div style="font-size:60">cccccccccccc</div><div style="font-size:60">dddddddddd</div><div style="font-size:60...

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

559. [LayaAir3]Laya3.0 中设置舞台背景透明无效 [ 56%]

...;         this.iframe.style.right = "0";         this.iframe.style.width = "100%";         this.iframe.style.height = "100%"         this.iframe.style.border = "none";         this.iframe.style.zIndex=-1     }   那我有一个需求,想将document 元素 层级设置-1...

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

560. 关于event中只读属性touches,问题,求解 [ 56%]

... var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt); } private function onFunc(e:Event):void { var arr:Array = e.touches; console.log("e.touchId=...

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