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

大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)

601. Sprite-轴心点 [ 43%]

...{ this.ape1.rotation += 2; this.ape2.rotation += 2; } } new Sprite_Pivot();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { private sp1: Sprite; private sp2: Sprite; ...

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

602. 骨骼动画-多纹理 [ 43%]

... = 0; } mArmature.play(mCurrIndex, false); } } new Skeleton_MultiTexture();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class MultiTexture { private m...

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

603. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 43%]

...swf在群文件star.swf 官方文档的例子试了不行 // 程序入口 module laya {     import Loader = Laya.Loader;     import Handler = Laya.Handler;     export class Loader_MultipleType {         private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATH...

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

604. Sprite-遮罩-放大镜 [ 43%]

...eY * 2; maskSp.x = Laya.stage.mouseX; maskSp.y = Laya.stage.mouseY; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_MagnifyingGlass { private maskSp:Sprite; priva...

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

605. 鼠标交互-自定义事件 [ 43%]

...on": newAngle }, 1000, Ease.elasticOut); } } new Interaction_CustomEvent();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Ease = Laya.Ease; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Inter...

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

606. UI-Dialog [ 43%]

...gArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } })();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Dialog = Laya.Dialog; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_W...

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

607. 文本-字符限制 [ 43%]

...FFFF"; input.padding = [0, 4, 0, 4]; return input; } } new Text_Restrict();module laya { import Input = Laya.Input; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Restrict { constructor() { // 不支持WebGL时自动切...

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

608. UI-Dialog [ 43%]

..." + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } } new UI_Dialog();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Dialog = Laya.Dialog; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_W...

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

609. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 43%]

...,这一点layabox远远不如白鹭。。。。 我改的代码如下: module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; ...

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

610. 骨骼动画-藤蔓 [ 43%]

...dex = 0; } mArmature.play(mCurrIndex, false); } } new Skeleton_SpineVine();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineVine { pri...

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