大约有 879 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(569) Laya2.0_文档(142) Laya_示例(79) Laya2.0_示例(40) Laya3.0_文档(39) Laya3.0_api(8) Laya2.0_api(2)
Laya.loader Progress回调形同虚设 private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load([ "res/1.png", "res/2.png", "res/3.png", "res/4.png", "res/5.png", "res/6.png", "res/7.png" ], Handler.create(this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.lo...
来源: Laya_社区 发布时间: 20180428
...些什么设置? 详细代码如下,请大神指点。 constructor() { Laya.init(960, 540, Laya.WebGL); Laya.stage.screenMode = "horizontal"; Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT; Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; Laya.stage.bgColor = "#ffffff"; this.gameLoa...
来源: Laya_社区 发布时间: 20170103
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20260814
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20260814
...题?求教 firstGame.max.js:9742 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 first...
来源: Laya_社区 发布时间: 20170108
Laya.loader.load 如何同时加载图片数组以及json图集 Laya.loader.load([{url: "res/atlas/images/fesh.json", type: Loader.ATLAS}, {url: "res/atlas/images.json", type: Loader.ATLAS},{url: "res/atlas/common.json", type: Loader.ATLAS}, {url: "res/atlas/template/ButtonTab.json", type: Loader.A...
来源: Laya_社区 发布时间: 20170815
在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"], Laya.Handler.create(this, function(){ }), Laya.Handler.create(this, function(e){ c...
来源: Laya_社区 发布时间: 20180101
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20260814
...次 失效 var assets =[]; assets.push({url:"res/atlas/UI/Shop.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/setting.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/shop_buy.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/build.atlas",type:Loader.ATLAS}) Laya.lo...
来源: Laya_社区 发布时间: 20181106
...信 Supermang42 赞同来自: this.mBitmapFont.loadFont( "ziti.fnt", new Laya.Handler( this, onLoaded ) ); 上面的 "ziti.fnt" 路徑錯誤,需寫完整路徑。 Example : 假設fnt檔案跟png檔案都放在res資料夾底下,那你就應該寫這樣。 this.mBitmapFont.loadFont( "res...
来源: Laya_社区 发布时间: 20170811