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

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

121. 全局安装layaair2-cmd报错怎么办啊 [ 49%]

...pm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your depend...

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

122. WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header [ 49%]

...th instead – BenJacob Jul 7 '15 at 10:25 If the length is between 15 and 65535 bytes then your will have to add a two byte extended length, while if it's larger than 65535 bytes than you'll need a 4 byte extended length. – Cyclonecode Jul 7 '15 at 10:251Checkout tools.ietf.org/html/rfc64...

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

123. JavaScript heap out of memory,ide编译不了代码 [ 48%]

...制台出现以下报错,编译不了代码  出错了:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory  <--- Last few GCs --->  [8912:005A00C8] 319470 ms: Mark-sweep 982.8 (1183.0) -> 971.7 (1172.4) MB, 632.9 / 0.0 ms allocation failure GC in old space ...

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

124. laya.physics.RigidBody [ 48%]

...k类别,指定与其碰撞的类别值之和(值是所有category按位AND的值) RigidBody id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component  label : String = RigidBody[只读]自定义标签RigidBody  line...

来源: Laya2.0_api 发布时间: 20190513

125. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 48%]

...cs/zh-CN/mini-app/develop/developer-instrument/developer-instrument-update-and-download](https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/developer-instrument/developer-instrument-update-and-download) #### 3.2 申请小游戏创建权限 如果开发者仅仅是创建个开发者平台帐...

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

126. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 48%]

... 用babel打包的js文件,项目编译会报错 SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'   而用webpack打包的话,编译不报错,运行时会报错: TypeError: Cannot read property 'bee' of undefined     附件 : --> LayaProtobufjsTest.zip 2019-02-28...

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

127. native 1.0.2 连不上wss [ 48%]

...bwebsockets version: 2.3.0 layabox_mac@localhost- NOTICE: IPV6 compiled in and enabled NOTICE: libev support not compiled in NOTICE: libuv support not compiled in NOTICE: Threads: 1 each 2560 fds NOTICE: mem: platform fd map: 20480 bytes NOTICE: Compiled with OpenSSL support NOTICE: Doing SSL librar...

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

128. layaAir TS项目如何引用protoBuf库? [ 47%]

... Laya.Loader;         var Browser = Laya.Browser;         var Handler = Laya.Handler;         var ProtoBuf = Browser.window.protobuf;         Laya.init(550, 400);         //加载协议文件,相当于加载那个资源         ProtoBuf.load("../laya/proto/aweso...

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

129. 请问下设置group或者category能达到让两个互相能碰撞的物体不再碰撞的效果吗? [ 47%]

...k类别,指定与其碰撞的类别值之和(值是所有category按位AND的值)category 碰撞类别,使用2的幂次方值指定,有32种不同的碰撞类别可用。mask 指定冲突位掩码碰撞的类别,category位操作的结果。 2019-03-12 1 7 分享 微博 QZONE 微信 egoi...

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

130. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 46%]

... this.loadFont(); }   loadFont() { const  BitmapFont = Laya.BitmapFont, Handler = Laya.Handler;   Laya.loader.load([{     url: ['res/bitmapFont/test.fnt'],     type: Laya.Loader.FONT }], Handler.create(this, () => {             console.log('bitmapFont loaded');               ...

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