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

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

611. laya.display.FrameAnimation_API3.0 [ 64%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...

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

612. laya.ani.swf.MovieClip_API3.0 [ 64%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...

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

613. 救命啊,一个很急的问题 [ 64%]

...人 赞同来自: 建议使用iframe嵌套,不要直接设置LayaAir中stage的位置(如果一定要移动位置的话,需要开发者先深度了解stage适配相关的源码) 2017-12-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

614. 使用方向键 控制精灵在格子中移动 [ 64%]

...RPG游戏开发 可以加我的微信 一起研究 13890999   事件 Laya.stage.on(Laya.Event.KEY_UP,this,this.onkeyup); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onkeydown); Laya.timer.frameLoop(1,this,this.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ if(thi...

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

615. laya.ui.Label_API3.0 [ 64%]

...() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的...

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

616. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 64%]

...顶,官网例子运行报错。 //=======天空盒子 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加3D场景 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100)));//添加照相机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(...

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

617. laya.ui.Image_API3.0 [ 64%]

...n Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x ...

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

618. spine 播放错乱 [ 64%]

...parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); //this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); } private onError()...

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

619. 分享:简单聊天室 [ 64%]

...his,onSendClick1); // enter键发送默认字体或输入框内字体 Laya.stage.on(Event.KEY_DOWN,this,onKeyDown); } private function onKeyDown(e:Event):void { // 当按下enter健自动发送文字 if(e.keyCode==13) { change(str); } } // 发送文字样式二,如果input有值的话,发送inpu...

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

620. Invalid character: '`' Stack:[native code]异常 [ 64%]

...网络异常,请检查您的网络或与开发商联系...”, 修改stage的scale后,会发生异常情况 真机环境找不到window---cant find variable: window stack 1.7.15 小游戏3d 发布后在手机预览显示异常 unity到导出场景加载时抛异常,不知所措 请问有人...

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