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

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

1221. 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

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

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

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

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

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

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

1224. 摄像机动画的使用(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

1225. 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

1226. laya.html.dom.HTMLIframeElement_API3.0 [ 56%]

...xtWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrol...

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

1227. 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

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

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

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

1229. laya.ui.TextArea_API3.0 [ 56%]

...extArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea =...

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

1230. laya.map.TileAniSprite_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