Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Saving? (http://www.alice.org/community/showthread.php?t=6986)

belso 07-24-2011 12:01 AM

Saving?
 
Hey i plan on making a rpg game and i would like to know if it is possible bound things to like accounts and stuff. So far all i can get is in the first time playing it would ask for a username and a password and then it would save it somehow and then ask you for username and password again and if they match you would get your character back

ElectricKirby 07-24-2011 12:54 AM

[QUOTE=belso;39605]Hey i plan on making a rpg game and i would like to know if it is possible bound things to like accounts and stuff. So far all i can get is in the first time playing it would ask for a username and a password and then it would save it somehow and then ask you for username and password again and if they match you would get your character back[/QUOTE]

Arty-FishL made an I/O tool a while ago. It lets you save variables and such... It's somewhere in the Share Objects section, I think..

Nighthawk0973 07-24-2011 01:43 PM

Yes let me find the link I know I have it.

Edit: I found the link, the I/O tool is right here: [URL="http://www.alice.org/community/showthread.php?t=6758"]http://www.alice.org/community/showthread.php?t=6758[/URL]

Follow this link, download the object (keep the .a2c extension!) and put it in your Alice\required\gallery\ folder.

now you can use it to save data to .txt files in your game. How can this be used to save game progress? Well say you have 10 levels in your game, when the player gets to level 2, a variable called 'CurrentLevel' is set to 'Level 2', than when they save their game the data will be stored inside the .txt file. (you have to program this) Than you need a load game option, when players chose this option it gets data from the .txt file and find what level they're at, then it starts that level. You can also use this for usernames, passwords, stats, levels, HP, exp, and so on and so forth. You can do a lot more than people might think, as long as you think :) (hi-scores...)

Edit2: You have to place the object in the world, and arty-fishL has method instructions in the post.

arty-fishL 07-24-2011 04:59 PM

Great my work is going to use. Thankyou for bringing it up, I appreciate it.

belso 07-24-2011 10:16 PM

Thanks
 
Hey thanks you guys for telling me about this Amazing world and system and thank you arty for inventing i am in your debt


All times are GMT -5. The time now is 10:50 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.