Next Level

Talk about making games.

Next Level

Postby Behdadsoft » Wed Mar 17, 2010 7:47 pm

Hello
I create a game that is several stages and after the loss last enemy to the next stage to go and Score also maintain the previous stage. Please Guide Me

THANKS A LOT
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Next Level

Postby skydereign » Wed Mar 17, 2010 10:52 pm

Don't know how much you have done or if you have even started. It really depends on how you have your levels set up, if at all, and how complex each level will be. So do you need help with all of it, or just changing stages while maintaining score?
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Next Level

Postby Behdadsoft » Thu Mar 18, 2010 6:50 pm

I step my game and almost completed work and all other steps are the same shape but a little different.
First wanted to know how step by step in a second trip and wanted to know how the Score and Live maintain changes in the new stage in stages before. I'm not scripting and wanted to know if you can help me. If I can help to solve this problem almost my Game ends. Thanks to your help
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Next Level

Postby skydereign » Thu Mar 18, 2010 10:10 pm

Sorry, but for the most part I have no idea what you mean.. To phrase my question again, are you using multiple ged files for your levels or are they separated with activation regions? If done by activation regions, than variables should suffice, if not, then you would need to use saveVars and loadVars. For a basic description of saving look at this. http://game-editor.com/Saving If you still need help, then I can try to point you in the right direction, I know there are several demos explaining the saving and loading, and even multiple levels.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Next Level

Postby Behdadsoft » Fri Mar 19, 2010 4:36 pm

Thank you
I'm going all the steps to create a file after the loss last enemy to the next stage to go and process changes before the next stage to enter. This is an image of my game.
Attachments
my game.rar
(109.83 KiB) Downloaded 69 times
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Next Level

Postby skydereign » Fri Mar 19, 2010 10:27 pm

Ok... I'll ask again, how are you separating your levels/stages? Are they in different ged files? Are they in the same one separated by activation regions? Or the new enemies created through script? It sounds like you don't have a second level but you want to make it a separate ged file, so assuming this is what you want here is a short explanation on how to do it. Some of these steps you probably have done already, and depending on your setup and plans for this game may or may not be optimal.

In your first level, create a variable called score, set the save group name as score. Now for the destroy actor event of your enemy actor, put the following code.
Code: Select all
if(ActorCount("enemy")==1)
{
    saveVars("score", "score");
    LoadGame("lv_2.ged");
}


Now save this and edit the level to be level two. On the view's create actor event, place the following code and a basic level transfer will be setup.
Code: Select all
loadVars("score", "score");

Lastly you would save this game as lv_2.ged, that way the other game will load into this new game, and due to the save and load, the score will remain.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Next Level

Postby Behdadsoft » Tue Mar 23, 2010 9:17 am

Thanks, your help and your Iranian Nowruz greeting

I do play mobile design at all stages and I have a file ged problem is but I do not know how to do it and one other was in stages. Can this script that you provided in previous posts for this work be used?
I did not understand your questions if you ask more clearly.

Thank you friend's :D :D
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Next Level

Postby Behdadsoft » Fri Mar 26, 2010 2:17 pm

I'm going to design a Game for Mobile that all steps are in a file Ged. But I do not know how many steps in a file Ged designs. Please Guide Me
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron