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

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

31. 动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效 [ 78%]

...运行正常,打包APK后到手机上运行,描点未生效 if(anin==null)anin=new Animation(); anin.loadAtlas(url,Handler.create(this,onloaded),url); anin.autoSize=true; anin.autoPlay=false; anin.interval=interval;   private function onloaded():void { anin.pivotX=anin.getBounds().width/2; anin...

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

32. 构建安卓项目 [ 77%]

...建安卓项目 构建的Android Studio  单机版 运行 报错aya stage null   发布的web 运行运行没有问题 构建安卓了 报个舞台是空 不知道哪位大牛遇到过 。 附件 : --> 2020-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

33. 3D项目打包需要特殊处理吗? [ 76%]

...D项目在网页不报错,打包安卓后真机测试报错scaleModel of null,好像不能识别Laya.Stage.scaleModel !!! 2018-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...

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

34. TypeError: Cannot read property 'length' of null [ 76%]

TypeError: Cannot read property 'length' of null layaide2.4.0a场景包含预制体hero.prefab,b场景也包含预制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Poo...

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

35. 引用的类库问题 [ 75%]

...问题 var ViewStack=(function(_super){ function ViewStack(){ this._items=null; this._selectedIndex=0; ViewStack.__super.call(this); this._setIndexHandler=Handler.create(this,this.setIndex,null,false); } __class(ViewStack,'laya.ui.ViewStack',_super); 1. ViewStack.__super.call(this); 2. __class(ViewS...

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

36. Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 [ 75%]

...案例 配置Flash Builder的编译配置   运行后报错 Laya.stage为null   试了很久 想请问下各位大佬 是 配置的问题吗? 附件 : --> 2020-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回...

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

37. js项目使用缓动类Tween报错 [ 75%]

...utils.Tween; to0(); function to0() { Tww.to(this.lis, { alpha: 0.5 }, 500, null, Handler.create(this, to1)); } function to1() { Tww.to(this.lis, { alpha: 1 }, 500, null, Handler.create(this, to0)); } 在AS中是没有问题的。 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

38. app构建后在真机中运行报错 [ 74%]

...unction Prefab(){         /**@private */         this.json=null;     }      __class(Prefab,'laya.components.Prefab');     var __proto=Prefab.prototype;     /**     *通过预制创建实例     */     __proto.create=function(){         if (this.js...

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

39. 构建3d示例的Android工程,生成nativie的,导入android Studio中运行,报错 [ 74%]

... 错误:LayaAir3D.max.js:13425:TypeError:Cannot read property 'match'of null var tmp=str.match(ShaderCompile3D.INCLUDE)  我怎么才能在android studio中使用LayaPlayer加速器?如你们构建出的android的nativie的代码中 mProxy = new RuntimeProxy(this); mPlugin = new GameEngine(this...

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

40. 音乐快进到 n秒进行播放 手机上无效 [ 73%]

...指定位置开始播放: Laya.SoundManager.playSound(strSoundPath, 1, null,null,28); 在ide正常,发布微信小程序,在工具里边还是从头开始。 手机上更是如此。 使用微信api: var bgm = wx.createInnerAudioContext() bgm.autoplay = true bgm.loop = false bgm.src = 'audio...

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