大约有 1,700 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1359) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...8-20 0 0 分享 微博 QZONE 微信 。 赞同来自: 用laya自己的Laya.timer类就行了 2018-08-20 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 TsubasaYeung 相关问题 看了其他引擎才发现 LAYA 真的太太太太好用了...
来源: Laya_社区 发布时间: 20180327
...height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400);...
来源: Laya_社区 发布时间: 20180315
...play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLig...
来源: Laya_示例 发布时间: 20251209
... 问题2 并且不管哪里出现异常(包括按钮的点击函数、timer的loop回调、任何事件的回调、在ios上给label设置了一个无效的color等),都会导致整个游戏直接卡死 画面停止渲染 全体timer loop都停止 所有事件也不会再触发 等同...
来源: Laya_社区 发布时间: 20180525
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toggle : Boolean 指定按钮按下时是否是切换按钮的显示状态。 Button toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handle...
来源: laya_api 发布时间: 20170929
...光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ Laya.timer.loop()如何停止 Laya拖尾怎么停止或清除,比如要瞬移角色的时候停止。伤脑壳~~!! 求教: soundManager如何停止正在播放的背景音乐 用Laya.stage.addChild(new testUI());后,原来...
来源: Laya_社区 发布时间: 20170330
...aya["WebGL"]); trace("Laya.stage",Laya.stage,"Laya.timer",Laya.timer,"Laya.loader",Laya.loader) Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode = GameConfig.screenMode; ...
来源: Laya_社区 发布时间: 20191016
....scaleMode = "showall"; Laya.stage.bgColor = "#232628"; showApe(); // Laya.timer.frameLoop(1,this,myLoop) })(); function showApe() { // 方法1:使用loadImage加载背景1 var bg1 = new Sprite(); bg1.loadImage("war/bc.png"); Laya.stage.addChild(bg1); //加载背景2 var bg2 = new Sprite(); bg2...
来源: Laya_社区 发布时间: 20191017
...x=speedx; this.bgimg.speedy=speedy; console.log("funmovebg"+movetox); Laya.timer.frameLoop(speed, this, funbg); 2017-10-25 0 2 分享 微博 QZONE 微信 yinglei999 赞同来自: var Loader = Laya.Loader; var loaderHandler = Laya.Handler; var scronw=640; var scronh=960; ...
来源: Laya_社区 发布时间: 20171024
...txt.text = "Start conect"; Laya.timer.loop(1000, this, checkSocket); } private function checkSocket(e:* = null):void{ txt.text = socket.connected ? "Now connect" : "Not conect"; }...
来源: Laya_社区 发布时间: 20170209