Mouse stays centre, background moves when mouse moved?

Game Editor comments and discussion.

Mouse stays centre, background moves when mouse moved?

Postby scythe » Wed Apr 18, 2007 5:27 pm

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
scythe
 
Posts: 37
Joined: Wed Apr 11, 2007 2:50 pm
Location: Australia
Score: 0 Give a positive score

Mouse center

Postby Gamefreq » Tue Apr 24, 2007 2:31 pm

Go to the view draw actor, script editor, and choose the follow mouse under variables/functions. 8)
Gamefreq
 
Posts: 2
Joined: Tue Apr 24, 2007 2:27 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron