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

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

1081. animate 动画播放 怎么把攻击 开火 合起来播放 [ 67%]

...a.Animation; private timeLine:Laya.TimeLine = new Laya.TimeLine(); constructor() { //初始化舞台 Laya.init(1334, 750, Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调方法 this.roleAni.loadAtlas("res/atlas/imgs/role/wp116....

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

1082. webgl模式下,Texture绘制出现内存泄漏【有demo】 [ 67%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 使用了u3D导出来的粒...

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

1083. 【初学者】导入模型进行旋转结果出现问题 [ 67%]

...mera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.Direct...

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

1084. 最新的ResourceVersion发布以后加载的url不正确 [ 67%]

...候,也会碰到一个错误但是不影响游戏运行: [warn]Retry to load: version.json?0.9911664351059268 [error]Failed to load: version.json?0.9911664351059268 资源版本清单文件不存在,不使用资源版本管理。忽略ERR_FILE_NOT_FOUND错误。   附件 : --> 2018-01-15 添...

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

1085. h5项目打包成单机版本的apk 出现卡死 [ 67%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 分享:打地鼠 AS、JS、TS版本 Demo! 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹配! 全局 tsc (2.2.2) != V...

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

1086. 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. [ 67%]

...+0800 (CST) -------------------------------------- [15:34:09] Working directory changed to /Applications/LayaAirIDE.app/Contents/Resources/app [15:34:09] Using gulpfile ~/Git/WorkProject/StackBall/.laya/compile.js [15:34:09] Starting 'compile'... 出错了: TypeScript error: ../../../node_modules/@t...

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

1087. Oppo加载.ls资源错误 [ 67%]

... Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_require, location: /home/game/jenkins/workspace/SafeBuild/XGame/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_runtime.cpp:179 07-11 16:53:45.923 30921-30972/? E/jswrapp...

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

1088. 部署到外网,出现运行出错,日志显示"下载的的filetable.bin的长度不对。是不是错了。" [ 67%]

...根据上图显示 经网上查,与 http://ask.layabox.com/question/13346?token=27_qQ_kLhPl50RsLxPDWfkUxI_4MxPTEIiJy4_31vZk13u_2Ta9b_EDmNoOBMcKrqc3Y7sgOXFpMtojjqF6RFg9X-FI24V5QvCM_lVOjg7PzIY 这个帖子问题很项. 发现这个人的第二张图,有帖 这部分代码,     也就是说如果...

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

1089. 通过绘制纹理生成的图片,改变scale时会出现图片不绘制的情况 [ 67%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target Texture图片能否进行翻转? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. matter中layasprite怎么改变图片大小? laya2的Scene默认是文件模式,不会生成场景...

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

1090. 微信开发者工具出现错误:Laya3D init error must support webGl [ 67%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2....

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