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

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

41. 制作拖尾 遇到drawTriangles报错 和 修复方案 [ 70%]

...复问题请先登录 发起人 flyByself 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefin...

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

42. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 70%]

微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件     var Browser = Laya.Browser;     var ProtoBuf = Browser.window.protobuf;     ProtoBuf.load("protobuf/awesome.proto", onAssetsLoaded);   本地预览,h5环境下都运行得好好的,但在微信小...

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

43. Uncaught TypeError: Cannot read property 'props' of undefined [ 70%]

... = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加载到场...

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

44. 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds [ 69%]

...链接 提交 1 个回复 微笑 赞同来自: 龙印 已经解决:: Laya.loader.load("ani/jingbubeipi.sk",Handler.create(this,asd),null,Loader.BUFFER);  在预加载动画时这样在后面参数加上loader.buffer; 2018-09-13 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

45. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 69%]

...rted for protocol schemes: http, data, chrome, chrome-extension, https.   load(url) {             var me = this;             url = URL.formatURL(url);             this.url = url;             this.audioBuffer = WebAudioSound._dataCache[url]; ...

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

46. 游戏资源加载问题! [ 68%]

...博 QZONE 微信 q1402907210 - 你猜猜 赞同来自: Demo重新上传! load_Demo.rar 2017-12-27 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 改下这行代码: Laya.loader.load("res/atlas/Skill/Skill_1001.json",Handler.create(this,onAssetLoaded),null,Laya.Loader.ATLAS); ...

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

47. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 67%]

...) return null; } var tSound:Sound; if (!Browser.onMiniGame) { tSound= Laya.loader.getRes(url); } if (!soundClass) soundClass = _soundClass; if (!tSound) { tSound = new soundClass(); tSound.load(url); if (!Browser.onMiniGame) { Loader.cacheRes(url, tSound); } } var channel:SoundChannel; channel = tSo...

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

48. XMLHttpRequest cannot load [ 67%]

XMLHttpRequest cannot load 我是一个新手。 在按照教学视频进行尝试时,使用IDE运行没问题,但是使用Flash Develop调用谷歌浏览器运行时,显示不出图片。。。应该是资源加载时出了问题?求教 firstGame.max.js:9742 XMLHttpRequest cannot load file...

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

49. 资源压缩成zip后加载的问题 [ 67%]

...干个文件压缩成一个zip,下载通过JSZip解压后,如何用Laya.loader再去初始化呢? let zip = new JSZip();   我的需求是这样,比如有个界面,aa.scene,如果我提前通过Laya.loaer 加载了这个aa.scene,Laya.loader里面已经有了缓存,之后再open时候就...

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

50. 在使用资源版本控制时,URL.formatURL中有个bug [ 67%]

...l是什么 浪货界扛把子 • 2018-04-16 10:31 我这边代码问题,load方法调用错误 152*****351 • 2017-12-13 16:55 //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (customFormat != null) url = customFo...

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