- Title: Android On-Screen Gamepad
- Description: A simple emulation of a digital gamepad on screen for Android games. OUYA support in testing!
- GM Version: :GMS:
- Registered: Yes
- File Type: .gmz
- File Size: 535kb
- File Link: MediaFire 1605 Downloads
- File Link: OUYA BETA 98 Downloads.
- Required Extensions: None
- Required DLLs: None
- Tags: GMCSTUDIO GMCTUTORIAL GMCTOUCHSCREEN ANDROID
SUMMARY
This example illustrates how to setup a 4 and 8 directional button pad. Tailored for platforming, it allows a person to press multiple onscreen buttons with one thumb so that it reads two keys at once. Also included is a pause feature and an exit button that only has actions on the pause screen to exit the game.
In addition this code will accept Gamepad button presses that coincide with the Xperia Play, and by extension all but the A and B buttons work on the XBOX 360 controller over an OTG cable on Android OS version 3.2+.
Most of the code is commented for clarification.
To use, simply import the compressed .GMZ into a blank project.
UPDATE: Now uses Draw GUI Event for version 1.1.694 and up!
UPDATE: Updated to current syntax.
UPDATE: Added an Alternative link to a file that MIGHT support OUYA. I do not own one to test them, and would appreciate feedback.
UPDATE: Got some feedback on OUYA, results is it "Kinda Works".
Edited by Arusiasotto, 31 August 2013 - 07:43 PM.
























