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

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

1. socket大型项目回调 [ 100%]

...VENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; private JS_WS_CLIENT_VERSION:string = '0.0.5'; private RES_OK:number = 200; private RES_FAIL:number = 500; private RES_OLD_CLIENT:number = 501; private socket:Laya.Socket = null; private callback...

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

2. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 97%]

...s(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = new Sprite(); // 城堡 this.tower = new Sprite(); // 飞艇 this.aeroboat = new Sprite(); // 山 this.mountain = new Sprite(); // 雕像 this.statue = new Sp...

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

3. Cannot find odule'lib/_stream_transform [ 96%]

... com.android.tools.build:gradle:3.1.2. 2.0.0编译报错Cannot find global type 'Array' Unity导出插件导出的模型中Transform值有误 TrailSprite3D的ALIGNMENT_TRANSFORM_Z模式和ALIGNMENT_VIEW模式有什么区别? LayaNative2.2运行报错。:getBitmapData Cannot find the specified char...

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

4. playSound和playMusic结束时候有异常抛出 [ 89%]

...时候有异常抛出 1. loader加载了{url:"res/music/Music_start.mp3",type:Laya.Loader.SOUND}资源 2. 加载结束后,调用Laya.SoundManager.playSound("res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceNode){ try {sourceNode.buffer...

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

5. layacmd使用ui命令,读取文件D:\s3mh5_client\laya\pageStyles.xml出错 [ 89%]

...,   'releasemode=normal',   'exportUICode=false',   'exportRes=false' ] type: Windows_NT appPath: C:\Users\XXX\AppData\Roaming\npm\node_modules\layacmd\ProjectExportT ools\ openProject: D:\s3mh5_client\laya\.laya loadProject: D:\s3mh5_client\laya\.laya assetsPath: D:\s3mh5_client\laya\assets Page...

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

6. 2.0.0beta5 can not find class Laya.Text [ 78%]

...Adpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. LayaNative2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c Cannot find module Roaming\npm\node_...

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

7. 针对2.0.0 beta5 setLoadingPage 做增强 [ 78%]

... 2.0.0 beta5.1 unity插件无法下载 2.0.0编译报错Cannot find global type 'Array' Layaair 2.0.0 engine 使用2.0.0和2.0.2native版本打包的应用过不了苹果审核问题 2.0.0正式版Label与Text的描边字(stroke)的描边显示不全 AirIDE 2.0.0正式版windows平台无法下载 ...

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

8. 在Laya中使用Matter.js的最简示例 (JS) [ 76%]

...必须执行 Laya.init(stageWidth, stageHeight, WebGL);否则会报错:TypeError: Cannot read property 'frameLoop' of nullvar Browser = Laya.Browser; var WebGL = Laya.WebGL; var Matter = window.Matter; var LayaRender = window.LayaRender; var stageWidth = 800; var stageHeight = 600; Laya.init(stag...

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

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

示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conn...

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

10. layacmd在centOS 6.5上运行出错 [ 61%]

...clear=true', 'releasemode=normal', 'exportUICode=true', 'exportRes=true' ] type: Linux appPath: /data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/ openProject: /data/ebuild/gongdou/gongdouH5/laya/.laya loadProject: /data/ebuild/gongdou/gongdouH5/laya/.laya assetsPath: /da...

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