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

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

691. 鼠标交互-Hold [ 37%]

...e.off(Event.MOUSE_UP, this, this.onApeRelease); } } new Interaction_Hold();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture = Laya.Texture; import Browser = Laya.Browser; import Ease = Laya.Ease; import Handler = Laya.Handler; import Twe...

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

692. 小米快游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...设置中进行配置。 游戏包名 游戏包名的格式是 com.company.module 第一位com不要变,第二位是公司名,第三位是项目名。都要写英文,例如:com.layabox.demoGame。 游戏版本 游戏版本与版本名称用处不同,这里是渠道平台用于区别版本...

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

693. 滤镜-颜色滤镜 [ 37%]

...../../res/apes/monkey2.png"); Laya.stage.addChild(ape); return ape; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import ColorFilter = Laya.ColorFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.Web...

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

694. 鼠标交互-双指缩放(多点触控) [ 36%]

...stageY; distance = Math.sqrt(dx * dx + dy * dy); } return distance; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Scale { //上次记录的两个触模点之...

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

695. 缓动-时间线 [ 36%]

...case Keyboard.R: this.timeLine.resume(); break; } } } new Tween_TimeLine();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Keyboard = Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { priva...

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

696. 滤镜-颜色滤镜 [ 36%]

... ape.graphics.drawTexture(apeTexture); return ape; } } new Filters_Color();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import ColorFilter = Laya.ColorFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.Web...

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

697. runTime使用(ActionScript-IDE篇(AS3)-组件化开发相关) [ 36%]

....utils.Stat; import laya.utils.Utils; import laya.d3.core.particleShuriKen.module.StartFrame; import laya.display.Sprite; import ui.BGPageUI; import ui.MonkeyPageUI; public class Main { public function Main() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, Game...

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

698. 计时器-延迟执行 [ 36%]

...onComplete2() { //spBtn2的透明度减少0.5 button2.alpha -= 0.5; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private butt...

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

699. 鼠标交互-双指缩放(多点触控) [ 36%]

...th.sqrt(dx * dx + dy * dy); } return distance; } } new Interaction_Scale();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Scale { //上次记录的两个触模点之...

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

700. Sprite-新手引导 [ 36%]

...iner.loadImage(step.tip); tipContainer.pos(step.tipx, step.tipy); } } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import HitArea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContain...

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