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

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

601. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 50%]

...ightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this.bgTexture,32*29,0,32,96), 0, 0, 32, 96); this.rightBg.width = 32; this.addChild(this.rightBg); } switch(type){ case 1: this.rightBg.visible = false; this.bg.graphics.drawTexture(this.bg...

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

602. 游戏laya as语言,demo运行中,不定时出现 “调试适配器已意外中止”,大概有什么问题导致 [ 50%]

...\AppData\Roaming\LayaAirTool   还有这一条可能性,你可以按照\resources\app\extensions\git找到相应的git文件夹,删了 2018-07-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cql2013mhxy 相关问题 写个捕鱼...

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

603. macOS sierra 1.7.9 正式版 无法发布资源 [ 50%]

...录 出现如下错误: /Applications/LayaAirIDEMac_1.7.9.app/Contents/Resources/app/out/vs/layaEditor/libs/TP/atlas-generator: Permission denied at ChildProcess.exithandler (child_process.js:223) at emitTwo (events.js:106) at ChildProcess.emit (events.js:191) at maybeClose (internal/child_process...

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

604. IDE发布之后,在res下并没有任何资源,这是什么情况啊? [ 50%]

...方),资源路径写错了。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不客气...

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

605. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 50%]

...p[groupName]; if(arr != null){ for each (var url:String in arr) { var item:Resource = Laya.loader.getRes(url); if(item != null){ item.destroy(); item = null; } } Loader.clearResByGroup(groupName); } }

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

606. layaBox2.2中这个错误怎解决或者怎么忽略不报这个错误 [ 50%]

...atus:0 text: [warn]Retry to load: undefined/undefined.scene Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///H:/LayaAir/minGame1/cyjl/bin/undefined/undefined.json] 附件 : --> 2019-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

607. 分享:常见 IDE 错误提示解决方案 [ 50%]

...yaAir IDE引擎文件导致的,需要开发者手动找回误删文件:resources\app\extensions\typescript\node_modules\typescript\lib\tsserver.js这个文件。。。或者关掉杀毒软件,重新解压一份IDE压缩包即可!   2、 此报错是由于开发者没有安装layacmd导致...

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

608. 2D网格渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...,例如节点被添加到舞台后 onEnable(): void { Laya.loader.load("resources/layabox.png", Laya.Loader.IMAGE).then(() => { this.setMesh2DRender(); }); } // 配置2D网格渲染器 setMesh2DRender(): void { let mesh2Drender = this.layaMonkey.getComponent(Laya.Mesh2DRender); // 添加网格 ...

来源: Laya3.0_文档 发布时间: 20251120

609. LayaAir3D Warning : MyWater must config in CustomShaderConfig File. [ 50%]

...ning!,this class[MiniAdpter] already exist: Object {init: } Failed to load resource: net::ERR_FILE_NOT_FOUND LayaAir3D 3D射击游戏 物体移动碰撞穿透问题 LayaAir3D 3D射击游戏 物体移动碰撞穿透问题 【已解决】LayaAir3D 3D射击游戏 第一人称视角随鼠标旋转疑问...

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

610. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 50%]

...olicy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bookportal.com' is therefore not allowed access. 2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian ...

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