how can I program my cursor to be like those first person shooter game?
how can I program like those first person shooter game where the cursor is on the center, but yet is able to detect my mouse movement when it goes to the left and right... and hence affects my camera rotation.
Java Robot seems buggy and i can't seem to be able to script anything for the movement if i do use it.
any advice?
Re: how can I program my cursor to be like those first person shooter game?
Administrator
Hi!
Java AWT Robot is not buggy, just difficult to use for that. Look at the source code of my own First Person Shooter to see how to do this, in the alpha branch (in the only class that uses java.awt.Robot). Good luck.