博客
关于我
暴风魔镜与手柄相关的事件
阅读量:130 次
发布时间:2019-02-28

本文共 569 字,大约阅读时间需要 1 分钟。

关于游戏手柄输入事件的定义与操作说明

本文将详细说明游戏手柄相关的输入事件类型及其对应的操作含义

  • 基本操作事件

    • UP事件表示手柄向前推动
    • DOWN事件表示手柄向后推动
    • LEFT事件表示手柄向左侧移动
    • RIGHT事件表示手柄向右侧移动
  • 高级操作事件

    • CrossPlatformInputManager.GetButtonUp("MENU")
    • CrossPlatformInputManager.GetButton("CENTER")
    • CrossPlatformInputManager.GetButtonUp("OK")
    • CrossPlatformInputManager.GetButtonUp("Submit")
    • CrossPlatformInputManager.GetButtonUp("DOWN")
    • CrossPlatformInputManager.GetButton("Jump")
    • CrossPlatformInputManager.GetButtonUp("C")
    • CrossPlatformInputManager.GetButtonUp("Cancel")
  • 游戏功能扩展说明

    • FR:徐海涛(Hunk Xu)
    • 贡献者QQ群:386476712
  • 以上内容主要介绍了游戏手柄的基本操作事件及其对应的功能操作,供开发者参考使用

    转载地址:http://rxcc.baihongyu.com/

    你可能感兴趣的文章
    Reflection反射机制原理、使用场景 及 缺陷
    查看>>
    php csv 导出
    查看>>
    php curl 实例+详解
    查看>>
    php curl_init函数用法(http://blog.sina.com.cn/s/blog_640738130100tsig.html)
    查看>>
    php curl_multi批量发送http请求
    查看>>
    php curl请求微信发红包接口出现错误:Peer's Certificate issuer is not recognized.
    查看>>
    PHP curl请求错误汇总和解决方案
    查看>>
    php declare(ticks=1)
    查看>>
    UVA 10474
    查看>>