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

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

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

...protocol);         }         /** 清除所有*/         public clearAll(): void {             this.protocols.clear();         }         /** 销毁*/         public destroy(): void {             this.socket = null;             this.protocols.clear();      ...

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

692. LayaAir开发笔记(1)五十音图连连看 [ 30%]

...unt = winCount + 1; if (winCount == 8 * 3 / 2) { //游戏结束 Laya.timer.clear(this, gameCounter); var score = 100 - timeCount - errorCount; txt.text = "游戏结束 得分 : " + score; } } else { button[card_A].color = "black"; button[card_B].color = "black"; errorCount += 1; } } else if ((card_A...

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

693. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

...ress == 100) { this.logger.text = `当前下载进度: 100%\n`; Laya.timer.clear(this, this.onHttpRequestProgress); console.log("加载进度完成,清除进度事件帧听"); } } /** * 请求完成时触发的响应回调 * @param e 事件对象 */ private onHttpRequestComplete(e: any = null): vo...

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

694. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 29%]

... is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function OnCallBack():void { MsgManger.SendMsg("LoginOut"); } private function onConnectError(e:Event=null):void { trace("error"); } } }   写了个测试例子,可以收到服务器的推送的数据 ...

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

695. laya.d3.core.render.command.CommandBuffer_API3.0 [ 29%]

...ne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsSize setGlobalColor setGlobalInt setGlobalMatrix setGlobalNumber setGlobalTexture setGlobalVector setGlobalVector2 setGlobalVector3 setRenderTarget setShaderDa...

来源: Laya3.0_api 发布时间: 20231115

696. 在LayaIDE中下载的运行器启动报错 [ 27%]

...iew == null 03-19 15:01:08.581 3111-3317/? E/OpenGLRenderer: SFEffectCache:clear(), mSize = 0 03-19 15:01:08.586 3970-3970/? E/SimeSkbManager: config keyboard type error... 03-19 15:01:08.871 15489-15489/? E/SMD: smd Interface open failed errno is 2 -1 03-19 15:01:09.871 15489-15489/? E/SMD: smd Int...

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

697. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 25%]

...字符也生成出来。 ![18](img/18.png) 清除的方式为:`Edit` -> `Clear all chars in font`,清除之后,再导出的位图文本就如上图左侧红框中所示效果了。 ##### 第二,导出后,要把png的名字与fnt修改为同一个名字 由于该位图字体制作工具,...

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

698. 3D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 24%]

...navMeshSurface并不会跟随场景动态改变。开发者可以先点击clear按钮清楚原有的datas数据,然后再重新烘焙。 2.2 动态节点的基类(NavModifleBase) 有时,场景中需要一些动态节点,如移动的地板、临时添加的障碍物等。这些就需要导航...

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

699. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 24%]

..., "#ff0000", 1 ); 消耗了效率 要么每次画之前this._box.graphics.clear(); 要么就不画 2018-05-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 zhengguojin101 相关问题 sprite旋转以后,但...

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

700. laya.media.SoundNode [ 24%]

...(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信...

来源: laya_api 发布时间: 20170422