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

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

2821. 引擎 TiledMap 居然不支持图块翻转 [ 23%]

..._mapHeightHalf = this._map.height / 2;             switch (layerData.type) {                 case "tilelayer":                     break;                 case "objectgroup":                     var tArray = layerData.objects;                     if...

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

2822. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 21%]

...onMessageReceived(msg: any): void { console.log("接收到消息:"); if (typeof msg === "string") { console.log("文本数据:", msg); } else { console.log("接收到非字符串数据", msg); } // 清除输入缓存,避免残留数据 this.socket.input.clear(); } /** 连接关闭回调 */ pri...

来源: Laya3.0_文档 发布时间: 20251010

2823. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 20%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation)。

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

2824. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 20%]

...动画主要分为三步。 第一步:加载动画所需的图集。 ```typescript //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建...

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

2825. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 19%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation)。

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

2826. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 19%]

...泡上一杯红茶,写下了laya的故事。 工具及涉及:layaide+typescript+pomelo+tiledmap+其他工具 项目类型:mmorpg 人员:zom(客户端) + arrow(服务端) 进度:单机体验状态,实现 摇杆,切图,释放技能(由于人员和精力有限还需要处理...

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

2827. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 19%]

...目的bin目录中,并在 index.html 里引入,如下所示 <script type="text/javascript" src="astar.js"></script> 2.2 A*代码中使用 添加好A*类库之后,我们来看看代码中是怎么使用的 先来看一个最基本的A*代码示例 var graph = new Graph([ [1,1,1,1], ...

来源: Laya3.0_文档 发布时间: 20230303

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

示例打地鼠发布打包后提示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

2829. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 18%]

...has changed 05-16 15:59:49.127 7562-7562/com.dihong.testdcc I/0: connected type=1 05-16 15:59:49.171 7562-7577/com.dihong.testdcc I/LayaBox: JNI onGLReady tid=7577 05-16 15:59:49.171 7562-7577/com.dihong.testdcc I/LayaBox: JNI surface innersize changed : g_nInnerWidth=1536,g_nInnerHeight=2048 05-16 ...

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

2830. dcc下载超时 [ 17%]

...t;>>The network has changed 07-04 20:55:27.714: I/0(7884): connected type=1 07-04 20:55:27.715: W/EGL_emulation(7884): eglSurfaceAttrib not implemented 07-04 20:55:27.715: W/OpenGLRenderer(7884): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9bafc7c0, error=EGL_SUCCESS 07-04 20:55:27.752: E/(78...

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