Difference between revisions of "love.joystick.getBall"
m (1 revision: Importing from potato (again).) |
(Add missing parameters) |
||
Line 1: | Line 1: | ||
− | |||
Returns the change in Ball position. | Returns the change in Ball position. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | dx, dy = love.joystick.getBall( ) | + | dx, dy = love.joystick.getBall( joystick, ball ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | {{param|number|joystick|The joystick to be checked}} | |
+ | {{param|number|ball|The ball to be checked}} | ||
=== Returns === | === Returns === | ||
{{param|number|dx|Change in x of the ball position.}} | {{param|number|dx|Change in x of the ball position.}} |
Revision as of 16:37, 13 November 2010
Returns the change in Ball position.
Function
Synopsis
dx, dy = love.joystick.getBall( joystick, ball )