Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Entry 2: My Text RPG

Sign in to follow this  


Wow, what a long day I've had... First I spent hours trying to keep my game "OO" but it's just too much of a pain to do so. Other then keeping my item list which has it's class and the player (encase I add a 2 player battle feature) and the monster class for making a ton of monsters, I'm not going out of my way to over kill with OOP due my lack of knowledge with using functions from my instances out of scope even though I know how to use pointers and references. Then I started out my design for the battle system, then the baby grabbed my cup which spilled all over my tablet which I use for graphic designs along with designing my programs... Thank God it still works! No more cups on my desk when holding the baby!

So I've programmed my Monster class, Player class (added a ton more things), Menu System and Battle Menu System and everything works perfectly! I've added in a refresh feature by using a game loop just to keep the screen always up to date without having it scroll and keep the old junk in the console.

Now I'm going to do the battle system and hopefully be done within a few hours. I really want to get my item system done so I can take advantage of the drop system and equipping weapons. I will also be using a real time randomize, not the classic rand because it will give you the same results every time you run the program. (Well it does for me). I did scrap the MP system for now because I wasn't even sure if I would have spells yet, I'm not going over board until I get the battle system completed.

Well, back to the grind stone!
Sign in to follow this  


Recommended Comments

Im not really a C++ programmer or anything, but I believe in order to make the rand, truly random you are suppose to call srand(time(null)) or something similar to that, sorry I do not know the exact function but you may want to look it up, good luck, and I enjoy watching your progress!

Share this comment

Link to comment
Thanks for the responses! :)

Yea, I was talking about the rand that uses time. This will ensure new results every time the program starts.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!