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

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

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

... 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); this.bg1 = new Laya.Sprite(); th...

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

462. layabox2.0 调用tiledmap提示undefined是为什么,是2.0以后就不支持了吗? [ 76%]

layabox2.0 调用tiledmap提示undefined是为什么,是2.0以后就不支持了吗? this.tMap =new laya.map.TiledMap; 执行后直接报下面的错误。 TypeError: Cannot read property 'TiledMap' of undefined 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

463. list中加的button不能接收点击事件 求一个list中加button的demo [ 76%]

...     posY = posY + 200;         }         let list = new Laya.List;         list.width = this.itemList.width;         list.height = this.itemList.height;         list.x = this.itemList.x;         list.y = this.itemList.y;         list.spaceY = 12;...

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

464. 关于实例化 动画特效.efc 文件的问题 [ 76%]

...n 的动画类型文件,并且在ide里编辑了对应的动画帧。   layaUI.max.all.js里也有了effect01UI()相关的函数,   然后我通过代码 : var _effectN = new effect01UI(); monsterMain.HitPoint01.addChild(_effectN);   执行到new这行的时候报错: 具体是layaUI....

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

465. 求HTTP相关的文档或者例子谢谢了 [ 76%]

...题请先登录 发起人 seedcll 相关问题 解决跨域相关! 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么不显示? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? matter.js的文档查看 关于逻辑贞更新间隔机制...

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

466. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 76%]

...二、接着是构造函数: ```java public function WatchPosition() { Laya.init(1, 1);   init();   // 使用高精度位置 Geolocation.enableHighAccuracy = true; Geolocation.watchPosition(Handler.create(this, updatePosition), Handler.create(this, onError));   // 绑定convertToBaidu...

来源: Laya2.0_文档 发布时间: 20210715

467. bitmapFont.loadFont()加载多个地址导致位图输出重 [ 76%]

... true; txt.text=value1; txt.font =this.fontName; txt.leading = 30; txt.pos(Laya.stage.width - txt.width >> 1, Laya.stage.height - txt.height >> 1); Laya.stage.addChild(txt); } 附件 : --> 2019-07-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

468. LayaNative 预览在Android底下报错 ConchShader is not defined [ 76%]

LayaNative 预览在Android底下报错 ConchShader is not defined 2018-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 福州小霸王 赞同来自: z295738188 ReferenceError: ConchShader is not defined thi...

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

469. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 76%]

...找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以及你想做什么,出现的问题 2018-01-10 0 1 分享 微博 QZONE 微信 oy2419498011 赞同来自: var shouye=(function(){ (function shouye(){...

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

470. uglify压缩后的错误堆栈解析 [ 76%]

uglify压缩后的错误堆栈解析 1、js的压缩工具:.laya/publish.js 中 // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle...

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