大约有 153 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(77) Laya3.0_api(64) laya_api(3) Laya2.0_api(3) Laya_示例(2) Laya2.0_文档(2) Laya3.0_文档(1) Laya2.0_示例(1)
...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right ro...
来源: Laya3.0_api 发布时间: 20231115
...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labels left mask mo...
来源: Laya3.0_api 发布时间: 20231115
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hide hideFlags hitArea is3D isVertical lastOffset left mask max min mouseEnabled mouseWheelEnable mouseX mouseY numChildren parent p...
来源: Laya3.0_api 发布时间: 20231115
...动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初...
来源: Laya_社区 发布时间: 20170525
...; ani.loadAtlas("res/atlas/atlasLight.json",null,"play"); ani.play(); Laya.stage.addChild(ani); 有的开发者会发现,如果loadAtlas方法使用了模板名称,使用Loader.clearRes无法彻底清理掉animation的所有缓存,这个是主要是因为,资源虽然移除了,但是模...
来源: Laya_社区 发布时间: 20161129
...exture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; var camera = scene.addChild(new Laya.Camera(0, 0....
来源: Laya_社区 发布时间: 20220815
...用户 • 2018-08-19 13:14 请问一下为什么在 fixedwidth模式下,stage 414*800,浏览器的height 500 我设置一个红点的y位500, 却显示的不在最底部,而是在底部上面的位置,不同机型位置还不一样。 m1248799598 • 2018-03-17 14:11 新版本什么时候...
来源: Laya_社区 发布时间: 20180316
..."Uncaught TypeError:Cannot set property 'y' of null"的解决方案 修改stage的scale后,会发生异常情况 重力感应 Accelerator 发布微信游戏后失效。是因为什么? 问题状态 最新活动: 2018-01-10 14:13 浏览: 708 关注: 2 人 Laya_Aaron • 2018-01-10 15:03 我这边...
来源: Laya_社区 发布时间: 20180110
...机预览显示异常 官网示例摇一摇报错,就解决方案 修改stage的scale后,会发生异常情况 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 官方新手游戏引导示例中关于hit和unHit的使用疑问 LayaAir2D示例 Mac 2.0.0beta3 Chrome...
来源: Laya_社区 发布时间: 20180309
...动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初...
来源: Laya_社区 发布时间: 20170525