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

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

261. 微信小程序里加载json文件 [ 67%]

...小程序里加载json文件 微信小程序里加载json文件:   Laya.loader.load("json/dropData.json",Handler.create(this,readJsonFinish3) ,null,Loader.JSON );     然后报错:   排除法处理了下,发现是json里有中文的原因。这个微信小程序怎么读取有中文的配...

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

262. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 67%]

...; } private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = n...

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

263. unity制作的粒子特效加载失败 [ 67%]

...ya.core.js:711)     at ResInfo.__proto.event (laya.core.js:483)     at LoaderManager.__proto._endLoad (laya.core.js:13152)     at Loader.onLoaded (laya.core.js:13128)     at EventHandler.__proto.runWith (laya.core.js:711)     at Loader.__proto.event (laya.core.js:483)   在粒子中加了...

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

264. Animation的createFrames为何加载不了有的图集资源 [ 67%]

...rt laya.ani.AnimationState; import laya.display.Animation; import laya.net.Loader; import laya.ui.Image; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //Laya.loader.load([{url: "res/atlas/char_wuda...

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

265. 1.7.17beat bug [ 67%]

... 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 关于laya无法缓存非图片、声音文件bug 2.0iDE bug laya2.0ide 显示bug image loadimage 加载网络图片B...

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

266. tiledMap的初始化json是怎么生成的? [ 67%]

...的tieldmap生成的json文件里data是这种格式,地图显示有误 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 请教 FlashBuilder如何生成二维码让手机扫描测试 TiledMap创建地图在LayaAir中显示不完全 layaMa...

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

267. app 的预加载问题 [ 66%]

...加载资源 例如var resarray = [ {"url":"res/atlas/common.json","type":Loader.ATLAS}, ]; Laya.loader.load(resarray, Handler.create(this, this.preloadLoaded), Handler.create(this, this.onProgress,null,false)); 这个时候这个资源是通过app本地加载还是网上加载的? 2.dcc 有之前...

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

268. 预加载结束之后还是报lose skin [ 66%]

预加载结束之后还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } ...

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

269. playSound和playMusic结束时候有异常抛出 [ 66%]

playSound和playMusic结束时候有异常抛出 1. loader加载了{url:"res/music/Music_start.mp3",type:Laya.Loader.SOUND}资源 2. 加载结束后,调用Laya.SoundManager.playSound("res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceN...

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

270. 急急 在线等 加载xml 后直播无法自动播放 附示例项目 [ 66%]

急急 在线等 加载xml 后直播无法自动播放 附示例项目 LoaderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML);...

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