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

大约有 719 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)

391. 如何调用原生ComboBox? [ 66%]

...库完全不能用是吗? 请问在objectC中如何调用js 使用Laya.loader.load缓存下来的文件还在res目录下吗?在编辑模式下怎么调用缓存下来的文件? 加载UI页面之后,怎么调用UI页面的图片,给图片加点击事件 ts如何通过文件集加载的方...

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

392. 开发数据域报错wx.getFileSystemManager is not a function [ 66%]

...自: //主域if(Laya.Browser.onMiniGame){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口...

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

393. 资源路径问题 [ 65%]

...种文件放不同的图片。。发现加载图片时加载不了。 Laya.loader.load(["res/atlas/img/hall.json"],Laya.Handler.create(this, onLoaded),null,Laya.Loader.ATLAS);无法加载。。。怎么回事 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

394. button图片丢失 [ 65%]

...的链接 提交 3 个回复 cuixueying 赞同来自: 189*****192  Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"comp/btn_queding.png",type:Loader.IMAGE}], Handler.create(this, onAssetLoaded), null);comp.json是预加载的图集下的资源,你既然是不打包,表示...

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

395. 设置滤镜(ActionScript-LayaAir基础篇(AS3)-位图) [ 65%]

...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); } private function setup(e:*=null):void { normalizeApe(); makeRedApe(); grayingApe(); } private function normalizeApe():void { var originalApe:Sprite = createApe(); apeTextur...

来源: Laya2.0_文档 发布时间: 20210715

396. tiledMap 官方示例都运行不了 [ 65%]

...ministrator/Documents/myLaya/Hello/bin/libs/laya.core.js:1125:59)     at Loader.__proto.event (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:882:28)     at Loader.__proto.endLoad (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:14980:8) ...

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

397. handler携带的参数在回调函数里面怎么获取? [ 65%]

...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

398. 微信上测试加载服务器资源 [ 65%]

...上测试加载服务器资源 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

399. 播放动画(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 65%]

... isliooping属性为true** ```typescript //获取精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); this.scene.addChild(monkey); //获取角色动画组件 var ani = monkey.getChildAt(0).getComponent(Laya.Animator); //创建一个动画动作状态 var state...

来源: Laya2.0_文档 发布时间: 20210715

400. 关于as版的Animation.createFrames()不能工作? [ 65%]

...ite; import laya.display.Stage; import laya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load("res/atlas/war.json", Lay...

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