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

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

1061. socket大型项目回调 [ 25%]

...SHAKE,handshakebuffer); // this.socket.send('{"cmd":0,"data":{"user_name":"test0001","password":"abcd1234"}}@'); this.send(buffer); this.socket.output.writeArrayBuffer(buffer); this.socket.flush(); } private onClose(e:Laya.Event):void { console.error("[Pomelo] connect close:",e); this.emit(Pomelo.EV...

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

1062. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 22%]

...绘制10000个文本(根据电脑性能而定,本例为10000): class Test { private text:Laya.Text; constructor() { Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); var textBox=new Laya.Sprite(); for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(...

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

1063. [LayaAirIDE3]xcode切入切出声音不播放 [ 22%]

...               SoundManager.Instance.playMusic111("resources/music/test/FY-0079.wav");             });         }     }   import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void...

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

1064. 安装layaair2-cmd一直失败 [ 20%]

... > node lib/install.js   ‼ read ECONNRESET   ‼ gifsicle pre-build test failed   i compiling from source   × Error: Command failed: C:\Windows\system32\cmd.exe /s /c "autoreconf -ivf" 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���...

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

1065. CPU粒子系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 20%]

...加自定义的材质,默认是内置的着色器: (图10-1) Alpha Test Value:会根据AlbedoTexture与AlbedoColor的alpha叠加值来进行测试,小于AlphaTestValue值得片元会丢弃不进行渲染。 Tiling Offset:可以用来设置uv缩放与偏移值,实现对Albedo贴图不...

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

1066. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 18%]

...指定粒子的颜色。 Texture:指定粒子使用的纹理贴图 Alpha Test Value:透明测试开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 ​ Opaque:默认设置,适用于没有透...

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

1067. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 18%]

...指定粒子的颜色。 Texture:指定粒子使用的纹理贴图 Alpha Test Value:透明测试开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 ​ Opaque:默认设置,适用于没有透...

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

1068. 微信小游戏加载资源问题 [ 18%]

...r.replace(/\u2006|\x27/g, ""); if (_inputTarget._restrictPattern.test(str)) { str = str.replace(_inputTarget._restrictPattern, ""); } } _inputTarget.text = str; _inputTarget.event(Laya.Event.INPUT); MiniInput.inputEnter(); _inputTarget.event("confirm"); }); MiniAdpter.w...

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

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

...egory.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-...

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

1070. dcc下载超时 [ 17%]

...()  07-04 20:55:27.291: E/(7884): m_pPlatform = layaair.game.Market.MarketTest@89945ff 07-04 20:55:27.337: I/LayaBox(7884): setLocalizable:0 07-04 20:55:27.337: I/LayaBox(7884): JNI setIsPlug:0 07-04 20:55:27.337: I/LayaBox(7884): JNI seturl:http://engine.develop.monitor.com/wheat/index.js 07...

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