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.

Code Snippets / selecting on a matrix with a mouse (in theory!!!)

Author
Message
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 7th Dec 2003 21:44
I have just had an idea of using the mouse to control a plain on the matrix. the only media you need is one for the target/plain (yellow?) and a grass one.

Tell me wat you think and see if it works if it doesnt could anyone have a look at fixing it?




Rich

Resist the power of the ring...
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 8th Dec 2003 19:13
is any one out there???

Resist the power of the ring...
Doucan
20
Years of Service
User Offline
Joined: 26th Nov 2003
Location: Vermont USA
Posted: 9th Dec 2003 03:00
You like lord of the rings, me too. I'm also trying to make a stragegy game and have been thinking about a similar if not the same problem. What exactly are you trying to accomplish? Are you trying to select a point (or object) on a matrix with the mouse? That's my problem.

If you come to a fork in the road, take it!

-Yogi Berra
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 10th Dec 2003 00:23
If you guys want help, search rts in the code snippits

Be happy, tomorrow is another day
las6
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Finland
Posted: 10th Dec 2003 09:10
or check this thread:
http://www.dannywartnaby.co.uk/rgt/index.php?board=18;action=display;threadid=1360

Keyboard not detected. Press F1 to continue.
TeePee
21
Years of Service
User Offline
Joined: 18th Apr 2003
Location: Australia
Posted: 11th Dec 2003 07:15
hey simpro
firstly when you used 'clone object' you mixed up the parameters. the new object that is being created is the first parameter and the second parameter is the source object or the object that is being cloned. so when i tried it it didnt really do anything. that black plain stayed in the middle of the screen and moved with the camera.
i cant really be bothered writing anymore right now but im working on an rts at the moment and i have mastered several aspects of it so if you or anyone else want any help in selecting a point on the matrix with the mouse or some other aspect of an rts, email me at teepee47_@hotmail.com

Login to post a reply

Server time is: 2024-11-24 00:06:07
Your offset time is: 2024-11-24 00:06:07