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

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

131. 打包ios时,第第一次进入游戏闪退,第二次就没问题,报一下错误 [ 63%]

....937914+0800 qimiaomuchanIOS[5815:1707048] require(/sdcard/layabox/scripts/config.js) 2018-01-28 23:29:52.940149+0800 qimiaomuchanIOS[5815:1707048] found the file in the package:scripts/config.js 2018-01-28 23:29:52.961968+0800 qimiaomuchanIOS[5815:1707009] Download [ ]:http://petapp.thepubliccoin.c...

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

132. webstorm能编译ts代码到bundle.js 里面吗 [ 63%]

...加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } console.log("jsroads------prevTasks:" + JSON.stringify(prevTasks)); //使用browserify,转换ts到js,并输出到bin/js目录 gulp.task("compile", "", function () { // 发布时调用编译功能,判断是否...

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

133. 发布时勾选压缩js后,gulp uglify生成的sourcemap在哪里 [ 63%]

...task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')...

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

134. 2D物理-桥 [ 63%]

...。class Physics_Physics_Bridge { constructor() { this.ecount = 30; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.AL...

来源: Laya2.0_示例 发布时间: 20251130

135. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 62%]

...赞同来自: (function(){ var Stage=Laya.Stage; var WebGL=Laya.WebGL; var config=Config; (function(){ console.log("运行程序。"); Laya.init(1280,720,WebGL); //设置适配模式 Laya.stage.alignH=Stage.ALIGN_CENTER; Laya.stage.alignV=Stage.ALIGN_MIDDLE; Laya.stage.scaleMode="showall"; Laya.Stat...

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

136. 文档描述错误 [ 61%]

... 下边的类在API文档里找不到对应的??? LayaNative中的 config.js 的具体使用文档 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 提示错误在laya.core.js里 我浏览在线文档 关于...

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

137. AssistantTouch的问题 [ 61%]

AssistantTouch的问题 请问图中所指的config.js是哪个? 配置的话该怎么写呢? 谢谢各位 附件 : --> 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 在官...

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

138. 使用typescript开发项目,解决文件引用顺序问题 [ 60%]

...,可以使用ts的import/export处理这个问题 一、调试 修改tsconfig.json,把module和target都改为ES6,因为es6的语法和ts很像,调试的时候看es6就可以了,索性把sourceMap也关掉{ "compilerOptions": { "module": "ES6", "target": "ES6", "sourceMap": false } } 删...

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

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

...pCache/da25d557/filetable.txt I/LayaBox:  require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file in the package:scripts/config.js I/LayaBox: JSRuntime::callMethod {} demo.J*ridge bgColor     JSRuntime::callMethod {} demo.J*ridge setFontColor I/LayaBox: JSRuntime::callMethod {} demo....

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

140. ios包的问题 [ 60%]

ios包的问题 config.ini在ios下在哪里加载的,我看oc代码都没看到,估计在runtime里面做的? 关于相关文档有吗,我没查到 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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