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

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

591. 骨骼动画-多纹理 [ 45%]

...getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();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...

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

592. 颜色滤镜 差值变化 [ 45%]

颜色滤镜 差值变化 /** * leo */ module touch {     /**      * 颜色工具类      */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool =...

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

593. 网络和格式-ProtocolBuffer [ 45%]

...limited buffers, there is also encodeDelimited and decodeDelimited. } })();module laya { import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer { private ProtoBuf:any = Browser.window.protobuf; constructor() { Laya.init(550, 400...

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

594. 网络和格式-ProtocolBuffer [ 45%]

...limited buffers, there is also encodeDelimited and decodeDelimited. } })();module laya { import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer { private ProtoBuf:any = Browser.window.protobuf; constructor() { Laya.init(550, 400...

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

595. JavaScript heap out of memory,ide编译不了代码 [ 45%]

...来自: Laya_Yan 找到ide的目录,LayaAirIDE_beta\resources\app\node_modules\rollup\dist\rollup.js 然后cmd 输入下面命令node --max_old_space_size=2048  ide的rollup.js完整目录地址。 就可以解决编译内存溢出的问题。不过,最好先确保自己的项目代码没有...

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

596. 鼠标交互-自定义事件 [ 45%]

...e) { Tween.to(sp, { "rotation": newAngle }, 1000, Ease.elasticOut); } })();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...

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

597. Sprite-轴心点 [ 45%]

...ate); } function animate(e) { sp1.rotation += 2; sp2.rotation += 2; } })();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; ...

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

598. 骨骼动画-藤蔓 [ 45%]

...getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();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...

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

599. 计时器-间隔循环 [ 45%]

...() { this.rotateFrameRateBasedText.rotation += 1; } } new Timer_Interval();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_Interval { private rotateTimeBasedText: Text; private rotateFrameRateBasedText: Te...

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

600. 输入设备-摇一摇 [ 45%]

...ake.instance.stop(); console.text += "停止接收设备摇动"; } } })(); module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Shake = Laya.Shake; import Browser = Laya.Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class I...

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