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

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

1171. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 46%]

...Enter(){ this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this...

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

1172. 引擎 TiledMap 居然不支持图块翻转 [ 46%]

...450;             this._gridHeight = 450;             this._jsonLoader = null;             this._loader = null;             this._tileSetArray = [];             this._currTileSet = null;             this._completeHandler = null;             this._mapRect = ne...

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

1173. ComboBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 46%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.skin, Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { var cb: ComboBox = this.createComboBox(this.skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.a...

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

1174. 1.70beta Dialog增加动画后第二次执行popup不显示弹窗 [ 46%]

...; assets = ["../../res/ui/dialog (1).png", "../../res/ui/close.png"]; Laya.loader.load(assets, Handler.create(this, onSkinLoadComplete)); })(); function onSkinLoadComplete() { var dialog = new Dialog(); var bg = new Image(assets[0]); dialog.addChild(bg); var button = new Button(assets[1]); button.na...

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

1175. 国际化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...使用的方式为: let myI18n: Laya.Translations; myI18n = await Laya.loader.load("editorResources/i18nSettings.i18ns"); console.log(myI18n.t("a")); 在很多情况下,如果只是代码里用到的一些小量国际化的支持,并不想创建多个json文件,那么也有全代码的方法...

来源: Laya3.0_文档 发布时间: 20251010

1176. 为什么说没有​ playByFrame方法 [ 45%]

...还有 我只加载动画使用的资源好想不可以?还有使用Laya.Loader的方式能不能加载ani文件? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)...

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

1177. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...用后执行,例如节点被添加到舞台后 onEnable(): void { Laya.loader.load(this.backgroundTexture).then(() => { this.createLightOccluder(); this.createSpotLight(); this.createBackground(); }); } // 创建2D光遮挡器 createLightOccluder(): void { this.lightOccluder.pos(233, 265); this...

来源: Laya3.0_文档 发布时间: 20251010

1178. 微信关系链:LayaAir引擎针对开发数据域使用图集支持介绍 [ 45%]

...图集文件不存在本地包,而是存在cdn上,这时先调用Laya.loader.load方法将文件加载完,然后通过: __JS__('wx').postMessage({url:url,data:tempData,isLoad:"filedata"}); 说明: url是图集文件的路径; tempData:是图集文件的json数据; isLoad:为filedata...

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

1179. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 45%]

...JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.load(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.loader.load("res/atlas/test.atlas",Laya.Handler.create(this,this.onCompl...

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

1180. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 45%]

...ler-arm64) (code 199992) 10-13 17:31:15.861 6514-6514/com.vivo.vs I/LibraryLoader: Loading: webviewchromium 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Time to load native libraries: 3 ms (timestamps 6259-6262) 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Expected native l...

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