大约有 683 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0051 秒)
Laya_社区(327) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(38) Laya2.0_示例(19) Laya_示例(15)
...法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 Laya2.5--发布oppo[rpk]加载3D资源完成后蓝屏|黑屏|花屏 spine动画转换失败,加载...
来源: Laya_社区 发布时间: 20170118
...对象添加到matter.js里的物理引擎世界里 获取sprite对象的 width和height为0 drawTexture时,Matrix对象,a=-1,无法实现水平翻转 请问在微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true 问题...
来源: Laya_社区 发布时间: 20171104
...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
fixedwidth模式,横屏在有些机型,屏幕下方无法相应点击事件 鼠标点击的位置: 1520 744 屏幕舞台的高: 1624 914 在 iphone6sp 这样的机型下,屏幕舞台高超过了750,下方区域就不能响应鼠标点击事件了, 目前是 GameConfig.width = 1624...
来源: Laya_社区 发布时间: 20200425
...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
...画如何设置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点可以设置,如何实现 Laya的Scene和View什么区别? 求解:2D项目中加载View,Laya.Scene.load应该如何使用? 问题状态 最新活动: 2020-08-31 10:...
来源: Laya_社区 发布时间: 20200829
...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
...没法正常显示,里面的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
...; 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
... 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