Поддержка джойстика в игре GameMaker для Android

Поддерживает ли GameMaker любой джойстик, подключенный к устройству Android, или совместим с ним? Если да, то есть ли учебник или документация для реализации.


person NerdBoy    schedule 12.07.2014    source источник


Ответы (1)


Да, в самом деле! Ваши варианты:

Android export supports NYKO controllers and generic Bluetooth controllers (including the OUYA), but only when they are enabled, meaning that you will have to tick the iCade/Bluetooth option in the Android Tab of the Global Game Settings. They require API level 12 for them to work fully and it should be noted that GameMaker: Studio will register as connected any Bluetooth devices that your device is paired with, whether or not it’s actually connected. Therefore this should be taken into account when assigning and checking "slots".

Отправную точку для полной документации контроллера можно найти здесь:

http://docs.yoyogames.com/source/dadiospice/002_reference/mouse,%20keyboard%20and%20other%20controls/gamepad%20input/index.html

person Matt Grey    schedule 17.07.2014