savvy wrote:really stupidly complicated
savvy wrote:i merely said it was a bit complicated
I guess in not knowing savvy i assumed he was one of those newbies that do that kind of thing and i get tired of it. But its whatever now, in the past.
savvy wrote:really stupidly complicated
savvy wrote:i merely said it was a bit complicated
Bee-Ant wrote:1. Make at least 2 variables, PosX and PosY to determine the player X and Y position. If you don't know how to make variables, go to Script Editor or Global code, I have posted the picture of how to add it bellow. Save both of them in a group called "data".
4. Next time, when you load the game, and want to continue your checkpoint location
view->CreateActor->ScriptEditor :
- Code: Select all
loadVars("YourDataFileName.dat", "data"); //load your saved data from file
YourPlayerName.x=PosX;
YourPlayerName.y=PosY;
view.x=PosX-320;
view.y=PosY-240;
Hope helps
savvy wrote:Hey guys, u notice pizbi hasnt even come back to this after all weve done.
krenisis wrote:Bee-ant can you copy and paste your same code and open a topic. Please label the topic ...Step by Step how to save/load a game...Then I will notify Makslane so he can include the tutorial in the new Tutorial section. Thanks Bee-ant !!
Users browsing this forum: No registered users and 1 guest