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

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

21. UI-FontClip [ 73%]

...ar clipnum1 = new FontClip(assets[0]); clipnum.pos(240, 500); clipnum.size(250, 50); clipnum.sheet = "0123456789"; clipnum.value = "114499"; clipnum.spaceY = 10; TestClipNum.pos(200, 400); TestClipNum.sheet = "0123456789"; TestClipNum.value = "0123456789"; clipnum1.pos(150, 200); clipnum1.direction ...

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

22. DOM元素-表单输入 [ 73%]

...Laya.stage.bgColor = "#fff"; this.form = new Laya.Sprite(); this.form.size(250,120); this.form.pos((Laya.stage.width - this.form.width) / 2, (Laya.stage.height - this.form.height) / 2); Laya.stage.addChild(this.form); this.rowHeight = 30; this.rowSpacing = 10; let rowHeightDelta = this.rowSpacing + ...

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

23. 游戏加载进度失效 [ 72%]

...折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiaobear250 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:深圳南山 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音...

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

24. Sprite-新手引导 [ 70%]

...1, y: 575, radius: 150, tip: "../../res/guide/help6.png", tipx: 200, tipy: 250 }, { x: 883, y: 620, radius: 100, tip: "../../res/guide/help4.png", tipx: 730, tipy: 380 }, { x: 1128, y: 583, radius: 110, tip: "../../res/guide/help3.png", tipx: 900, tipy: 300 }]; var guideStep = 0; var hitArea; var in...

来源: Laya_示例 发布时间: 20251130

25. Sprite-新手引导 [ 70%]

... [ { x: 151, y: 575, radius:150, tip:"res/guide/help6.png", tipx:200, tipy:250 }, { x: 883, y: 620, radius:100, tip:"res/guide/help4.png", tipx:730, tipy:380 }, { x: 1128, y: 583, radius:110, tip:"res/guide/help3.png", tipx:900, tipy:300 } ], gameContainer, guideContainer, maskArea, interactionArea,...

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

26. 加载-销毁Texture使用的图片资源 [ 70%]

...ion(); this.aniFly.loadAtlas(PathFly); this.aniFly.play(); this.aniFly.pos(250, 100); Laya.stage.addChild(this.aniFly); // 创建按钮 this.btn = new Sprite().size(205, 55); this.btn.graphics.drawRect(0, 0, this.btn.width, this.btn.height, "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"...

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

27. 加载-销毁Texture使用的图片资源 [ 68%]

...; this.aniFly.loadAtlas(this.PathFly); this.aniFly.play(); this.aniFly.pos(250, 100); Laya.stage.addChild(this.aniFly); //创建按钮 this.btn = new Sprite().size(205, 55); this.btn.graphics.drawRect(0, 0, this.btn.width, this.btn.height, "#057AFB"); this.txt = new Text(); this.txt.text = "销毁";...

来源: Laya_示例 发布时间: 20251130

28. 2D物理-桥 [ 68%]

...createBridge(); this.eventListener(); } createBridge() { const startPosX = 250, startPosY = 450; let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let groundBody = new Laya.RigidBody(); groundBody.type = "static"; ground.addComponentIntance(groundBody); let chainCollider = ground.add...

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

29. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 66%]

...fore not allowed access. 2016-08-31 0 2 分享 微博 QZONE 微信 xiaobear250 赞同来自: 写得很好,谢谢楼主分享。两个问题请问一下。 1、loader.load的使用问题Laya.loader.load(["res/background.png", "res/m_background.png"], laya.utils.Handler.create(this, onLoaded), laya....

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

30. Laya富文本的描边透明度如何修改 [ 65%]

...本下划线绘制bug 问题状态 最新活动: 2020-11-16 17:27 浏览: 250 关注: 1 人

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