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

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

31. Laya.loader Progress回调形同虚设 [ 91%]

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

32. 游戏加载进度失效 [ 90%]

...些什么设置? 详细代码如下,请大神指点。 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

33. 3D场景-场景加载 [ 90%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya_示例 发布时间: 20260814

34. 3D场景-地形场景 [ 90%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya_示例 发布时间: 20260814

35. XMLHttpRequest cannot load [ 90%]

...题?求教 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

36. Laya.loader.load 如何同时加载图片数组以及json图集 [ 90%]

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

37. 在加载多个资源的时候,加载进度异常 [ 89%]

在加载多个资源的时候,加载进度异常 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

38. VR场景-VR场景 [ 89%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya_示例 发布时间: 20260814

39. ts 空项目 版本1.7.20 下的load 调用2次 第二次 失效 [ 89%]

...次 失效 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

40. 位图字体不显示 [ 89%]

...信 Supermang42 赞同来自: this.mBitmapFont.loadFont( "ziti.fnt", new Laya.Handler( this, onLoaded ) );   上面的 "ziti.fnt" 路徑錯誤,需寫完整路徑。   Example : 假設fnt檔案跟png檔案都放在res資料夾底下,那你就應該寫這樣。   this.mBitmapFont.loadFont( "res...

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