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

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

21. 两个Laya项目编译完的js之间怎么跳转? [ 81%]

...完服之后怎么在页面里开始显示Main.js的主游戏画面? var script:* = Browser.createElement("script"); var jurl:String = "Main.js?" + "r" + Math.random(); script.src = jurl; Browser.document.body.appendChild(script); 我采用这种方式不成功! 2018-01-27 添加评论 免费帖...

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

22. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 81%]

...SWTFMainThreadCaller is implemented in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /var/containers/Bundle/Application/2CBB02B7-1D05-4CF4-A68D-59337C781979/ZhuaWawa.app/ZhuaWawa. One of the two will be used. Which one is undefined. 2018-01-09 20:50:15.068 ZhuaWawa[2531...

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

23. Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 [ 81%]

...json 12-09 22:04:33.108 12728-12832/? I/LayaBox:  require(/sdcard/layabox/scripts/scripts/index.js) 12-09 22:04:33.109 12728-12832/? I/LayaBox:  require(/sdcard/layabox/scripts/index.js) 12-09 22:04:33.110 12728-12832/? I/LayaBox: found the file in the package:scripts/index.js 12-09 22:04:33.115 1...

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

24. LayaBox AS3编译总结之FlashDevelop篇 [ 80%]

...并注意分包项目的JS与laya库的JS引用顺序,参考内容 <script src='laya.js' loader='laya'></script> <script src='js/all/ui.js' loader='laya'></script> 2、分包文件module.def放在项目根目录下 参考内容 module:"all/ui" path:"src/ui" /*[COMPILER OPTI...

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

25. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 80%]

...),无法加载游戏启动页 I/LayaBox: found the file in the package:scripts/async.js I/LayaBox:  loadApp:http://happiness.joyleafs.com/ncapi/client/app*/index.json I/LayaBox: setCachePath:/data/user/0/com.layabox.run.*//LayaCache//appCache/     read index:/data/user/0/com.layabox.run.*//La...

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

26. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 80%]

...an: 3.616943359375 ms add main_scene.ls add ui/ui.atlascfg add ../src/BuildScript.ts add ../src/Main.ts add ../src/storage/StorageProxy.ts add ~/internal/blueprint.bin add ~/internal/Box.lm add ~/internal/Capsule.lm add ~/internal/Cone.lm add ~/internal/Cylinder.lm add ~/internal/DefaultMaterial.lma...

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

27. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 80%]

...%W@GJ$ACOF(TYDYECOKVDYB.png1.6.1.200~202/game/cocos/cocos2d-x-lite/cocos/./scripting/js-bindings/manual/jsb_global.cpp, 931): initWithImageFile: /data/user/0/com.vivo.hybrid/app_reso           [ERROR] (/opt/jenkins/workspace/vivo_vfile:///C:\Users\74741\AppData\Roaming\Tencent\QQ\Temp\%...

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

28. vivo小游戏 3d模型加载不出,调试无报错 [ 79%]

... (/opt/jenkins/workspace/vivo_v1.7.6.600/game/cocos/cocos2d-x-lite/cocos/./scripting/js-bindings/jswrapper/v8/Object.cpp, 634): Invoking function (0x5582ce3fc0) failed! 08-28 16:39:42.374 28953-29182/? E/jswrapper: jsb: ERROR: File /opt/jenkins/workspace/vivo_v1.7.6.600/game/cocos/cocos2d-x-lite/coc...

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

29. LayaNative加速器环境html启动文件规范须知 [ 79%]

...环境下html文件里不能直接使用 <scrpit> var num = 10; </script> 代码块,有类似需求需要将代码块中的代码放到的js文件里,然后通过引入js文件的方式引入使用:<script src=”a.js”></script> 2、在加速器环境下游戏的横...

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

30. Laya.Script _start和_update以及_lateupdate不执行是什么原因呢? [ 78%]

Laya.Script _start和_update以及_lateupdate不执行是什么原因呢?  class b extends Laya.Script{    _initialize(owner:Laya.Sprite3D){      super._initialize(owner);      //加打印可以执行    }        _start(state:Laya.RenderState):void{       //加打印不执行  ...

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