大约有 2,594 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(2141) Laya3.0_api(88) Laya2.0_api(73) Laya_示例(72) Laya2.0_示例(70) laya_api(64) Laya2.0_文档(63) Laya3.0_文档(23)
...对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //创建图片 createImage(); } /***创建图片***/ private function createImage():void { //实例化图片 var img:Image = new Image("../../../.....
来源: Laya2.0_文档 发布时间: 20210714
...os(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); //this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); } private onError() { console.error("load spine error"); } private play(): void { console.log("1111111111"); if (++this.index >= this.ske...
来源: Laya_社区 发布时间: 20210813
...keleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, tru...
来源: Laya_社区 发布时间: 20230703
...件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale Laya mac版的IDE 是没测试就上线了吗? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 用了第三方so...
来源: Laya_社区 发布时间: 20250704
...直接加上这句: //不能用下面这一句,不然会匹配不了 //scaleX=scaleY=Math.min(scaleX,scaleY); canvasWidth=realWidth=720; canvasHeight=realHeight=1440; 然后直接就完全适配了屏幕 2、字体字距问题:实际上这个问题就是上面的问题带来的,这个怎...
来源: Laya_社区 发布时间: 20190228
...示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 使用钢体设置防穿...
来源: Laya_社区 发布时间: 20190306
...了 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如...
来源: Laya_社区 发布时间: 20181102
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache textur...
来源: Laya3.0_api 发布时间: 20231115
... Laya.stage.alignV = Stage.ALIGN_MIDDLE; //设置适配模式 Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; //设置横竖屏 Laya.stage.screenMode = Stage.SCREEN_VERTICAL; __JS__('var canvas = document.getElementById("layaCanvas")'); __JS__('var url = "ws://xxx.xxx.xx.xx:xxxx"'); __JS__('var player ...
来源: Laya_社区 发布时间: 20171115
...示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 加载到舞台的3D模型不显示贴图 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivE...
来源: Laya_社区 发布时间: 20190911