When should we to save our game data?
I Mean if we should save data before quit Game,or just save to file when game data changed?
That depends on how your game works. My game was a small mobile game so I could save every time the player game ended. However, if you had an RPG type game you may want to set points in the game world at which your player could use a save option.