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 / [Tutorial] Let's Make a Tower Defense Clone! *Finished*

Author
Message
Prancer
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: Idaho, US
Posted: 11th Jan 2008 06:56 Edited at: 22nd Nov 2011 09:35


The tutorial is available here.

Included in the file is all of the media required and the directory setup too, just unrar the package and open up the doc.

NOTE: Ignore the parts of the tutorial requesting you to download media files as these are included in this full package.

Hope you all enjoy it! Please feel free to post comments or suggestions.

Attachments

Login to view attachments
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 11th Jan 2008 23:02
Very nice. If you dont mind I'm going to add this to the stickied tutorial thread

Your signature has been erased by a mod
Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 12th Jan 2008 02:30
Beautiful tutorial Prancer, I enjoyed reading it

I love tower defense games. I'd be overjoyed to see you come out with on of your very own.

On a side note, may I ask what program you used to create a pdf?

Hassassin MMORPG - Postponed until C++ learned for serverside
New Online Game - Designing Stage
Profit
18
Years of Service
User Offline
Joined: 19th Feb 2006
Location: United States
Posted: 12th Jan 2008 03:16 Edited at: 12th Jan 2008 03:20
CutePDF works, and OpenOffice can also export a pdf.

common people are walking in line.
Gooney
17
Years of Service
User Offline
Joined: 13th Apr 2007
Location: Stockholm, Sweden
Posted: 12th Jan 2008 15:27
Howdy Prancer,

Great Tutorial, after many years of DB ownership I'm finally getting into the programming part.

Leads me to my question.

I'm currently following the tutorial and have run into a problem, actually 2 but they may be related.

Page 4 of the pdf.

In the UpdateGUI() function there is a SELECT block which has the CASE NewIcn, it should call the SetupNewMap() function which isn't described in the pdf text. I just put in the CreateMap() function there to get it to compile.

Now it compiles but at runtime I am getting an illegal image at line 86 which is in the CreateMap() function, specifically the

IF MATRIX EXIST(1) = 1

Any help would be appreciated.



Main.dba declarations




-Gooney

Uboats in space...hmmmm. Aces of the Vaccuum?
APC
16
Years of Service
User Offline
Joined: 6th May 2007
Location:
Posted: 13th Jan 2008 02:28
it did not work for me...
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 13th Jan 2008 03:00
Then you screwed up..


Click For Details!
APC
16
Years of Service
User Offline
Joined: 6th May 2007
Location:
Posted: 13th Jan 2008 03:41
I just dont know if i can unrar is thats all...
Prancer
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: Idaho, US
Posted: 13th Jan 2008 07:14 Edited at: 13th Jan 2008 07:14
Zotoaster - thanks for adding it to the list, you should probably remove the incomplete one.

Thank you, I'm glad you guys have enjoyed it.

Gooney - You're absolutely right! I had some issues while writing that section because I lost a lot of the writing from my computer freezing I looked at the pdf and updated it with the left out SetupNewMap() function. Click here for the new pdf file.
Also, you shouldn't be getting that error. Remember that the IDE's tend to report the incorrect line of the error when we use multiple source files. Make sure you have all of the correct media in your media folder. If you find anymore issues, please keep me updated, I ran into a lot of problems while writing this so there are probably some issues. Thanks again.

APC - Check here for Winrar to unrar the files.

Gooney
17
Years of Service
User Offline
Joined: 13th Apr 2007
Location: Stockholm, Sweden
Posted: 13th Jan 2008 09:49
Thanks for the rapid reply Prancer. I'm checking it out now.

-Gooney

Uboats in space...hmmmm. Aces of the Vaccuum?
APC
16
Years of Service
User Offline
Joined: 6th May 2007
Location:
Posted: 13th Jan 2008 22:20
I cant unrar it
LD52
17
Years of Service
User Offline
Joined: 31st Aug 2006
Location: Internet
Posted: 29th Jan 2008 04:03
Thanks.
Jeff032
16
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 6th Feb 2008 18:03 Edited at: 6th Feb 2008 18:03
Quote: "I cant unrar it "


http://www.7-zip.org/

Hellraiser
16
Years of Service
User Offline
Joined: 11th Mar 2008
Location:
Posted: 23rd Mar 2008 10:21
Sorry to bump the thread but I've run into a problem and would really like to get it sorted out so I can finish the game.

My problem is that whenever I try to compile it, it has a nice little error message for me saying "Array must include a set of brackets at line 1461" and highlights this line (look at code)

Any help would be greatly appreciated.

Login to post a reply

Server time is: 2024-04-18 01:39:44
Your offset time is: 2024-04-18 01:39:44