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

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

121. 分享-js资源进度加载 [ 50%]

...3/sfx_twinkle_edited.mp3", type: Laya.Loader.SOUND } ]; constructor() { // Config.isAlpha = true; //设置画布是否透明,只对2D(WebGL)、3D有效。 Laya.init(1280, 800, Laya.WebGL); // Laya.stage.bgColor = "none"; //背景透明 //画布水平居中对齐 Laya.stage.alignH = Laya.Stage.ALIG...

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

122. Laya2.0发布微信小游戏,真机测试出现 window is not define 报错 [ 50%]

...两种方式 一个是:注释 window=window||global; 第二个:project.config.json -----------  改个参数"es6": false, //////////////////////////////////////////////////////////////////////////////////// 好的,微信开发着工具可以正常运行测试,以为可以了,完美,但...

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

123. 打包native报错 [ 49%]

...8 13:34:09.378561+0800 test1[6479:65523]  require(/sdcard/layabox/scripts/config.js) 2019-06-18 13:34:09.379107+0800 test1[6479:65523] found the file in the package:scripts/config.js   2019-06-18 13:34:09.380089+0800 test1[6479:65523]  JSBridge bgColor: ["#000000"] 2019-06-18 13:34:09.380371+0800...

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

124. Laya ts版,使用jasmine进行单元测试 [ 49%]

....2.2, npm 5.5.1  1 创建package.json{ "scripts": { "test": "jasmine-ts --config=jasmine.json" } } 2 安装jasmine及所需其他库,打开命令行,在项目根目录下npm i -D jasmine jasmine-ts ts-node typescript @types/jasmine @types/node 3 创建jasmine.json文件{ "spec_dir": "__tests__"...

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

125. List翻页效果 [ 48%]

...动。 2017-12-02 0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...

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

126. List翻页效果怎么实现 [ 48%]

...复杂 2018-11-13 0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...

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

127. 打包native报错 [ 47%]

...8 13:34:09.378561+0800 test1[6479:65523]  require(/sdcard/layabox/scripts/config.js) 2019-06-18 13:34:09.379107+0800 test1[6479:65523] found the file in the package:scripts/config.js   2019-06-18 13:34:09.380089+0800 test1[6479:65523]  JSBridge bgColor: ["#000000"] 2019-06-18 13:34:09.380371+0800...

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

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

...1-09 20:50:15.650 ZhuaWawa[2531:1863829]  require(/sdcard/layabox/scripts/config.js) 2018-01-09 20:50:15.651 ZhuaWawa[2531:1863829] found the file in the package:scripts/config.js 2018-01-09 20:50:15.657 ZhuaWawa[2531:1863805] Download [  ]:http://h5.catcher.magicbone.co ... .3558 2018-01-09 20:50...

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

129. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 47%]

...确。 2018-07-24 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...

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

130. 用LayaAirIDE创建AS3项目并详解目录结构(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 47%]

...Builder项目”来导入LayaAirIDE创建的AS3项目。 #### `语言版本config.json` 图9中的`asconfig.json`存放着IDE的编译配置信息,勿删。 ### 3.7 发布目录 发布目录默认是不存在的,需要点击发布按钮,发布项目后才会生成对应的版本目录,如图...

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