Jump to content

Joystick and Button: Difference between revisions

m
Use the jpg image in the solution
(Refurbish the whole article)
m (Use the jpg image in the solution)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
In a game, there can be only up to 2 joysticks, 4 buttons, or when used in combination, 1 joystick and 2 buttons ''per frame''.
In a game, there can be only up to 2 joysticks, 4 buttons, or when used in combination, 1 joystick and 2 buttons ''per frame''.
Going above this limit produces an error of "Too many controls!"
Going above this limit produces an error of "Too many controls!"
They were introduced in [[Version History#fancade-1-8-9|version 1.8]].


= Joystick =
= Joystick =
Line 37: Line 39:
This vector should now be [[rotate]]d with '''<font color="ffa500">Rotation</font>''' input <code>90, 0, 0</code>.
This vector should now be [[rotate]]d with '''<font color="ffa500">Rotation</font>''' input <code>90, 0, 0</code>.


{{Image|Joystick_solution.png}}
{{Image|Joystick_solution.jpg}}


= Button =
= Button =