Search:

Type: Posts; User: azndragon247

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    933

    Inputing Character Data

    I have an RPG game and I want to be able to load a character's stats and map position into the game from a text file.

    Paladin

    HP: 4500
    MP: 800

    Strength: 200
    Vitality: 300
    Agility: 100
  2. Replies
    26
    Views
    2,666

    All i can say is WOW, i didn't expect a whole...

    All i can say is WOW, i didn't expect a whole explanation on that. :p
    But thanks a lot 7stud, my teacher doesnt really explain it all too well.
  3. Replies
    26
    Views
    2,666

    I did write the program but as for the istream...

    I did write the program but as for the istream &inStream i got that from one of my teacher's examples, which i didn't understand too well to begin with.
  4. Replies
    26
    Views
    2,666

    Yea i understand that i'm missing arguments,...

    Yea i understand that i'm missing arguments, otherwise it would compile, but i don't know exactly what i'm supposed to put in the parentheses :(
  5. Replies
    26
    Views
    2,666

    Currently i've figured out the vector problems i...

    Currently i've figured out the vector problems i hope. But now i am getting errors about my loadmap. When i use this->loadmap(); it gives me a error that i dont have any arguments, can someone tell...
  6. Replies
    26
    Views
    2,666

    I'm getting a bunch of errors that deal with the...

    I'm getting a bunch of errors that deal with the vector<char> Map. It seems that it won't recognize the vector Map in the .cpp file. Can someone please help me out?
  7. Replies
    26
    Views
    2,666

    So i would set the limit of the vector to 100...

    So i would set the limit of the vector to 100 members (since 10x10 is 100) by doing something like this vector <char[100]> Map and this->loadmap() should work right?
  8. Replies
    26
    Views
    2,666

    Both actually, but heres the code for the loading...

    Both actually, but heres the code for the loading function and

    In the .h file:



    #include <stdlib.h>
    #include <vector>
    #include <fstream>
  9. Replies
    26
    Views
    2,666

    So i would have height_ and width_ in the maze...

    So i would have height_ and width_ in the maze file to be loaded?
  10. Replies
    26
    Views
    2,666

    Yeah, I'm trying to print this maze using a...

    Yeah, I'm trying to print this maze using a function but im confused on how to do it with a vector.
  11. Replies
    26
    Views
    2,666

    I'm having trouble creating my display function...

    I'm having trouble creating my display function where it displays the map when I initialize it.
  12. Replies
    26
    Views
    2,666

    Vector fstream outputting

    I'm trying to load a map from a file into the vector and then printing it back out, but I'm not sure about how to do it. I'm trying to make a map where the user can walk and he can't walk into...
Results 1 to 12 of 12