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.

Newcomers DBPro Corner / Help with making a Real Time Strategy Game

Author
Message
AdunToridas
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location: Cyberspace
Posted: 20th Jan 2011 01:44
Ok, im trying to make a RTS but im a noob at programming with darkbasic and there are no tutorials out there that help me. Can someone please help me with a tutorial or some code to get me started cause this is driving me crazy!

my life for aiur
Eminent
14
Years of Service
User Offline
Joined: 15th Jul 2010
Location:
Posted: 20th Jan 2011 03:20 Edited at: 22nd Jan 2011 09:01
AdunToridas
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location: Cyberspace
Posted: 20th Jan 2011 15:47
Thanks I'll take a look at this and see if it helps.

my life for aiur
Kiaurutis
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location: Lithuania
Posted: 26th Jan 2011 16:27
I am making RTS but have some nasty problem. If i can make objects move to destination coordinates, later can add path finding function to move between waypoints
i get errors while moving objects
this is main loop part:


and these are functions:



when i move object and after that select other target, program crashes. It crashes when try to place objects on ground height too (comment style code in last two functions)

here is full program if need:



I can add download of full program source+media+.exe if need

Login to post a reply

Server time is: 2024-11-23 03:31:51
Your offset time is: 2024-11-23 03:31:51