
please wait
game.update()
? Since this is my first game is there any pointers to what I can improve on in my current code (besides the blank voids and unused voids at the moment), is there parts of code were I need to change/remove? Any criticism you have will help me out, so please tell me your thoughts.
|
|
character.player_attack()
and game.begin()
? I tested my code last night and it did start and displayed the right things it was supposed to. I didn't think that declaring game as game and character as character would do anything but allow me to understand. I am still stumped on my original questions.
#include <string>
after your other include, I was able to print out the map in the draw() function, along with the current Health (10), and Attack (3) values. Of course, the program then ends, as there is no inputs, etc., to make movements and such.
#include <string>
? I am able to print everything out without #include <string>
. I haven't gotten that far into the game yet obviously, all that I was worried about last night was getting the display up and building the game without any errors and not worrying about the user input just yet.