Hero++ is finished - Check it out!

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
Anonymous

Hero++ is finished - Check it out!

Post by Anonymous »

It's been a while since I've posted here, but since this community helped me out learn some things about C++, I thought it would be fitting to post a link to the finished product.

Starting in about May, myself and a pair of friends at school started making a game in C++. We coded it off and on in our free time amongst assignments, work, and other distractions. Date of official release was this week sometime. (Early October 2004)

Hero++ is an ascii rpg. Admittedly, it's the best ascii game I've ever played because it's the only ascii game I've ever played! It shouldn't take more than a few hours to finish the game to completion. The game is pretty well debugged, is only 240kb to download, and is Free! The game is being hosted by the nice folks at www.ninefires.net They're also game developers, but a lot more advanced. Check out their stuff too if you have the chance.

Check Hero++ out, leave some comments, tell your friends. You can download it from:

http://hero.ninefires.net/

A few technical notes about Hero++:

- made in C++ with ONLY the C Standard Libraries and "conio.h"
- 16 color ascii graphics
- about 7000 lines of code and over 60 maps with 3 70x25 matrices each
- supports a movement engine, buying/selling/equipping items, spells with animations, battles
- uses the space/enter, 8,6,4,2/5 keys for pretty much everything
- compatable on EVERY win32 platform (win95-winXP)
- read the FAQ if you're having difficulties!

I'd be happy to answer any questions about the game in this thread. Also, if you defeat the last boss, post your level, another member of the team wants to keep this statistic.

The source code will be posted eventually, it just needs to be cleaned up a bit, it's not a very pretty sight at this moment.

Archived topic from Iceteks, old topic ID:2741, old post ID:22374
wldkos
Posts: 830
Joined: Mon Feb 24, 2003 12:19 pm

Hero++ is finished - Check it out!

Post by wldkos »

I didn't download it, but that looks pretty cool man.

Archived topic from Iceteks, old topic ID:2741, old post ID:22384
User avatar
Death
Posts: 7919
Joined: Thu Sep 30, 2004 10:12 pm

Hero++ is finished - Check it out!

Post by Death »

Wow. It's like ZZT all over again! Ya, I remember games like that. I made one like that sometime ago using a dos based progamming language. It was mostly ascii with a few graphics. The maps were nice. Completely random and such, so the game was different each time you played it. Never really finished making it though. After 200 maps, you kind of lose interest in it :(.

Archived topic from Iceteks, old topic ID:2741, old post ID:22386
wtd
Posts: 157
Joined: Sat Sep 25, 2004 7:21 pm

Hero++ is finished - Check it out!

Post by wtd »

Ryan4Ever wrote: - made in C++ with ONLY the C Standard Libraries and "conio.h"
I hate to be pedantic, but the programming language you used for this is just plain old C. The fact that it compiles with a C++ compiler is coincidence. The two are very different languages. :)

Archived topic from Iceteks, old topic ID:2741, old post ID:22391
Anonymous

Hero++ is finished - Check it out!

Post by Anonymous »

Are you sure? We used various pointers in the code. I had thought that those were native to C++ and not C. If not, that's something to be proud of further! It's to my knowlege that C has less shortcuts and features built into it so more difficult to code in.

Archived topic from Iceteks, old topic ID:2741, old post ID:22392
User avatar
Triple6_wild
Posts: 1389
Joined: Sat Sep 06, 2003 5:58 pm

Hero++ is finished - Check it out!

Post by Triple6_wild »

hehehe made it to lvl 3 .... cloud magic sux lol 10 mp to do 14 dmg? should of put magic ring on b4 i tryed it but ether way :) kinda reminds me of final fantasy

shh theres a lil kid hiding in the bushes (bottom right of town) :biglaugh:

Archived topic from Iceteks, old topic ID:2741, old post ID:22404

Wait what?
wtd
Posts: 157
Joined: Sat Sep 25, 2004 7:21 pm

Hero++ is finished - Check it out!

Post by wtd »

Ryan4Ever wrote: Are you sure? We used various pointers in the code. I had thought that those were native to C++ and not C. If not, that's something to be proud of further! It's to my knowlege that C has less shortcuts and features built into it so more difficult to code in.
Pointers are a concept which exist in many programming languages, including C and C++.

As for features and shortcuts...

Yes, C++ has a more complex syntax, and that means there are going to be more ways to get the same thing done, and often easier ways, but this doesn't mean that it's easier to work in C++.

C, relatively speaking, is a simple language, with a simple syntax. It's easy to get bogged down in the details of how the syntax of C++ works, and concentrate less on how your program should work.

In summary: if you really know what you're doing, and have a great deal of experience with C++, then it can be faster and more productive to develop in that C. Otherwise, it will likely take you longer, and the end product will likely be buggier.

Archived topic from Iceteks, old topic ID:2741, old post ID:22475
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Hero++ is finished - Check it out!

Post by Red Squirrel »

Actually what are the main differences between C and C++? I use a C++ compiler, but maybe my code is actually C and I don't know about it (since they're both interchangable)

For example are cout and cin function C or C++?

Archived topic from Iceteks, old topic ID:2741, old post ID:22483
Honk if you love Jesus, text if you want to meet Him!
wtd
Posts: 157
Joined: Sat Sep 25, 2004 7:21 pm

Hero++ is finished - Check it out!

Post by wtd »

std::cout and std::cin are actually variables: objects of the ostream and istream classes, respectively.

C has no support for object-oriented programming. It has no support for templates. There is no operator or function overloading. There is no syntax for "references", but simply pointers. The "new" and"delete" operators for allocating and freeing memory don't exist, but instead the "malloc" and "free" functions are used. No string data type is provided, but rather strings are simply arrays of characters, and ended by a character with a value of zero.

If you're using G++, then you almost certainly have access to a plain C compiler in GCC. C++ isn't a perfect superset of C. A few of the things it adds conflict with how they should behave in standard C.



Archived topic from Iceteks, old topic ID:2741, old post ID:22487
Locked