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

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

121. Android替换游戏启动logo看不到设置的图片 [ 67%]

...续改进 目前的解决方式:开发者自定义加载进度 1、设置config.js的 loadingView.loadingAutoClose=false;//false:自定义进度条 ture:使用laya默认进度条 2、设置加载进度(需要写在项目代码内,并非config.js内) var per=0; loadingView.loading(per);//...

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

122. laya.d3.webxr.core.WebXRExperienceHelper_API3.0 [ 67%]

...bXRCameraManager Defined in laya/d3/WebXR/core/WebXRExperienceHelper.ts:96 config WebXRCameraManager Parameters camera: Camera Camera manager: WebXRSessionManager WebXRSessionManager Returns WebXRCameraManager Static setWebXRInput setWebXRInput(sessionManager: WebXRSessionManager, cameraManager: Web...

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

123. LayaAir2.0开始就无法设置透明背景了吗? [ 67%]

...背景了吗? public function Main() { //根据IDE设置初始化引擎 Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = "none"; }   AS3版,从Laya1.x升级过来之后,发现2.0-2.8都无法通过这个来设置背景透明。 这让人很绝望啊。。。   附件 : --> 20...

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

124. uglify压缩后的错误堆栈解析 [ 66%]

... // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')) ...

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

125. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 66%]

...extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/frameworks/js-config.xml' severity: '错误' message: '无法打开“/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/js/libs/GCL.swc”。 /Applications/LayaAirIDE_beta...

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

126. 用xml描述创建一个clip,interval字段妖孽无效 [ 66%]

...直接上代码             var xml:XML = Laya.loader.getRes("res/config.xml");             xml = xml.firstChild;             for (var node:XML = xml.firstChild; node != null; node = node.nextSibling)             {                 var id:Number = no...

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

127. 运行配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...刷新率。 如果开发者不希望固定逻辑帧率上限,可以将 Config.fixedFrames 设置为 false,关闭固定帧模式,使逻辑更新尽可能跟随平台的 requestAnimationFrame 调用频率执行。 // - 当为 true 时:渲染和逻辑更新被限制在由 Config.FPS 定义的...

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

128. ide 2.4 layaair2-cmd 编译报错 [ 65%]

...ents/GameTowertest/.laya/compile.js [14:22:35] Starting 'compile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected token ...

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

129. 2D物理-碰撞事件与传感器 [ 65%]

... constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage....

来源: Laya2.0_示例 发布时间: 20260303

130. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 65%]

...  //加载IDE指定的场景         Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig){                 v...

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