Saving the Game

Talk about making games.

Saving the Game

Postby alkoh002 » Sun Jan 06, 2008 1:00 pm

I want to make my games so that you can save, but i know it's hard. Can someone make a complete sort of guide :P on how to make it in Game Editor. Please make it understandable :). cya
Current games:
Kreon (rpg) 2%
Gitaaah! (interactive) 5% (paused)

Past games:
Gurkot the game (arcade) 100% (ready)
Aeroth (rpg) 5% (cancelled)
User avatar
alkoh002
 
Posts: 33
Joined: Fri Sep 28, 2007 4:46 pm
Score: 0 Give a positive score

Re: Saving the Game

Postby Kalladdolf » Sun Jan 06, 2008 6:52 pm

ok, how about you tell me first what you wanna save, like, wanna save the position of an actor in a level, score or something?
:)
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Saving the Game

Postby Murd-Machine[_] » Mon Jan 07, 2008 1:09 am

When you create a new variable you can put it in any group you like (Save group). So put all variables you want to save in one group (make special ones for actor coordinates, presense of items and so on...) Use "saveVars("falename", "groupname");" when you want to save it and "loadVars("falename", "groupname");" to load it. However it's quite complex task if you have many equal objects, like an action game with many monsters of the same type. Than you'll have to use indexes of actors instead of names.
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Re: Saving the Game

Postby alkoh002 » Mon Jan 07, 2008 2:36 pm

==Kalladdolf== wrote:ok, how about you tell me first what you wanna save, like, wanna save the position of an actor in a level, score or something?
:)


Well, is there a way to like save the current state of the game, so everything stays exactly as it was when u save?
Current games:
Kreon (rpg) 2%
Gitaaah! (interactive) 5% (paused)

Past games:
Gurkot the game (arcade) 100% (ready)
Aeroth (rpg) 5% (cancelled)
User avatar
alkoh002
 
Posts: 33
Joined: Fri Sep 28, 2007 4:46 pm
Score: 0 Give a positive score

Re: Saving the Game

Postby Kalladdolf » Wed Jan 09, 2008 8:16 pm

it's basically like murd-machine described it...
if you don't understand, please post a demo where you want to save the current state and I'll see what I can do =D
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Saving the Game

Postby Bee-Ant » Wed Jan 09, 2008 9:18 pm

alkoh002 wrote:
==Kalladdolf== wrote:ok, how about you tell me first what you wanna save, like, wanna save the position of an actor in a level, score or something?
:)


Well, is there a way to like save the current state of the game, so everything stays exactly as it was when u save?

It'll need too much of variables which declare your position, attributes, and many thing
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: Saving the Game

Postby alkoh002 » Thu Jan 10, 2008 6:45 am

Ill post a demo later on, and, is it possible to have like one saving machine in the game that u can go back to whenever you want to save, and it saves the current state?
Current games:
Kreon (rpg) 2%
Gitaaah! (interactive) 5% (paused)

Past games:
Gurkot the game (arcade) 100% (ready)
Aeroth (rpg) 5% (cancelled)
User avatar
alkoh002
 
Posts: 33
Joined: Fri Sep 28, 2007 4:46 pm
Score: 0 Give a positive score

Re: Saving the Game

Postby Kalladdolf » Thu Jan 10, 2008 7:42 am

it exists, you'll have to build it with script editor, though, like m-m explained.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Saving the Game

Postby Bee-Ant » Thu Jan 10, 2008 11:05 am

m-m?
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: Saving the Game

Postby Kalladdolf » Thu Jan 10, 2008 6:11 pm

murdmachine
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Saving the Game

Postby alkoh002 » Thu Jan 10, 2008 7:20 pm

Thats great! xD, thanks, ill post a demo in a while, and ill keep u informed on this topic ^^.
Current games:
Kreon (rpg) 2%
Gitaaah! (interactive) 5% (paused)

Past games:
Gurkot the game (arcade) 100% (ready)
Aeroth (rpg) 5% (cancelled)
User avatar
alkoh002
 
Posts: 33
Joined: Fri Sep 28, 2007 4:46 pm
Score: 0 Give a positive score

Re: Saving the Game

Postby alkoh002 » Sun Jan 13, 2008 1:29 pm

Ok, im posting the demo soon (a couple of days) i just got do do, the first quest, and some houses, there will be a "saving button" where u click and the current state of the game is saved, is that ok kalladolf?
Current games:
Kreon (rpg) 2%
Gitaaah! (interactive) 5% (paused)

Past games:
Gurkot the game (arcade) 100% (ready)
Aeroth (rpg) 5% (cancelled)
User avatar
alkoh002
 
Posts: 33
Joined: Fri Sep 28, 2007 4:46 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron