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

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

331. Resources already exist,is repeated loading 微信小游戏老是提示这个,确实会影响播放效果哦,官方没人管么? [ 84%]

Resources already exist,is repeated loading 微信小游戏老是提示这个,确实会影响播放效果哦,官方没人管么? 2018-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同...

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

332. 图片加载失败是什么原因,我该怎么让美术改图 [ 84%]

...怎么让美术改图 代码:var handani = new Laya.Animation() handani.loadImages(["fresh/hand1.png","fresh/hand2.png"],"handani") handani.frames = ["fresh/hand1.png","fresh/hand2.png"] handani.interval = 150 handani.zOrder = 10000 handani.pos(point.x+50,point.y+30) MainUI.Root.addChild(handani) ...

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

333. vivo真机加载问题 [ 84%]

...试过,发布到vivo真机调试,直接运行是没有问题的 Laya.loader.load([1.png,2.png,3.png])  返回undefined Laya.loader.load("1.png") 加载返回false Laya.Texture2D.load("1.jpg")  加载返回undefined 求帮助   附件 : --> 2020-03-25 添加评论 已悬赏20元 --> 分享 微...

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

334. 游戏加载进度失效 [ 84%]

...r"; Laya.stage.alignV = "middle"; Laya.stage.bgColor = "#ffffff"; this.gameLoading=new ui.GameLoadingUI(); //创建加载进度文本 var asset = [] asset[0] = { url: "res/atlas/run.json", type: Laya.Loader.ATLAS } asset[1] = { url: "res/bg.png", type: Laya.Loader.IMAGE } asset[2] = { url: "res/bg1....

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

335. 图集动画没有显示 [ 84%]

...it(1600, 1400, Laya.WebGL); var AniConfPath = 'res/atlas/cloud.json'; Laya.loader.load(AniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.loader.ATLAS); function createAnimation() { var ani = new Laya.Animation(); ani.loadAtlas(AniConfPath); ani.interval = 30; ani.index = 1; an...

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

336. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 84%]

...什么不起作用?? customMaterial.setDiffuseTexture(Laya.Texture2D.load("qiu/Texture2.png")); @asanwu 2017-05-25 0 0 分享 微博 QZONE 微信 183*****755 赞同来自: 1.fbx暂时停止维护,现在全部的精力投入unity研究开发; 2.可以打开球的材质文件,查看漫反射...

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

337. 打包微端app, 如何只打包部分资源和js程序文件,比方说把初始用到项目的js文件和资源打包进去,其他的依靠第一次使用到的时候热更新 [ 84%]

...注: 2 人 zkang5 • 2017-11-10 18:27 还有个问题,config.js里面有loadingView.setFontColor("#000000");设置字体的颜色,有没有设置字体大小的api zkang5 • 2017-11-10 18:29 比方说,我只构建js文件到app, 这样也可以吗,或者我全部构建进去,...

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

338. ani如何实现预加载呢? [ 84%]

...第一次没缓存的情况下 动画只会播放一半.  附代码: Laya.loader.load("res/atlas/res.json", Laya.Handler.create(this, onLoaded), Laya.Handler.create(this, onLoading), Laya.Loader.ATLAS); 我是在onLoaded里面用游戏资源的.... 2017-07-01 添加评论 免费帖 --> 分享 微...

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

339. 百度小游戏的5M本地包与动态资源加载(TypeScript-小游戏适配文档-百度小游戏) [ 84%]

...径,比如示例中引用的就是本地路径, ```json Laya.Texture2D.load("res/layabox.png"); ``` 如果项目的目录中,全部大小加起来不超过5M的话,只要能找到本地的资源,怎么写也没问题。 但是, 百度小游戏的本地包有5M的限制,一旦超过这...

来源: Laya2.0_文档 发布时间: 20210714

340. LayaAir.exe IDE 资源打包问题 [ 84%]

LayaAir.exe IDE 资源打包问题 Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: D:/work/LayaAir/GuessGame/bin/h5/ui/bg_prompt.png Failed to load resource: net::ERR_FILE_NOT_FOUND [error]Failed to load: D:/work/LayaAir/GuessGame/bin/h5/ui/bg_prompt.png 2017-02-05 添加评...

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