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

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

1211. laya.physics.PhysicsDebugDraw_API3.0 [ 56%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

1212. 关于当前焦点的问题 [ 56%]

... TextInput(); textInput.bgColor = "#ffcccc"; textInput.size(200,200); Laya.stage.addChild(textInput); textInput.name = "aa"; textInput.on(Event.FOCUS,this,onFoucs); private function onFoucs(e:Event):void { trace(e); } 2017-10-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

1213. lose skin null [ 56%]

...3D=null; Laya.timer.loop() 报错 Cannot read property 'loop' of null Laya.stage报null 问题状态 最新活动: 2018-01-27 15:19 浏览: 2146 关注: 2 人 helegame • 2018-01-29 20:26 好 谢谢 ssss111 • 2018-03-28 20:47 没显示图片呢,也预加载了 helegame • 2018-01-27 15:02 使...

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

1214. 请问键盘事件对方向键没有起作用,是怎么回事? [ 56%]

请问键盘事件对方向键没有起作用,是怎么回事? Laya.stage.on(Event.KEY_PRESS,this,keypressHandler); private function keypressHandler(evt:Event):void { trace("键盘事件=keyCode="+evt.keyCode); } 键盘字母区和数字区有输出,上下左右方向键没有,是什么情...

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

1215. 摄像机动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 56%]

...ventional/scene.ls',Handler.create(this,function(scene:Scene3D):void{ Laya.stage.addChild(scene); })); ``` ![](img/2.gif)(图2)

来源: Laya2.0_文档 发布时间: 20210715

1216. laya.ui.Label_API3.0 [ 56%]

...() { 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

1217. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 56%]

...过2048导致引发上面的问题 this.mask.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000");

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

1218. hitArea怎么用 [ 56%]

...640,1136,'#ff0000');         container.size(640,1136)         Laya.stage.addChild(container);                       var bg2Sprite =  new Sprite();         bg2Sprite.graphics.drawRect(0,0,640,1136,'#ff0000');         bg2Sprite.size(640,1136)         container.hitArea ...

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

1219. Oppo加载.ls资源错误 [ 56%]

...aya.loader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null,false), Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runt...

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

1220. 两个view形式页面,互相加载用什么事件? [ 56%]

...Click函数中写以下代码 var testView:TestView = new TestView(); Laya.stage.addChild(testView); 其实你也可以创建一个UI示例项目看下里边是怎么调用的 2017-06-29 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添...

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