gun pointing angle

Game Editor comments and discussion.

gun pointing angle

Postby supa-tails » Mon Nov 03, 2008 12:35 am

ok, I am making a game, and the dingle quad (the creature you play as) is equiped with various weapons throughout his journy, such as a sub-machine-gun, 9mm pistol, crowbar, shotgun, magnum revolver, minigun, and he shoots at where the mouse points. My question is how do I make him aim his gun up or down depending on where you mouse moves? (like in any fps) I have rotated sprites for him aiming his gun, I just don't know how to make it work.
................................................................................................ www.freewebs.com/thebiverse .....................................................................................




c'ya on the other side
User avatar
supa-tails
 
Posts: 269
Joined: Fri Jul 27, 2007 3:03 pm
Location: In an aliens tummy... Or in cumming Georgia USA
Score: 17 Give a positive score

Re: gun pointing angle

Postby Kalladdolf » Mon Nov 03, 2008 7:37 pm

I remember someone made a demo about this...
here.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: gun pointing angle

Postby feral » Sun Nov 09, 2008 8:35 am

or try looking at the example "abuse 2"

viewtopic.php?f=6&t=5189&p=36301&hilit=abuse#p34712
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron