Legacy GM [EDITED}

N

Noprops

Guest
I think i am going to see if there is some built - in alternatives that GM:S 1.4 has.
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
Code:
var gi = <your gamepad index>
var lx = gamepad_axis_value(gi, gp_axislh);
var ly = gamepad_axis_value(gi, gp_axislv);
if (point_distance(0, 0, lx, ly) > 0.1/* deadzone */) {
// ...
}
 
Top