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

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

11. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 89%]

...I/LayaBox: start thread:image decode,2987 I/LayaBox: found the file in the package:shaders/todevVS.glsl I/LayaBox: found the file in the package:shaders/fillColorPS.glsl I/LayaBox: found the file in the package:shaders/drawImagePS.glsl I/LayaBox: found the file in the package:shaders/fillImagePS.gls...

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

12. 淘宝创意互动发布指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 89%]

...文件格式,如果用到了特殊的文件格式,需要在这配置 - package.json:项目描述文件 - node_modules/layaengine:导出项目所使用到的 Layaair 引擎。 - pages/index 文件夹: > 导出后,开发者的资源与项目JS,位于的淘宝创意互动的 `pages/index/` ...

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

13. event自定义事件的问题 [ 89%]

...个trace,事件没有派发成功,下面是testDemo LayaSample类: package { import laya.display.Sprite; public class LayaSample extends Sprite{ public static var event:String = "event"; public function LayaSample() { super(); //初始化引擎 Laya.init(1136, 640); var re:Revent = new Revent(...

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

14. socket大型项目回调 [ 88%]

...on = null; private _callbacks:any = {}; private reqId:number = 0; private _package:IPackage; private _message:IMessage; constructor(){ if(!console.group){ console.group = console.log; console.groupEnd = function(){console.log("----")}; console.info = console.log; console.warn = console.log; console....

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

15. LayaIDE分包.js代码无法断点 [ 84%]

...码无法断点 as3项目,LayaIDE分包,layaair调试。 分出的包package_sub.js代码无法断点,主max.js就可以断; 分包出来的js文件如何在laya ide实现断点? 附件 : --> 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

16. layaflash下构造函数需要注意哪些问题? [ 84%]

...的代码无效。以下是代码示例: 作为父类A.as的代码:package { import flash.display.Sprite; public class A extends Sprite { protected var data:String = "layabox"; public function A() { super(); } } }   作为子类B.as的代码:package { public class B extends A { public funct...

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

17. 关于import 导入包的问题 [ 83%]

关于import 导入包的问题 package { import laya.display.Stage; import laya.ui.Label; import laya.webgl.WebGL; }像这种样子的代码,import后面的这些包是哪里来的,为什么我在.ts文件中写package关键字会报错,这种代码我粘贴下来也是会报错 2017-08-02...

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

18. 打包native报错 [ 83%]

...d. 2019-06-18 13:34:09.244289+0800 test1[6479:65523] found the file in the package:scripts/runtimeInit.js   2019-06-18 13:34:09.247560+0800 test1[6479:65523] found the file in the package:scripts/apploader.js   2019-06-18 13:34:09.274697+0800 test1[6479:65523]  {   "os" : "ios",   "devicename" ...

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

19. ios打包后【单机版】运行崩溃,附上报错log与demo [ 83%]

...s 2019-01-07 13:33:42.478836+0800 sanguo[777:557379] found the file in the package:a79d20b7 2019-01-07 13:33:42.485250+0800 sanguo[777:557275] >>>JCConchRender::clearAllData =21785472 2019-01-07 13:33:42.528635+0800 sanguo[777:557379]   2019-01-07 13:33:42.541187+0800 sanguo[777:557379] ...

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

20. layaAirNative命令行工具使用 · LayaAir3.0文档 · LAYABOX [ 82%]

...ios|android_studio] [-t 0|1|2] [-u url] [-n project_name] [-a app_name] [--package_name package_name] 参数说明: 关键字 描述 --folder,-f 资源路径:把游戏资源打包进客户端以减少网络下载,选择本地的游戏目录,例如启动index在d:/game/index.js下,那资源路径...

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