I know that joystick_direction returns the numpad value (or actually the keyboard keycode of the numpad key) that corresponds to the direction being pressed, but my gamepad only has a D-pad, and I have no experience with using joystick_direction to retrieve the direction of an actual joystick (analog thumb-stick).
- Does joystick_direction even work for analog thumb-sticks? (It would seem strange if it only returned the direction of the D-pad.)
- If yes, then...
- How does the function discriminate between pushing Right (Numpad 6) and pushing Right-Up (Numpad 9)? Is there some room for play in-between, where everything from 337.5 to 22.5 degrees is "Right", and everything from 22.5 to 67.5 degree is "Right-Up"?
- How does GameMaker handle joystick_direction information from controllers with 2 analog thumb-sticks?
- Is this a universally supported feature (that GameMaker provides), or is pov information somehow "special" information, like forece-feedback, that only some controllers provide? (I'd be surprized if the latter were the case.)
- Again, how does GameMaker handle information from controllers with 2 analog thumb-sticks?
I know that there are other gamepad utilities out there, but I find often that the links to them are broken, or that they require the user to have GameMaker Pro. My goal is to make something so simple and accessible that anyone can easily make their game gamepad friendly.
If you'd like to be a Beta tester, pm me and I'll let you know when testing begins (likely some months away). Include in your message your gamepand's make and model.
Edited by Galactic Chimp, 23 November 2008 - 06:55 PM.