Page 1 of 1

Mouse stays centre, background moves when mouse moved?

PostPosted: Wed Apr 18, 2007 5:27 pm
by scythe
I have started a duck shooting sniper type game and it uses the mouse to move the gun crosshair, the problem I have now im using the mouse for control is my background stops moving and the crosshair/mouse pointer only moves on the screen area.

What I want is for the crosshair to remain in the centre of the screen and everything else (except a static gun) to move and scroll around when i move it and click on the target and destroy an actor.

Also if I create a version for GPX2 how do I have a 1 pixel (crosshair) that would kill an actor when when it is over it AND I press the A button?

Can anyone help me with this please? it would save this noob eons of time, also any tips u may think may help, I looked around the forum but only found one similar type shooting game but much grander than mine will be, but it had no demo .ged source :(.

Thanks,
Scythe

Mouse center

PostPosted: Tue Apr 24, 2007 2:31 pm
by Gamefreq
Go to the view draw actor, script editor, and choose the follow mouse under variables/functions. 8)