Easy Mobile Controls: A few easy-to-implement mobile control solutions, including an on-screen analog stick, a virtual-key based directional pad, and accelerometer-based horizontal tilt controls.
Well-commented, efficiently organized code.
Compatible with all export modules.
Reviews and feedback are much appreciated!
Fixed a bug that accidentally used room_width to calculate resized GUI coordinates instead of view_wview (resulted in some wacky GUI controls placement).
Make sure that when you make a room that even if you don't need to use a view, you have one initialized with the same dimensions as room_width and room_height. (Some of the code relies on the variables view_wview and view_hview - it currently seems like they're undefined if no view is initialized.)
Also switched from using Macros to differentiate between axes (AXIS_X and AXIS_Y) to enums (axis.X and axis.Y), as Macros aren't currently supported on the Marketplace.
Version 1.0.11. Published August 13, 2014
Created with GameMaker: Studio v1.4.1398
You can only review assets you've bought.
Fix it please
Y axis for analog stick is not working!
Y Axis does not work
You should just include a text file with the Macros info, most people can assign constants.
The virtual analog stick has no movement on the Y Axis, and do you know if it would work as multi touch say having a jump/fire button?
Overall a few bug, well commented, should be straight forward to implement into a game.
Total size 69.3 KB