C++ Text Based RPG Team

Pages: 123
closed account (GbX36Up4)
No, We use just use voids, like the main, then put our code into the void. I noticed when I did ruby if someone went back and forth between 2 rooms it would need a butt-load of if statements. Now we just create voids and when they go "north" they go to that room. then if they go south they go south and they can do it infinetly without infinate if's. And we actually have 3 members, ModShop from above joined, but he has exams coming up so can't work much, and alex is moving on wensday so im really the only one working for now. Though I understand that a class creates a "object" in the memory. Though I don't undertsand it at all. I do have a C++ book with me but I have been to lazy to read it lately.
*EDIT* i undertsant that it creats a..... though i don't undertsand it at all. I mean to say that that is all I know about classes..
Last edited on
Classes are a VERY powerful (if not THE most powerful) feature of C++. I suggest learning it first. Btw, I have exams too, starting from tomorrow, but I'd like to join in.
xander.deseyn@gmail.com

Cheers
closed account (GbX36Up4)
Thanks! This started out as a simple test for me and ALex, but now it is turning into something much greater. I hope to work with you sometime soon.
*EDIT* What do I use your email for? Is it your MSN?
Last edited on
I would definitely recommend you learn classes. Then you can move on to other concepts such as operator overloading, templates and polymorphism. These are the kind of powerful features which can make solutions to programming problems so much more elegant :)
Nope, just email conversation. I don't use MSN.
closed account (GbX36Up4)
to 314, I don't mean to be rude, but can any of that be more useful to a text based rpg than ifs, switchs, whiles, and the basics?
@logart: Absolutely! Classes make your life always easier!
closed account (GbX36Up4)
Also, Alex and I both use DEV-C++ as (probably heard this a million times XD) it is really simple and easy. And yes i know that it is no longerbeing updated
I didn't mean to be pushy. All I was saying is that once you learn about these features, you will use them all the time and wonder how you did without them ;)

For example, you could have a class to represent a level/area. It would know how to be loaded from a data file and how to interact with the user. Just generally, things tend to get tidier with classes as opposed to without them.

both use DEV-C++ ... really simple and easy

I won't give you the whole thing because it looks like you've heard it before :p But you might want to look up wxDevC++. It is being updated and, though I haven't used it myself, I understand that it has a similar interface to the original. :D
closed account (GbX36Up4)
THANK YOU. Now I don't have to be constantly bugged about it, and a better version! Ihope it is still simple.
Last edited on
:O I just noticed there was an error in the SFML program I posted earlier in this thread. I try to draw the image: Window.Draw(Image); when I should be drawing the sprite: Window.Draw(Sprite);.
I can help too as long as your not doing anything with graphics libraries! I know about classes and inheritance and all that and from what you've been posting i'de say were about the same level in programming skill.(Besides you not know classes but im sure you could pick it up quickly)
@nano511 If you know all that stuff, you certainly shouldn't be afraid of a harmless little multimedia library such as SFML. http://sfml-dev.org/ Seriously, it's really really simple.
See my previous post:
http://cplusplus.com/forum/lounge/44722/#msg242566

Building it does cause some people problems (for me too when I started with it), but the developer has written a tutorial: http://sfml-dev.org/tutorials/2.0/compile-with-cmake.php
If his is too general, I have written specific ones for Visual C++ and MinGW (which is what Code::Blocks uses by default on Windows).
http://sfmlcoder.wordpress.com/2011/06/16/building-sfml-2-0-with-mingw-make/
http://sfmlcoder.wordpress.com/2011/06/15/building-sfml-2-nmake/

Once you've built it, either follow through with his tutorials (a little out of date as he's developing the next version):
http://sfml-dev.org/tutorials/1.6/
or check out some of mine on my blog:
http://sfmlcoder.wordpress.com/

PS: Make sure you use SFML 2.0 and NOT 1.6!
Last edited on
Xanders SFML 2.0 building tutorial solved everything for me, it is ridiculously easy.
[quote="Xander314"]Xanders SFML 2.0 building tutorial solved everything for me, it is ridiculously easy.[/quote]

+1
Last edited on
I mean i guess i could learn it but i dont really feel like it lol. Im focused right now on learning windows programming so i dont really want to learn more librarys. And the OP said he wanted to create a text based RPG so i'de rather stick to his original plan :p.

If you will be using the graphics librarys then i will not be helping, but it doesnt really matter since you already have so many people willing to help
Windows programming is a pain afaik
I'm just beginning to get into working on learning the game development trade. I've got a few ideas that I'm writing down, but I'm nowhere near close to programming them (the first few versions will probably be text-based anyway). I'd like to get some experience working on a more "up to date" game.

If I can add on to the team, or contact you guys for any problems or questions I have on my own project, inbox me.

thanks
Last edited on
Hey Prince, welcome to the forum :)

The team split up a few weeks back. Logan and Alex went on with a text-based version, and me and Ben (ModShop) went on with our own game. I think you don't have the necessary skills to join our team, but you could try contacting logan (Logart username).
closed account (GbX36Up4)
Hey. Alex and I aren't working on it much lately. He has been having a lot of stuff going on in RL so yeah... Currently I am working on a text-based-graphics game in allegro :D
Pages: 123