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

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

521. 怎么实现一个Timer的loop的delay时间越来越短? [ 68%]

...Timer的loop的delay时间越来越短? loop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void delay:int在loop过程中可以修改吗? 定时重复执行。怎么实现一个Timer的loop的delay时间越来越短? 2017-06-26 添加评论 免费帖 --> 分...

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

522. list里面可以加入多个view吗? [ 68%]

...ya.utils.Handler; public class LayaAirDemo { private var list:List; public function LayaAirDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { lis...

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

523. [2.0beta5]引入场景报错 [ 68%]

...Space/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:305:118)     at Function.Laya3D.init (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.d3.js:14694:4)     at new Test (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/js/bundle.js:14:16) ...

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

524. 小游戏的后台切换事件名是什么?? [ 68%]

...pter; /** * ... * @author lin */ public class ZeroWXAdpter { static public function init():void { MiniAdpter.window.wx.onShow(onShow); MiniAdpter.window.wx.onHide(onHide); } static private function onShow(res):void { console.warn("小游戏回到前台", res); } static private function onHide():void...

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

525. "Background is not defined"怎么会没定义呢???求救 [ 68%]

...0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: Game.jsvar Game = (function(){ (function Game(){ Laya.init(600,800); this.bg = new window.Background(); Laya.stage.addChild(this.bg); })(); })();Background.js var Background = (function(_super){ function Background(){ Background.super(this); th...

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

526. 华为手机SoundManage.playSound有问题 [ 68%]

...); 没有音效  上面执行完毕后 不会 执行soundComplete private function soundComplete(aa,bb):void { //执行代码 }   2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 qian 赞同来自: 我...

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

527. HttpRequest感觉没有发成功 [ 68%]

...S,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console.log("processHandler"); } function errorHandler(data){ console.log("errorHandler"); } function completeHandler(e){ console.log("completeHandler"); } 2018-08-27 添加...

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

528. 粒子释放问题 [ 68%]

粒子释放问题 (function() { var Stage            = Laya.Stage; var Loader           = Laya.Loader; var Particle2D       = Laya.Particle2D; var Browser          = Laya.Browser; var Handler          = Laya.Handler; var Stat             = Laya.Stat; var WebGL   ...

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

529. LayaUI中的input组件不显示 [ 68%]

LayaUI中的input组件不显示 (function(){ Laya.init(600, 400,Laya.WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER;          Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; loadres();...

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

530. SVG渐变精灵的扩展脚本继承了多个精灵, 在safari环境下重叠了渲染 [ 68%]

...* this class is a extension of texts with gradient color  */ var effect; (function (effect) {     var GradientText = (function (_super) {         const style = {             DEFAULT: "default",             VERTICAL: "vertical",             HORIZONTAL: "horizontal",       ...

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