rockout ship movement with keyboard or joypad

BlitzMax Forums/BlitzMax Beginners Area/rockout ship movement with keyboard or joypad

hub(Posted 2006) [#1]
Hi !

Need smooth movement for my ship into my game with keyboard and joypad. I've already use the smooth ship example code from rockout.

Is this possible to adapt the rockout example code to have the same mouse smooth ship movement with keyboard or Joypad ? Thanks for your help and ideas !!!


hub(Posted 2006) [#2]
no answer... maybe i've asked a stupid question ;-(


tonyg(Posted 2006) [#3]
I would look at some sort of analog routine by tracking the length of time a key is held down and use that to add to the X/Y coords to be moved to by the player.


hub(Posted 2006) [#4]
Thanks for your help
i've found bmax example code inertia.bmx into the samples folder. .