大约有 1,614 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0049 秒)
Laya_社区(1206) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya2.0_示例(43) Laya3.0_文档(42) Laya2.0_api(13) laya_api(12)
...后使用tileWidth和tileHeight获取单块地图的大小private function createMap():void { tiledMap = new TiledMap(); tiledMap.createMap("res/tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height),Handler.create(this,onComplete)); } private function onC...
来源: Laya_社区 发布时间: 20160717
... this.tiledMap = new Laya.TiledMap(); this.tiledMap.createMap("resource/tiledMap/isometric_grass_and_water.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800)); } private mapLoaded():...
来源: Laya_社区 发布时间: 20220929
...什么? [分享]Dialog 点击边缘不关闭的 Demo示例 Laya.Handler.create和new Laya.Handler有啥区别 Dialog设置为模式窗口时关闭有问题 layaair与layabox的区别 LayaAirIDE2.0 TS 创建视图VIew编辑导出之后,src/ui/layaMaxUI.ts 并没有变化…… atlas目录下.json...
来源: Laya_社区 发布时间: 20161016
...模式,使用 drawToCanvas 报错 ImageData is not defined? Laya.Handler.create和new Laya.Handler有啥区别 VBOX HBOX 的文档太少了,都不知道这两个怎么用?到底和box有什么区别?不是普通的容器吗?增加了什么功能呢? 问一下使用AnimationPlayer播放...
来源: Laya_社区 发布时间: 20180719
...绘制图片并添加到舞台 Laya.loader.load(this.monkey2,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var img = new Laya.Sprite(); //获取图片资源,绘制到画布 img.graphics.drawTexture(Laya.loader.getRes(this.monkey2),100,50); //添加到舞台 Laya.stage.addChild(im...
来源: Laya_社区 发布时间: 20170825
...then((res: any) => { let view: Laya.Scene = res.create(); view.open(false, ...param); })这边能正常输出传递的参数 2025-06-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经...
来源: Laya_社区 发布时间: 20250609
...oid { Laya.loader.load([{ url:url, type: Laya.Loader.ATLAS }],Laya.Handler.create(this,this.Loa,null)); } private Loa():void { console.log("在又有意义有意义有意义有意义有意义有意义有意义有意义"); } public ClearImg(url:string):void { Laya.Loader.clearRes(url); } 2018-01-09 ...
来源: Laya_社区 发布时间: 20180109
... ]; Laya.loader.load(resArr,Handler.create(this,this.onLoaded)); } private function onLoaded():void{ //显示界面 var gameView:GameView = new GameView(); L...
来源: Laya_社区 发布时间: 20180106
...的鱼 赞同来自: 可以使用userData携带,方式如下: Laya.Tween.create(target).to("x", 1).duration(100).userData({ prop: "xx" }).then(this.onComplete, this); private onComplete(tweener: Laya.ITweener): void { console.log(tweener.userData); } 2025-09-19 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20250919
...rotoBuf 支持 as3 版本吗? 支持读写哪些文件格式 Laya.loader.create 不会反馈失败状态跟描述不符合 shader里面没有支持gl_PointCoord吗? 希望加入类似Pixi.js的多纹理寄存器支持 graphics不支持rgb(155,155,155)? ios平台支持哪些系统基础字体 ...
来源: Laya_社区 发布时间: 20151203