Thread: look, check out, and fiddle with my new program

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    77

    Talking look, check out, and fiddle with my new program

    Take a look at the recent program I made. Its an rpg type battle with a difficulty level that you can change. Object of the game is to kill your enemy, the higher the difficulty the more life he has.

    Enjoy......oh and if you encounter any bugs please post the problem and also post what you think about the game and any suggestions to make it better.

    Thanks!
    Hooked On Phonics Didn't Work For Me!

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    77
    Heres the file, it didnt seem to attach in the last message and it wont let me edit it and put it in.
    Hooked On Phonics Didn't Work For Me!

  3. #3
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    Well, almost all first-time RPGs look the same; and since yours looks just like the others, you must be doing something right!

  4. #4
    Registered User fry's Avatar
    Join Date
    Mar 2002
    Posts
    128
    Not a bad first effort

    See if you can add in the option to battle again, without having to run the program again. It will help you to learn more
    IDE: Dev C++ 5
    Lib: Allegro
    OS: Windows 2000

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    99
    Hey that's pretty good! I like the different types of attack and the armour absorbtion. But a replay option would be nice. Keep at it!

  6. #6
    Registered User fry's Avatar
    Join Date
    Mar 2002
    Posts
    128
    Code:
    goto end; // Goes To Label End
    No! Get rid of all goto statements A big no-no.

    Simplest thing is to create an end function, and just call that. EG
    Code:
    void end(){
        cout << " " << endl;
        cout << "Game Over" << endl;
        Sleep(3000);	
    }
    and instead of
    Code:
    goto end;
    use
    Code:
    end();
    :edit: fixed a spelling error
    Last edited by fry; 09-14-2002 at 04:40 AM.
    IDE: Dev C++ 5
    Lib: Allegro
    OS: Windows 2000

  7. #7
    Registered User Kirdra's Avatar
    Join Date
    Aug 2002
    Posts
    105
    Nice game, have a look at mine in the Game Programming (Turned based demo) section, I like using "system(cls)" so after each attack sequence the interface in refreshed, instead of a new one popping up underneath.

  8. #8
    Registered User
    Join Date
    Jan 2002
    Posts
    77
    ok ill keep working on it and ill post another finished file of it when im done.
    Hooked On Phonics Didn't Work For Me!

  9. #9
    Registered User
    Join Date
    Sep 2002
    Posts
    6
    i believe ur missing the part that subtracts potion limiting u to 3

    use a loop and something like potion -- everytime a potion is picked. easier to use functions to keep track of all this.

Popular pages Recent additions subscribe to a feed