Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Crosshair and gun

Author
Message
VB and GDK
15
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 17th Jul 2009 06:39
Is there a way to put a crosshair(target) in the middle of the screen and have the gun point to that. Aswell how do you make the gun sit out a little from the camera so you can only see about 1/2
VB and GDK
15
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 18th Jul 2009 02:43
Sorry this is on the wrong board
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 20th Jul 2009 14:15
Just position/rotate it where you want(near the camera), then use dbLockObjectOn(GUN); to keep it in place, as for the crosshair, just put a sprite in the middle of the screen. dbLoadImage, dbSprite are good for this.

#ifdef _in_programming_heaven_
MakeAnAwesomeGame(lots of badies, lots of guns, lots of stuff to do, BIG level)
#endif

Login to post a reply

Server time is: 2024-10-01 08:28:45
Your offset time is: 2024-10-01 08:28:45