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

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

11. LayaAir开发笔记(1)五十音图连连看 [ 61%]

...然后随便取12的平假名和12个片假名进行初始排名,开始执行timer计时器。注意,一定要用个gameStatue变量来控制游戏状态,否则不点开始就可以点卡片了。var g_list_A = ["あ", "い", "う", "え", "お", "か", "き", "く", "け", "こ", "さ","し",...

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

12. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 57%]

...称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true, this.action); } _proto.onLoop = function(){ //玩家开始下落 this.y += this.vy; this.vy += this.downSpeed; //控制最大值 if(this.vy...

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

13. laya.media.SoundNode [ 57%]

...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...

来源: laya_api 发布时间: 20170422

14. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 55%]

...动态统一添加功能的技术。比如装饰器就是在预编译阶段执行的,本文介绍的控制游戏主流程的方法是在运行时执行的。 AOP面向切面编程是针对业务处理过程中的切面进行提取,它所面对的是处理过程中某个步骤或阶段,以获...

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

15. laya.media.SoundNode_API3.0 [ 53%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

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

16. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 42%]

...称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true, this.action); } _proto.onLoop = function(){ } //开始跳 _proto.gotoJump = function(){ this.playAction(Player.JUMP); } //开始跑 _proto....

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

17. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 40%]

...。 动画状态机文件 Animator Controller :是一个文件,用来执行整个状态机逻辑,驱动动画状态运行,执行状态切换。同时定义了驱动参数,可以由代码逻辑驱动这些参数,再由这些参数驱动动画。 动画状态 Animator State:是状态机...

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