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

Author
Message
Tav
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location:
Posted: 5th Mar 2008 15:14


Now i want my bullet to go to the direction of my crosshair, but I dont have any idea how to start. Any ideas?
ty
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 5th Mar 2008 19:22
well... you have a sprite as a crosshair - 2d world versus 3d world.

You might try PICKOBJECT... but this will only let you select the object your "mouse" (I think) or sprite is over.

I haven't used the command but I'm pretty sure you give it x,y coords on the screen...should be CLOSE to sprite X,Y (Remember Sprite x,y on top left corner unless you shift it or something)

Tav
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location:
Posted: 6th Mar 2008 15:37
mmm gonna try that

ty

Login to post a reply

Server time is: 2024-09-29 13:32:01
Your offset time is: 2024-09-29 13:32:01