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

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

2551. native下使用ttf字体的问题 [ 46%]

...件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使...

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

2552. 图片使用pivotX参数后,再对图片添加遮罩会出现效果不对。 [ 46%]

...      Laya.stage.alignH = Stage.ALIGN_CENTER;         Laya.stage.scaleMode = "showall";         Laya.stage.bgColor = "#232628";         Laya.loader.load("../../res/bg2.png", Handler.create(this, setup));     })();     function setup()     {         var bg = new S...

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

2553. laya.ui.VBox_API3.0 [ 46%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture t...

来源: Laya3.0_api 发布时间: 20231115

2554. laya.ui.Slider_API3.0 [ 46%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid skewX skewY ski...

来源: Laya3.0_api 发布时间: 20231115

2555. 这样的panel请问如何实现比较好? [ 46%]

... class GameMain { constructor() { Laya.init(500, 1000, WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; var resPath = ['res/atlas/comp.atlas']; Laya.loader.load(resPath, new Laya.Handler(this, function () { var textUi = new TextUI(); Laya.stage.addChild(textUi); }), null, Laya.Loader.ATL...

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

2556. laya.ui.Image_API3.0 [ 46%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sizeGrid skewX skewY skin source stage ...

来源: Laya3.0_api 发布时间: 20231115

2557. 滤镜-发光滤镜 [ 46%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.createApe(); this.applayFilter(); } createApe() { const Sprite = Laya.Sprite;...

来源: Laya2.0_示例 发布时间: 20260303

2558. Sprite-显示图片 [ 46%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showApe(); } showApe() { const monkey1Path = "./res/apes/monkey1.png", monkey2Path = "./res/apes/monkey2.png"; // 方法1:使用loadImage let ape = new L...

来源: Laya2.0_示例 发布时间: 20260303

2559. laya.ui.FontClip_API3.0 [ 46%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sheet sizeGrid...

来源: Laya3.0_api 发布时间: 20231115

2560. TypeError: relativePath is undefined [ 46%]

...as Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.scaleMode = Stage.SCALE_FULL; Stat.show(); createMap(); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图http://layaair.ldc.layabox.com/api/ function createMa...

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