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

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

211. 粒子-粒子演示2 [ 85%]

...e.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/RadiusMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start()...

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

212. 粒子-粒子演示3 [ 85%]

...e.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(...

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

213. 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 84%]

...了回调 启用版本管理后,文件都带了hash, var resArray = [ {url: "res/atlas/common.atlas", type: Laya.Loader.ATLAS}, {url: "hall/1_login/login_bg.png", type: Laya.Loader.IMAGE}, {url: "hall/1_login/Bottom_article.png", type: Laya.Loader.IMAGE}, {url: "res/atlas/hall/login.atlas", type...

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

214. 关于laya打包找不到配置 [ 84%]

... Laya_Aaron 赞同来自: 先确认一下是否是如下原因导致 使用URL.basePath方法后,再使用load加载本地路径,都会自动加上URL.basePath里的网址。这样就实现了本地与网络加载的结合。 这样就结束了吗?并没有! 按刚刚的写法,res/layabox....

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

215. laya.d3.core.render.ScreenTriangle_API3.0 [ 84%]

...e Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener ...

来源: Laya3.0_api 发布时间: 20231102

216. laya.resource.TextResource_API3.0 [ 84%]

...tors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener ...

来源: Laya3.0_api 发布时间: 20231115

217. 微信小游戏资源版本管理的问题什么时候修复?? [ 84%]

...里,调用的是MiniLoader.load方法 这个方法里先调用了一次url = URL.formatURL(url);所以最后传进Loader.load里的url是已经formatURL过了的, 如果加载的是图集的话,再Loader.onLoad方法里加载图集关联的图片时就会出现问题,每张图集图片最后...

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

218. laya.resource.Resource_API3.0 [ 84%]

...emplate2D SpineTemplet Index Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener ...

来源: Laya3.0_api 发布时间: 20231115

219. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 84%]

...l"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type:laya.net.Loade...

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

220. 微信小游戏设置网络动态加载无法显示 [ 84%]

... 我把图集资源放到了腾讯云上,也设置了域名信息 Laya.URL.rootPath = Laya.URL.basePath = "https://lg-f6ejft4c-1256468286 ... 3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.A...

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