Thread: info on my game

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    info on my game

    for my text rpg, im just about ready to start doing the levels. just need some input from you guys first. this is how it works:

    Monsters:

    Monsters do a certain amnt of damage, and all have a certain amnt of fire resistance, water resistance, earth resistance, and wind resistance, and physical resistance.

    Weapons:

    Weapons all do physical damage, except for magic ones which also do fire, or water, etc.

    Scrolls:

    Scrolls all do a certain amnt of all the types of damage (look at resistances). some of them do damage in more than one area, like Hell's Fury. this is all calculated for. instead of being able to only use the scroll once, you learn the spells. however, you can only have 3 learned at a time. the better the spell, the more energy is drained from you, which is required for you to cast spells.

    Rooms:

    Rooms are rooms. Most of them will have a weapon on the floor, which you can switch with your current weapon. A scroll too, which you can memorize. They will also have some sort of switch or lever or something like that that might open a secret door, or such like that.

    Character:

    You pick your character's stats (health, speed, str, magic). Each one effects how much damage you do in each area....or your health, or speed. Each one also has a special ability with it if you choose it for #1 priority. health reduces attacks to you by 2. speed lets you do 2 attacks, each with a new rand num calculated. str doubles your damage. (those two are only for weapons). magic adds 3 onto your damage with scrolls. also you have an armor class, which is lowered when you level up. when you level up, you can add 4 points to any one category.

    Of course you fight and stuff like that. You can also rest, which puts your health and energy to the max. If you run from a fight, and rest, the monster will fully heal as well so you can't be cheap in that way.

    can you guys think of any other features to put in? if you would like to see so far, just ask me to post the exe. (no code for you yet, im not about to release it just yet).

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Some advice, don't let the user pick the stats unless it's higher the hp or whatever, the less damage......if you don't want to do that, you can use the srand() or rand() functions included in the <time.h> or <ctime> (either one works) header file.

  3. #3
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    its like this:

    Pick importance of health:

    Pick importance of strength:

    Pick importance of speed:

    Pick importance of magic:

    then it assigns the most important with 16, 2nd with 12, 3rd with 8, and 4th with 4. so it does lower one if you choose another.

  4. #4
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    Originally posted by Quantrizi
    you can use the srand() or rand() functions included in the <time.h> or <ctime> (either one works) header file.
    I just wanted to point out that I think you're confused.

    rand() and srand() are both in <cstdlib> or <stdlib.h>. However you usually use the time() function in conjunction with srand() to seed the rand() function (which is in <ctime> or <time.h>).

    Just wanted to clear that up.

    My input on stat choosing is this:
    Just have all the stats randomly cycled. Have the user press enter each time to cycle through another set of random stats. If they like a set, they can type a command or hit another key or something to choose it. You know what I mean? Some older RPG's had this type of feature.

    Good luck
    Last edited by biosx; 04-30-2002 at 06:36 PM.

  5. #5
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Sorry (but on the plus, I was 1/2 right (new record ))

  6. #6
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    now im starting to code for the first level, the dungeon. there are 55 rooms in all, along with secret rooms that you must get to to be able to continue. it's going to be pretty tricky to make it through, its like a maze almost. hahaha.

  7. #7
    Registered User Prodigy's Avatar
    Join Date
    May 2002
    Posts
    25
    THATS MY AVATAR CHANGE IT!!!!!!!!!!!!!!!!!
    And the cows moo...
    AIM:ProdigyCpp
    E-Mail:[email protected]
    If you like my avatar plz dont copy it go to:
    http://www.dragid.com/

  8. #8
    Registered User
    Join Date
    Apr 2002
    Posts
    99

    ...

    No it's not, It's Magos's Home-Made Avatar. He Said so himself

  9. #9
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    everyones stealing each other's quotes and avatars

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please comment on my c++ game
    By MegaManZZ in forum Game Programming
    Replies: 10
    Last Post: 01-22-2008, 11:03 AM
  2. Replies: 0
    Last Post: 03-31-2007, 12:30 PM
  3. Help doing an e-mail program in c...
    By Tyler_Durden in forum C Programming
    Replies: 88
    Last Post: 01-02-2005, 03:12 PM
  4. Someone help me with this game??
    By stehigs321 in forum Game Programming
    Replies: 15
    Last Post: 10-30-2003, 09:42 PM
  5. u got me wrong fellas
    By clover in forum Game Programming
    Replies: 4
    Last Post: 10-18-2003, 04:23 PM