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.

2D All the way! / Creating a 2d RTS

Author
Message
UnderLord
20
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 7th Nov 2003 16:55
I want to creat a 2d RTS space game but i want to know how can i get the player to select his/her units so that way they can move them around the game ect...

http://www.freewebs.com/ingamers
M00NSHiNE
20
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 7th Nov 2003 16:58
This is more of a coding question I think..... maybe take a look at the RTS bare bone demo in the CODE SNIPPETS section, by Phaelax. It would need some editing to make it 2d though.

ZEDWARE website coming soon... //END TRANSMISSION//
UnderLord
20
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 7th Nov 2003 18:10
eh isent that for dbpro though? this is dbc that im using

http://www.freewebs.com/ingamers
CloseToPerfect
21
Years of Service
User Offline
Joined: 20th Dec 2002
Location: United States
Posted: 8th Nov 2003 16:29
you didn't say you were using DBC did you? this is a DBP forum, there is a thread for classic,

DarkBASIC Discussion
This is for all things relating to DarkBASIC Classic.

But you are more then welcome to post classic specific questions in other threads just specify you are using DBC not DBP.
CTP

you not the only one to do this alot of people do.
UnderLord
20
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 8th Nov 2003 18:45
hmm its probably becuase no where on the forums does it say DBP and if it does alot of people miss it

http://www.freewebs.com/ingamers
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Nov 2003 07:58


then check all the positions of the units to see which ones are within those coordinates. And those will be the selected units.
UnderLord
20
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 11th Nov 2003 15:19
thanks phaelax

http://www.freewebs.com/ingamers
load image "sp1.bmp",1
paste???? 2d games = fun....teach me
Erusuwasu
20
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Where am I? I think I\'m lost...
Posted: 14th Nov 2003 09:40
This area of the forum, is for all things 2D. No where does it say anything about this being a DBP specific section. It's for anyone using any version of DarkBasic. So all of you DBP users need to get off your high horse!

DBP users need to specify what their using just as much as DBC users do when posting here.

I've got DBClassic and Photoshop Skillz and I'm not afraid to use um!
UnderLord
20
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 15th Nov 2003 18:02
Im trying to figger out how to check my units position but im not to sure could i do it like this?

Example
if sprite 2 = mousex() then mouseclick=1? can i do that?

http://www.freewebs.com/ingamers
load image "sp1.bmp",1
paste???? 2d games = fun....teach me
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Nov 2003 08:40
If you can't understand how to use this, I reccommend giving up on the RTS for now.


Login to post a reply

Server time is: 2024-05-02 14:44:23
Your offset time is: 2024-05-02 14:44:23