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

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

2301. 使用Laya.URL.basePath后,拼接的UI就加载不了一些本地图片了,wxlocal文件夹要怎么用? [ 48%]

...) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? ios14系统下 blendMode='...

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

2302. IOS的safari浏览器打开h5项目demo,游戏场景偏移(附件有完整demo) [ 48%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; //实例一个背景 var bg:Image = new Image(); bg.skin = "res/ui/bg.jpg"; Laya.stage.addChild(bg); //实例一个文本 var txt:Text = new Te...

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

2303. 微信小游戏wxmin图片加载有点问题 [ 48%]

...nsole.log(Laya) Laya.MiniAdpter.init() Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); if(false) { eval(23) } console.log(wx.request) //初始化照相机 var camera = scene.addC...

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

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

... 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

2305. laya.ui.Slider_API3.0 [ 48%]

...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

2306. Sprite-显示图片 [ 48%]

...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

2307. laya.ui.ViewStack_API3.0 [ 48%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selectedIndex selection setIndexHandler...

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

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

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.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...

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

2309. laya.display.Input [ 48%]

...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...

来源: Laya2.0_api 发布时间: 20190513

2310. Sprite-容器 [ 48%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showApe(); } showApe() { const Sprite = Laya.Sprite; const layoutRadius = 150, radianUnit = Math.PI / 2; // 该容器用于装载4张猩猩图片 this.apes...

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