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

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

2541. CameraMoveScript.as在哪儿下载群里的有错 [ 51%]

CameraMoveScript.as在哪儿下载群里的有错 public function CameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initialize(owner); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OU...

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

2542. 代码创建精灵监听不到事件? [ 51%]

代码创建精灵监听不到事件? var boxstr = "ui/buildsmall.png"; var box = new Laya.Sprite(); var texture = Laya.loader.getRes(boxstr); box.graphics.drawTexture(texture); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var ...

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

2543. 继承Dialog 的类视图。都是默认可以拖动的嘛?如果是,怎么让他不响应拖动,自定义拖动事件处理呢 [ 51%]

继承Dialog 的类视图。都是默认可以拖动的嘛?如果是,怎么让他不响应拖动,自定义拖动事件处理呢 demo 中的 dialog 是怎么让它移动起来的 2016-12-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

2544. 分享:LayaAir(as3)作品《IBM·天工开物·人机同行》移动端H5 [ 51%]

分享:LayaAir(as3)作品《IBM·天工开物·人机同行》移动端H5 这个作品用心地使用了一些layaAir补间动画,但是跟flash as3动画能力相比layaAir动画呈现上还有所欠缺,譬如不支持alpha混合模式的mask动画(http://ask.layabox.com/question/3218)...

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

2545. LayaIDE 2.3.0beta创建模型过多导致内存溢出 [ 51%]

LayaIDE 2.3.0beta创建模型过多导致内存溢出 Uncaught abort("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents som...

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

2546. 打包后报错 Unexpected token in JSON at position 266 [ 51%]

打包后报错 Unexpected token in JSON at position 266 VM392:1 gameThirdScriptError Unexpected token in JSON at position 266;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 266     at JSON.parse (<anonymous>)     at Function.MiniAdpter.getJson...

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

2547. 开关页面导致内存一直增长 [ 51%]

...舞台移除的时候进行了清理,大多数的放用的方法是” Laya.Loader.clearTextureRes(url);   比如这个页面的关闭  Close(): void {         IconManager.Instance().clearTexture(this.leftverticaldrawing.skin);//清理某个动态贴图的资源(clearRes方法清理p...

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

2548. 微信加载proto文件 [ 51%]

微信加载proto文件 在Laya里用this.protobuf.load 可以正常加载,但是导出成微信小游戏就无法加载了。报错无效的URL,求解 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...

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

2549. 有关于显存值的设置方法是在官网哪里? [ 51%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: var nMem = conchConfig.getTotalMem(); if (nMem <= 524288) { conchConfig.atlasNum = 10; conchConfig.maxTextureMemSize = 84 * 1024 * 1024;//图集内存上限 } else if (nMem > 524288 && nMem ...

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

2550. 为什么 List 组件的鼠标mouseHandler 没有MOUSE_MOVE事件? [ 51%]

为什么 List 组件的鼠标mouseHandler 没有MOUSE_MOVE事件? 为什么 List 组件的鼠标mouseHandler 没有MOUSE_MOVE事件? click game.max.js:66644 mousedown game.max.js:66644 mouseout game.max.js:66644 mouseover game.max.js:66644 mousedown game.max.js:66644 mouseout 2game.max.js:6664...

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