Game Programming I – day 12
|
Added a function to read the player start position from a txt-file. I will attempt to move this to a separate class, right now it is written into the engine´s initialize. Hopefully we will soon be able to load level objects and enemies onto the screen from a separate file as well. We are also supposed to make a function that saves data from a game session to be used again later, in other words a function that writes to files. Maybe we can make the player start at the position the avatar was left at in the last game session? |