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

大约有 3,247 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)

251. vivo打包后在手机运行本地存储返回数据有错 [ 79%]

...相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: VVMiniAdapter.init   有两行:     LocalStorage._baseClass = MiniLocalStorage;    MiniLocalStorage.__init__();   把这两行注释掉 2019-07-19 0 1 分享 微博 QZONE 微信 ymy1014 赞同来自: 用vivo提供的Storage API不...

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

252. FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory [ 79%]

...的吗? 怎样解决? Error: asBitmap no size! retry to load问题 Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 IDE不能运行调试提示:Chrome error: Error:... 创建的actionscript项目,但是新建模版文...

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

253. 屏幕适配-缩放-No Border [ 79%]

...at, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } createCantralRect...

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

254. 屏幕适配-缩放-No Scale [ 79%]

...at, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } createCantralRect(...

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

255. 关于屏幕适配的问题(急) [ 79%]

...且跟随适配模式进行适配,直接让panel的宽高等于你Laya.init的宽高即可! 2017-10-18 0 2 分享 微博 QZONE 微信 kite 赞同来自: 可以设置panel.height = Laya.stage.height; 如果想在缩放页面以后还是这样的效果,就 Laya.stage.on(Laya.Event.RESIZE, panel,...

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

256. swf转成H5资源显示超出原有范围 [ 79%]

...ublic function Main():void         {             if (stage) init();             else addEventListener(Event.ADDED_TO_STAGE, init);         }                  private function setWindowFullSize() : void         {             var stageW:int = 0;...

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

257. UI-ProgressBar [ 79%]

...at, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(["res/ui/progres...

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

258. 请教Laya.BitmapFont加载位图文字不能显示的问题 [ 79%]

...ing = "diyFont"; private mBitmapFont:Laya.BitmapFont; constructor() { Laya.init(600,400); this.mBitmapFont = new Laya.BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new Laya.Handler(this.onLoaded)); } private onLoaded():void { this.init(); } private init():void { this.mBitmapFont....

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

259. rigidBody.applyForce 物体不会移动 [ 79%]

... translateSpace: Laya.Vector3 = new Laya.Vector3(0, 1, 0); private monster_init_x: number = 0; private monster_init_y: number = 0; private monster_init_z: number = 0; private trans: Laya.Vector3; private rigidBody: Laya.Rigidbody3D; private tmp_x: number = 0; private tmp_y: number = 0; private tmp_z...

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

260. 屏幕适配-缩放-Extract Fit [ 79%]

...at, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } createCantralRect...

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