Difference between revisions of "Event.RIGHT JOYSTICK"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Value:''' rightJoystick<br/>
+
'''<translate>Value</translate>:''' rightJoystick<br/>
=== Description ===
+
=== <translate>Descriptio</translate>n ===
 
<translate>Event for movement of the right joystick</translate>
 
<translate>Event for movement of the right joystick</translate>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''x''': (number) <translate>x vector from -1 to 1</translate><br/>
 
'''x''': (number) <translate>x vector from -1 to 1</translate><br/>
 
'''y''': (number) <translate>y vector from -1 to 1</translate><br/>
 
'''y''': (number) <translate>y vector from -1 to 1</translate><br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2011.6
Value: rightJoystick

Description

Event for movement of the right joystick

Parameters

x: (number) x vector from -1 to 1
y: (number) y vector from -1 to 1
angle: (number) angle at which joystick is positioned in radians, left being 0 and increasing in clockwise direction
strength: (number) distance vector from the center to current position from 0 to 1
playerId: (number) id of controller/player