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.

DarkBASIC Discussion / rts unit selection

Author
Message
Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 28th Jan 2004 03:48
i know this has probably been awnsered before but im trying to do the selection for my game and im using an object.I want to make it so the object stays directly under the mouse.so when the cursor is on a unit the object is too.How can i do this?Would there be a better way of doing it?Thanks
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 29th Jan 2004 02:09
Have a look on Underwear Design's site... He has a pck object example that he set up, should be just what you're looking for.

Hope I Helped...
Jees.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 31st Jan 2004 00:07 Edited at: 31st Jan 2004 00:08

i think that is the best way that i have seen (i developed it with my own noggin, with a big of help )

Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 1st Feb 2004 05:28
jess; that should help, thanks. now i just need to put it into my game!!

darwin; the camera is tilted and that doesnt work, thanks anyway.

Login to post a reply

Server time is: 2025-05-22 11:49:08
Your offset time is: 2025-05-22 11:49:08