大约有 803 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...ya.stage.bgColor='#EEFFCC'; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { //panel 切记设置宽高,否则panel不显示 var panel:Panel=new Panel(); panel.size(300,300); panel.pos(100,100); panel.vScrollBarSkin='comp...
来源: Laya_社区 发布时间: 20170719
... http 请求 once 的 回调参数,如何传递和接收? Laya.Handler.create 回调 IOS 二次开发 callbackToJSWithClass, JS没有收到OC的回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 本人想做个批量加载json文件,然后等这些文件...
来源: Laya_社区 发布时间: 20170626
粒子图片错误 Laya.loader.load("res/yan.part", Laya.Handler.create(this, this.onAssetsLoaded), null, Laya.Loader.JSON); var yan = new Laya.Particle2D(settings); yan.emitter.start(); yan.play(); this.particlesPos.addChild(yan); 编辑器里面设置是对的 但是在网页上运行,图片...
来源: Laya_社区 发布时间: 20181220
...on LayaAirDemo() { Laya.init(800,800); Laya.loader.load('logo.png',Handler.create(this,onLoaded)); } private function onLoaded():void { var texture:Texture=Loader.getRes('logo.png'); var sp:Sprite=new Sprite(); sp.graphics.clear();//把上次的绘制清除 sp.graphics.drawTexture(texture); Laya.sta...
来源: Laya_社区 发布时间: 20170505
...度条怎么实现? 希望能介绍下编译as的大致过程 Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2017-10-12 19:34 浏览: 845 关注: 2 人 apeCom • 2017-10-12 19:39 谢谢
来源: Laya_社区 发布时间: 20171012
...一起加载 Native2.0打包apk,在安卓4.2设备必闪退 Laya.loader.create 不会反馈失败状态跟描述不符合 打包apk 运行Uncaught SyntaxError: Unexpected token 问题状态 最新活动: 2018-08-22 21:12 浏览: 852 关注: 2 人
来源: Laya_社区 发布时间: 20180822
...例子里,UI组件的事件都用new Handler,而资源加载用Handler.create() 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 技术文档里面动画基础中的图集动画没有javascript版本的? 造福社会,matter.js所有官方...
来源: Laya_社区 发布时间: 20181008
...01 12:23 不行啊, 拿不到数据啊 Laya.loader.load(fileURL, Handler.create(this, null), null, Laya.Loader.JSON); let strJson: JSON = Laya.loader.getRes(fileURL); strJson: undefined
来源: Laya_社区 发布时间: 20180131
... Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } private loadGame(): void { var resArray = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20181208
... NOTICE: Doing SSL library init [2018/08/21 11:20:31:5576] NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 on [2018/08/21 11:20:31:5597] NOTICE: lws_context_init_client_ssl: doing cert filepath 2018-08-21 11:20:31.559954+0800 game_hao[6707:3937898] requestLogin...
来源: Laya_社区 发布时间: 20180821