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

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

11. 做"活动说明"图片滚动,图片超过2048不允许mask? [ 81%]

做"活动说明"图片滚动,图片超过2048不允许mask? output: cache bitmap size larger than 2048,cache ignored 怎么办??? 2017-02-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying ...

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

12. Sprite-缓存为静态图像 [ 79%]

...ya.stage.height; textBox.addChild(text); } //缓存为静态图像 textBox.cacheAsBitmap = true; Laya.stage.addChild(textBox); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite...

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

13. 打包ios时,第第一次进入游戏闪退,第二次就没问题,报一下错误 [ 76%]

...ndex.html 2018-01-28 23:29:52.659660+0800 qimiaomuchanIOS[5815:1707048] setCachePath:/var/mobile/Containers/Data/Application/D4FEBBF4-3A6D-4197-98CE-3671577EAE95/Library/Caches//appCache/ 2018-01-28 23:29:52.667655+0800 qimiaomuchanIOS[5815:1707048] found the file in the package:assetsid.txt 2018-01...

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

14. zip更新模式缓存是怎么读取的?? [ 76%]

...成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下载文件,保存到localfile中。 */ downloadBigFile(url,localfile, //进度回调 (total:number,now:number,speed:number...

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

15. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 73%]

...ers.forEach(subShader => { subShader._passes.forEach(pass => { pass._cacheSharders.forEach(cache => { cache && cache.forEach(allInstance => { allInstance && allInstance.forEach(ins => { ins && ins.destroy(); }) allInstance = []; }) cache = []; }) pass._cacheSha...

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

16. 除了---可以看到执行完layadcc后,在指定目录(现在是当前路径 . )下面会生成一个update目录。然后把这个update目录拷贝到本地或者远程服务器的相同目录即可。更新的资源要怎么办 [ 72%]

...其它资源怎么处理例如新加的文件 2---------------- layadccout/cache目录要不要也上传到服务器去 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 king 赞同来自: layadccout/cache...

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

17. 安卓 怎么做分包机制? [ 72%]

...源打成扩展包。现在想知道,laya内部是怎么处理图中的cache文件夹的dcc资源。希望laya技术支持一下。   附件 : --> 2017-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixu...

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

18. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 70%]

...totype["_loadAssets"] = function (arr, complete, progress, type, priority, cache, group) { (priority === void 0) && (priority = 1); (cache === void 0) && (cache = true); var itemCount = arr.length; var loadedCount = 0; var totalSize = 0; var items = ; var success = true; for (var i =...

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

19. 预加载进入游戏界面 [ 69%]

...0-4共5个优先级,0最高,4最低。          * @param    cache        是否缓存加载结果。          * @param    group        分组,方便对资源进行管理。          * @param    ignoreCache    是否忽略缓存,强制重新加载。 ...

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

20. 小游戏启用版本管理本地资源加载报错解决方案 [ 68%]

...ndexOf(urlType)!=-1)){ MiniAdpter.EnvConfig.load.call(this,[b]url[/b],type,cache,group,ignoreCache); }else { if(MiniAdpter.isZiYu && !MiniFileMgr.ziyuFileData[url=){]){ url=URL.formatURL(url); } if(MiniAdpter.isZiYu && MiniFileMgr.ziyuFileData[/url][url=){]){ var tempData=MiniFileMgr...

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