whats the script editor code for saving

Non-platform specific questions.

Re: whats the script editor code for saving

Postby jimmynewguy » Tue Jul 13, 2010 2:22 pm

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.
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: whats the script editor code for saving

Postby Hblade » Tue Jul 13, 2010 5:13 pm

Yeah :o There will be arguments and dissagreements in life thats for sure :3

But they all get solved ^.^
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: whats the script editor code for saving

Postby savvy » Thu Jul 15, 2010 9:18 am

yeah, im not rying to put you down at all :)
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: whats the script editor code for saving

Postby pizbi » Fri Jul 16, 2010 5:32 am

thank you thank you :) everybody
User avatar
pizbi
 
Posts: 37
Joined: Thu Jul 08, 2010 3:36 am
Location: oregon
Score: 7 Give a positive score

Re: whats the script editor code for saving

Postby pizbi » Fri Jul 16, 2010 5:54 am

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 :D


OMG :O I never knew everything you save in game on GE went to its own dat file :) thats coolio!
User avatar
pizbi
 
Posts: 37
Joined: Thu Jul 08, 2010 3:36 am
Location: oregon
Score: 7 Give a positive score

Re: whats the script editor code for saving

Postby savvy » Sat Jul 17, 2010 8:57 am

Hey guys, u notice pizbi hasnt even come back to this after all weve done.
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: whats the script editor code for saving

Postby Hblade » Sat Jul 17, 2010 9:48 am

You can even save exe's lol, or heck, even a fake .ged :P
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: whats the script editor code for saving

Postby Bee-Ant » Sat Jul 17, 2010 5:35 pm

savvy wrote:Hey guys, u notice pizbi hasnt even come back to this after all weve done.

I don't mind...I just wanted to help.
I wasn't intended for him to come back asap and say "oh many thanks, you're so cool, I owe you..." :P
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: whats the script editor code for saving

Postby krenisis » Sun Jul 18, 2010 6:35 pm

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 !!
krenisis
 
Posts: 606
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: whats the script editor code for saving

Postby Bee-Ant » Sun Jul 18, 2010 6:55 pm

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 !!

I'm not really a good tutor...well, I will try
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: whats the script editor code for saving

Postby zxcvbnm » Wed Sep 08, 2010 9:02 pm

Bumping upon newbie help request.
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest