You can save player 1 and player 2 attributes with saveVars and loadVars, their position in x and y axis also...
Yeah, you need groups, save all player 1 variables in a "p1" group and player 2 variables in "p2" group.
When you open your game, put this code
- Code: Select all
loadVars("p1data.dat","p1");
loadVars("p2data.dat","p2");
And before shutdown it, put this code
- Code: Select all
saveVars("p1data.dat","p1");
saveVars("p2data.dat","p2");
ExitGame();
PS : If still cant understood, I'll explain later...this is so easy