Joystick commands

Blitz3D Forums/Blitz3D Beginners Area/Joystick commands

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

After an hour of writing and experimenting I wrote these commands myself and was wondering if there's a way to smooth it out the turning just so it's not rough


;Create a joystick that moves  
JX=JoyX()
JY=JoyX()

JX=JX*20
JY=JY*20

JX=JoyXDir()*20
JY=JoyYDir()*20
RotateEntity Camera,JY,-JX,0
;TranslateEntity Camera,0,0,0