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

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

1. [LayaAirIDE 3.0]更新LayaAir 3.1.0-beta.1后编译不了 [ 100%]

...8 Promise.then (async) (anonymous) @ index.js:16 (anonymous) @ index.js:71 require @ VM96 WAGameSubContext.js:2 r @ VM96 WAGameSubContext.js:2 (anonymous) @ game.js:17 require @ VM96 WAGameSubContext.js:2 (anonymous) @ VM121:1 doWhenAllScriptLoaded @ game.js:43 scriptLoaded @ game.js:58 script.onloa...

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

2. 如何使用vscode编译laya项目 [ 95%]

...argv.split("=")[1].replace("/.laya/compile.js", ""); } } [/b] const gulp = require(ideModuleDir + "gulp"); const rollup = require(ideModuleDir + "rollup"); const typescript = require(ideModuleDir + 'rollup-plugin-typescript2');//typescript2 plugin const glsl = require(ideModuleDir + 'rollup-plugin-g...

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

3. iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Objc -all_load"后编译不通过 [ 94%]

...啊 ld: warning: ignoring file ../LayaRuntime-iOS/libs/libcurl.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libcurl.a (2 slices) Undefined symbols for architecture i386: "_zip_file_set_external_attributes", referenced from: _zip_dir_add in libconch.a(zip_dir_add.o)...

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

4. 打包的apk无法正确运行(laya动画过后就黑屏) [ 82%]

...的apk无法正确运行(laya动画过后就黑屏) 使用ts开发,requirejs来加载模块,在电脑上是能正确运行的,但是打包成apk后就不行了 ts配置是 "module": "umd", "target": "es5",   index下的js就这样 <!--自定义的js(src文件夹下)文件自动添加...

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

5. 安装layaair2-cmd一直失败 [ 80%]

...ming\npm\node_modules\layaair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript stand ard library! The project needs your help! Please consider supporting of core-js on Open...

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

6. 音频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...较大的文件,但是Audio在移动端会有手势的限制,gesture-requirement-for-media-playback属性表明必须有用户的手势操作才可以播放。 ​ WebAudio是一种新的声音播放形式,可以加载多个声音进行合成,他是通过二进制文件解码成浏览器支...

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

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

...t;>after I/LayaBox: found the file in the package:app.json I/LayaBox:  require(/sdcard/layabox/scripts/scripts/index.js) I/LayaBox:  require(/sdcard/layabox/scripts/index.js) I/LayaBox: found the file in the package:scripts/index.js I/LayaBox:  =================================================...

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

8. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 71%]

...ble rectangular area). If the rectangular collision area does not meet the requirements, you can use the drawing area of the hit area as the collision area. The hit area takes precedence over width and height of node as the non-penetrable mouse collision area. * Note that for UI object nodes with a ...

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

9. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...ort xx from "xx"的方式,所有IDE内置cjs模块都可以通过IEditor.require或者IEditorEnv.require去引用。 //可以通过import导入node内置模块 import fs from "fs"; import path from "path"; //也可以通过require const fs = IEditor.require("fs"); const sharp = IEditor.require("sh...

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

10. socket大型项目回调 [ 55%]

...r proto:any = protos[name]; switch (proto.option) { case "optional": case "required": buffer.writeArrayBuffer(this.encodeTag(proto.type, proto.tag)); this.encodeProp(msg[name], proto.type, protos, buffer); break; case "repeated": if (!!msg[name] && msg[name].length > 0) { this.encodeArray...

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