Important alert: (current site time 7/15/2013 4:44:56 PM EDT)
 

article

The Legend of Zelduh (with level editor)

Email
Submitted on: 4/30/2008 1:43:52 PM
By: Joseph Harvey  
Level: Intermediate
User Rating: By 17 Users
Compatibility: C++ (general), Microsoft Visual C++
Views: 37759
author picture
(About the author)
 
     This program is a zelda clone that I made to learn how to use tilemaps. It's a very fun game! Be sure to play with the level editor! Instructions are included in a word document if you need help! Lost Side Dead!!!!!! www.lostsidedead.com

This article has accompanying files

 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
				All characters/projectiles on the screen are of type "entity". The only difference between the controllable character and the enemies is that the player character's actions are defined by your keyboard input, and the enemies move random distances in random directions and attack randomly. (also, the player character can only shoot fireballs with full health)
There are 5 types of enemies:
The Snake: Beware of the boulders he launches!
The Poo-Monster: His bile will burn you!
The Archer: Master of archery
The Blinking Eye: His icky eye-gunk will make you ill
The Grub: 40 in hand, he shows his disrespect for your mad skill by spitting on you!
Zelduh has somehow gotten trapped among these fiends... You must save her!
The game project is called "neo hardcore warrior" which was my generic title when I started, and the level editor project is called "legend of nameless" since I still wasn't sure what to call it at the time =P
Here is the game and source code on the Lost Side Dead website. 

winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.


Other 6 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
11/2/2001 4:20:57 PMVulcan

I love it :-)

(If this comment was disrespectful, please report it.)

 
11/2/2001 4:38:20 PMJoseph Harvey

My friends at school had fun playing this, I hope you people enjoy it too =D
(If this comment was disrespectful, please report it.)

 
11/2/2001 5:20:27 PMJoseph Harvey

remember, zelduh is somewhere in the level waiting for you to save her!
(If this comment was disrespectful, please report it.)

 
11/2/2001 7:05:34 PMNeeko

A great piece of programming Ive seen here, The roots of this style of programming have alot of potential for being very organized and efficient style of coding. This style will show its good side when this persons programs become larger in size. Excellent work!
(If this comment was disrespectful, please report it.)

 
11/2/2001 9:47:42 PMMike L.G.

Great game joseph. Although I would have to disagree with Neeko. If this were a much bigger project I think it may be harder to manage let alone maintain. There are magic numbers everywhere (which can become a true nightmare on so many levels) and you are performing no error checks on your DirectDraw functions and method calls. At the very least you should check for a return of DD_OK. DirectX can become extremely irritable on some machines. I also believe that no matter how small your classes are, you should always separate the declaration from the definition. i.e. ( declarations should go into a separate .h file, and definitions should into an implementation file .cpp ). I am going to kick myself later because I know at times I should be taking my own advice. This is just my experience from working on several large projects. I hope I did not offend anybody. It really is a cool game.
(If this comment was disrespectful, please report it.)

 
11/3/2001 11:04:49 AMJoseph Harvey

It's cool man, that's good advice.

I was planning on tailoring my code nicely once I fleshed out the majority of the game, but I decided not to in the end because of time issues...

If I was worried about making excuses for poor programming practice, I wouldn't have submitted this program in this state. Thanks for your comments though =)
(If this comment was disrespectful, please report it.)

 
11/5/2001 11:28:18 AMjmiller

i really like the level editor. it works swell.
(If this comment was disrespectful, please report it.)

 
11/5/2001 4:18:23 PMJoseph Harvey

Heck yeah, be sure to play around with monster placement. It's fun to put down huge mobs of monsters in tight areas =D
(If this comment was disrespectful, please report it.)

 
11/29/2001 9:01:37 PMCless

Great game Joeseph! The Level editor rules! The code is nicely written as well. The enemies are humorous and nicely drawn. I especially like the poo monster and archer!
(If this comment was disrespectful, please report it.)

 
11/29/2001 9:13:22 PMJoseph Harvey

A friend of mine most of the sprites. Their names are mentioned in the "Game Instructions" word file included with the code. Don't forget to vote people!!!!!!
(If this comment was disrespectful, please report it.)

 
1/4/2002 2:44:17 PMokiedokie

um, maybe i missed it somewhere but how did you guys play the game, when i compile it, i get a bunch of errors, oh well, the game looks cool anyway
(If this comment was disrespectful, please report it.)

 
1/4/2002 11:15:07 PMafsa

asf
(If this comment was disrespectful, please report it.)

 
1/4/2002 11:18:40 PMhelp

hello,
i tried to run your code but it gave me a whole bunch of error. I think it is something to do with this

LPDIRECTDRAWSURFACE7

Could u please tell me how i can run it???
thanks
(If this comment was disrespectful, please report it.)

 
1/5/2002 1:37:12 AMJoseph Harvey

perhaps you don't have the direct x SDK installed in the same place that I did.

First of all, do you have direct 7 or higher?
(If this comment was disrespectful, please report it.)

 
1/11/2002 11:21:35 PMtim

i cant get it to download, the www.lostside.com link doesnt work and neither does the link off PSCode
(If this comment was disrespectful, please report it.)

 
1/11/2002 11:22:00 PMtim

www.lostsidedead.com*
(If this comment was disrespectful, please report it.)

 
1/15/2002 8:50:52 PMJared Bruni

site was down for a few days, the link is fixed
(If this comment was disrespectful, please report it.)

 
8/1/2002 2:22:52 PMx_darkdude_x

this game is pritty cool dude make a full 1 i bet u could :>
(If this comment was disrespectful, please report it.)

 
11/8/2002 2:34:00 PM

i tried to run it but it had 8 errors. how can i fix this?
(If this comment was disrespectful, please report it.)

 
11/16/2002 10:50:41 AM

I got some erros these are them :(

LPDIRECTDRAWSURFACE7' : undeclared identifier

lpdds7' : undeclared identifier

DDSURFACEDESC2' : undeclared identifier

ddsd' : undeclared identifier

type 'int' unexpected

syntax error : missing ';' before identifier 'lpdd'

LPDIRECTDRAW7' : missing storage-class or type specifiers

unexpected end of file found

Could you help plz or email me at
unsecure_root@yahoo.com

(If this comment was disrespectful, please report it.)

 
1/5/2004 4:08:00 PMJoseph Harvey

Be sure you have the DirectX 7 SDK installed and set up properly with your compiler.
(If this comment was disrespectful, please report it.)

 
1/20/2004 12:01:20 PM

i cant run it,it is psc and i have windows 98 SE what the problem do i need an emu?
(If this comment was disrespectful, please report it.)

 
1/27/2004 1:32:31 AM

I downloaded it and there was 1 error: ddraw.h - No such file or directory. How do I get this?
(If this comment was disrespectful, please report it.)

 
3/30/2004 12:26:25 AM

If it doesn't work, get the DirectX Software Development Kit.
(If this comment was disrespectful, please report it.)

 
8/11/2004 2:24:35 PMAustin Rude

how long did this take you to make?
I would LOVE to know!
(If this comment was disrespectful, please report it.)

 
5/1/2008 9:00:53 PMBrenton A. Saunders

Very, very good piece of work!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.