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

大约有 358 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0059 秒)

1. 如何能监听到TouchStart和TouchEnd事件 [ 100%]

...空的 Event 对象。用于事件派发中转使用。*/         static EMPTY: Event;         /** 定义 mousedown 事件对象的 type 属性值。*/         static MOUSE_DOWN: string;         /** 定义 mouseup 事件对象的 type 属性值。*/         static ...

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

2. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 97%]

...t/DropBox" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:string=""; static debug:boolean=fals...

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

3. /*[STATIC SAFE]*/ [ 95%]

/*[STATIC SAFE]*/ /*[STATIC SAFE]*/ 这个是什么意思,脚本发布的ui没有这个,ide的有 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这个不用管。 2018-03-...

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

4. TextInput有禁用中文输入法的功能吗? [ 94%]

...关的链接 提交 2 个回复 Laya_Aaron 赞同来自:         static public const TYPE_TEXT:String = "text";         /** password 类型用于密码域输入。*/         static public const TYPE_PASSWORD:String = "password";         /** email 类型用于应该包...

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

5. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 94%]

...oginScene" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="LoginScene.scene"; sta...

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

6. 编译报错,请官方大大看一下 [ 94%]

...来自: 结贴了 sky1989chen :已解决。 SaveClipRect类中:private static var _cache:* =/*[STATIC SAFE]*/ SaveBase._createArray(); SaveTransform类中:private static var _no:* =/*[STATIC SAFE]*/ SaveBase._createArray(); SaveClipRectStencil类中:private static var _cache:* =/*[STATIC SAFE...

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

7. 2.0 Beta3版本中,runtime脚本的的问题 [ 94%]

...geRunTime" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="mainscene.scene"; stat...

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

8. 引用游戏的JS变得很卡 [ 93%]

...I/LayaBox﹕ found the file in the package:cache/192.168.167.103.8085_html_static_h5_DSGAME_h5/f6e896a2 03-21 20:29:03.739 19155-19190/com.mygame.laya I/LayaBox﹕ found the file in the package:cache/192.168.167.103.8085_html_static_h5_DSGAME_h5/17e1dac1 03-21 20:29:03.765 19155-19190/com.mygame.lay...

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

9. 微信小游戏加载资源问题 [ 93%]

...tion DEB(str){ console.debug("[res]"+str); } class MiniFileMgr { static isLocalNativeFile(url) { for (var i = 0, sz = MiniAdpter.nativefiles.length; i < sz; i++) { if (url.indexOf(MiniAdpter.nativefiles[i]) != -1) return true; } return false; } static getFileInfo(fileUrl) { var fileNati...

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

10. socket大型项目回调 [ 92%]

... /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIE...

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