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!
End User Licence Agreement (EULA).
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.