objMobileControl

objects / Don't Use / Core / objMobileControl
prtAlwaysActive > objMobileControl

Description

Handles controls for Android platforms.

Variables

NameValueDescription
js_center_x0
js_center_y0
js_null_radius_frac1 / 32
js_drag_radius_frac1 / 23
js_h0

simulated digital input -- values are -1, 0, or 1

js_v0
js_jumpfalse
js_jump_v_dampening0.92
js_shoot_x0
js_shoot_y0
integrate_shot0
dev_split_frac0.85

portion of screen belonging to joystick

pauseFrac0.1
jump_frac0.25
slide_frac0.7
cursorDownfalse

remember if mouse pressed for UI.

Inherited from prtAlwaysActive

NameValueDescription
frozen0