大约有 668 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
...ar firstTime = true; (function() { Laya.init(700, 1024, WebGL); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load(compassImgPath, Handler.create(this, init)); })(); function init() { // 创建罗盘 createComp...
来源: Laya_示例 发布时间: 20251209
...Laya.init(Browser.width, Browser.height, WebGL); // Laya.stage.scaleMode = Stage.SCALE_NOSCALE; // Laya.stage.bgColor = "#232628"; // Stat.show(); this.startFun(); } startFun() { this.templet = new SpineTemplet(Laya.SpineVersion...
来源: Laya_社区 发布时间: 20211013
...eError:Cannot set property 'y' of null"的解决方案 3D模型无法修改scale? 发布到vivo平台后,龙骨动画无法显示 问题状态 最新活动: 2025-10-15 09:39 浏览: 1278 关注: 1 人
来源: Laya_社区 发布时间: 20251015
...r.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => { this.event(AppEvent.onHide); this.appStatus = AppEvent.onHide; console.log(this.appStatus, '---------'); Laya.stage.renderingEnabled = false//停止渲染 Laya.updateTimer.pause() ...
来源: Laya_社区 发布时间: 20200917
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createC...
来源: Laya2.0_示例 发布时间: 20251209
发布到微信小游戏的屏幕缩放不生效问题 使用noborder noscale showall这三种scale方式时,在layaair下达到预期效果。但发布为微信小游戏后,运行效果与预期不符,呈现exactfit的效果。 项目代码附件提交。请问怎么解决这个问题呢? ...
来源: Laya_社区 发布时间: 20180307
...):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String in .Net-style, with curly braces ("{0}"). Does not support any * number formatting options yet. */ public function formatString(fo...
来源: Laya_社区 发布时间: 20170525
...) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 请问在layaIDE里,怎么调用微信小程序API LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 微信小游戏...
来源: Laya_社区 发布时间: 20180331
...nderHandler的回调下,获取到前三个的Item的实例,对其进行scale缩放(实际缩放的是Item的Skin),如果缩放不是很大的话,应该可以满足你的需求。 2017-06-28 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20170628
...Factory, 1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); mArmature.on(Event.STOPPED, this, completeHandler); Laya.stage.addChild(mArmature); play(); }); } function completeHandler() { mArmature.stop(); mArmature.removeSelf(); mArmature...
来源: Laya_社区 发布时间: 20181120