大约有 272 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
...包vivo出错 微信关系链开发,如果在开放域那边使用Laya.loader.load加载就会出错 打地鼠的Laya1.0想用2.0写出来总是出错 关于layaIDE 用js 与服务器通过socket建立长连接有没有简单的事例? 问题状态 最新活动: 2018-06-13 15:04 浏览: 883 关...
来源: Laya_社区 发布时间: 20180613
...上测试加载服务器资源 URL.basePath = "http://212.xx.xx.xx/"; Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,loadComplete)); loadComplete(){显示自己的ui}; 项目设置选择不校验合法域名。(我没有配置域名,用IP可以吗?) 发现comp.atlas是加载下...
来源: Laya_社区 发布时间: 20190116
...从第二张图片(迈出左脚的那张图片)开始的。 还有Loader.ATLAS是static] 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。 load(url:String, type:String = null, cache:Boolean = true):void 加载资源。 Laya.loader.load(AniConfPat...
来源: Laya_社区 发布时间: 20160712
...的二进制数据)package { import laya.display.Text; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BU...
来源: Laya_社区 发布时间: 20161219
...JS 如: var atlas:Object[] = [{ url: "res/atlas/choujiang.js", type: Loader.TEXT }, { url: "res/atlas/choujiang.json", type: Loader.ATLAS }, ]; Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this...
来源: Laya_社区 发布时间: 20180511
...网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded2)); Laya.URL.ba...
来源: Laya_社区 发布时间: 20180531
...72:13) at http://127.0.0.1:53462/game/code.js:97630:17 at Laya.loader.load.Handler.create (http://127.0.0.1:53462/game/code.js:102231:13) at Handler.__proto.runWith (http://127.0.0.1:53462/game/code.js:711:59) 查看了应该是微信自带的浏览器内核不支持Function.app...
来源: Laya_社区 发布时间: 20180302
...名其妙消失,物体渲染队列的_IndexInList会被破坏 请问下loader如何强制加载一个文件,避免浏览器的缓存 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 问题状态 最新...
来源: Laya_社区 发布时间: 20170327
...js文件,放在项目得什么地方,还有最新版的引入中没有loader='laya'了,需要添加吗 2017-02-09 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 owksmx593 相关问题 2.0一不小心删了bin目录下的某个场...
来源: Laya_社区 发布时间: 20170208
...nventional/NewBuilds.lh", "./LayaScene_111/Conventional/smoke.lh"]; Laya.loader.create(res3D, Laya.Handler.create(this, this.createBuild));这句子去获取资源,然后用 Laya.Loader.getRes("./Prefab/Conventional/NewBuilds.lh");方法去读取相应的文件,可是发现资源加载还是...
来源: Laya_社区 发布时间: 20190702