Hi,
this is a very simple problem, but I dont know, why this code doesnt work. I am trying to get the crosshair in the middle of the screen, and I use mouse_mode = 1. This is my code:
mouse_pos.x = screen_size.x/2;
mouse_pos.x = screen_size.y/2;
But the mouse stays on top of the gamewindow, not even in the middle. What did I wrong?
EDIT:
What I need is the mousecursor to stay in the middle, so that I am able to click on entites. I think this should be easy, but somehow, there exists no such mouse_mode or something like this.
Thanks
Last edited by gameplan; 10/05/12 20:21.