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

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

181. laya2.0微信开发域无法显示 [ 70%]

...的 无法显示微信开放域。 报错:value._addReference is not a function 按照论坛里面以前的一些讨论,修改了laya.core.js里面 value && (value._addReference(this._referenceCount)); =》 if(value && value._addReference){ value._addReference(this._referenceCoun...

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

182. Animation创建动画模板问题 [ 70%]

...Type.MOVE_STAND);   异常信息如下: TypeError: url.indexOf is not a function at Function.URL.formatURL (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:4418:12) at Function.Loader.getRes (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:11178:32) at Graphics.__pro...

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

183. 示例 骨骼动画换装 加不上点击事件 [ 70%]

...指针要变成可点击的指针“小手的样子”,求大神解析 function parseComplete() { mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature....

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

184. 播放声音,报错 [ 70%]

...正在播放的背景音乐 导微信小程序报错window.focus is not a function 用了ByteArray的zlib.min.js后报错 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 视频播放案例 问题状态 最新活动: 2018-04-04 21:06 浏览: 851 关注: 2 ...

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

185. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 70%]

... TypeError: Cannot read property 'call' of undefined 代码: var Test = (function(_surper){    function Test(){         Test.super(this);     };     Laya.class(Test, "Test", _surper);     return Test;      })(ui.TestUI);     报错Uncaught TypeError: Cannot read property 'call' of...

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

186. 我用as3调试的matter.js,刚体发生碰撞后不会旋转,我的代码在附件里 [ 70%]

...rivate var url_img:String = "res/";                    public function WWJ_Main()          {             Laya.init(stageWidth, stageHeight);                          Laya.stage.alignV = Stage.ALIGN_MIDDLE;             Laya.stage.alignH = Stage....

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

187. 飞机大战地图滚动报错,麻烦看下? [ 70%]

...nit(650, 316, Laya.WebGL); var bg1 = null; var bg2 = null; var box = null; function bg_rolling() {     box = new laya.display.Sprite();     Laya.stage.addChild(box);     bg1 = new laya.display.Sprite();     bg1.loadImage("res/bg1.png");     box.addChild(bg1);     bg2 = new laya.display.S...

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

188. js项目使用缓动类Tween报错 [ 70%]

...使用缓动类Tween报错 代码如下 var Tww = laya.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 添...

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

189. 报错:LayaAir not allow import flash.events.EventDispatcher? [ 70%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function 2.2.0beta4,微信上动态合批报错. 自定义场景类导出layaMaxUI.ts有前缀导致报错 问题状态 最新活动: 2016-12-22 12:01 浏览: 1994 关注: 2 人 Laya_XS • 2016-12-22 23:36 flash的类在layaai...

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

190. 分享:SWF LABEL标签的使用! [ 70%]

....events.Event; public class SwfLabelUse { private var mc:MovieClip; public function SwfLabelUse() { Laya.init(600,600); Laya.stage.bgColor="#EEFFCC"; mc=new MovieClip(); mc.load("output/AAA.swf"); mc.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(mc); } private function onLoaded():void { mc.add...

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