Newbie Asks: How to Save in Multiple level game
Posted: Mon Apr 16, 2012 9:35 pm
I'm a newbie but i have some game programming experience from before and i've played games, and i know about games and stuff(not much but so so)
ANyways, basically
I'm making a multilevel game. How do i save it so that the user can start where he left off, at the level where he left off.
I could go as far as to also say..what if i have a game where the user collects a bunch of stuff and has earned money or something and i want him to when he comes back to his game days or hours later to start the game and start off with all the items and money he had last time. So how do you save that too.
I'm guessing you would write some kind of text file teeling which level you save at..and to also write all your score and items and money into that text file. Right?
But how would i do it?
ANyways, basically
I'm making a multilevel game. How do i save it so that the user can start where he left off, at the level where he left off.
I could go as far as to also say..what if i have a game where the user collects a bunch of stuff and has earned money or something and i want him to when he comes back to his game days or hours later to start the game and start off with all the items and money he had last time. So how do you save that too.
I'm guessing you would write some kind of text file teeling which level you save at..and to also write all your score and items and money into that text file. Right?
But how would i do it?