Page 1 of 1

some questions in mind

PostPosted: Tue Jul 13, 2010 5:42 am
by pizbi
okay I was just think about this. okay if I had a seperate game for each level and the title was a seperate game and I used the load game code.
how if you can save make the title load the right level and also when you save have the title.... well I guess I'm just asking how do you make one game effect another in game editor? :?

Re: some questions in mind

PostPosted: Tue Jul 13, 2010 6:44 am
by lcl
It's simple!
Just type this in action that you want to load the game:
Code: Select all
LoadGame("Here comes the file name with file format abbreviation");

For example:
Code: Select all
LoadGame("Level 2.exe");

You can name your levels like: Level 1, Level 2, Level 3...
Hope this helps, if you still have questions, ask me. :D
And welcome to the forum! :D

Re: some questions in mind

PostPosted: Wed Jul 14, 2010 3:38 am
by pizbi
lcl wrote:It's simple!
Just type this in action that you want to load the game:
Code: Select all
LoadGame("Here comes the file name with file format abbreviation");

For example:
Code: Select all
LoadGame("Level 2.exe");

You can name your levels like: Level 1, Level 2, Level 3...
Hope this helps, if you still have questions, ask me. :D
And welcome to the forum! :D

:) thank you but you see I was wondering how I would effect multiple games such as if I had a title screen that had new and load and the last save has on a certain level.exe
how would it be to load the file instead of the same level file :)

Re: some questions in mind

PostPosted: Wed Jul 14, 2010 8:14 am
by Hblade
Hint:

This will also work for .dat files :D


Hint 2:

You can rename the .dat or .exe file to anything of your choosing by going in the folder (For example the folder that your game is in), and clicking "View" Then click Folder options. Then uncheck (When you find it), "Hide file extentions from known file types". Then you can change the .exe or .dat to anything, such as .map :D

Re: some questions in mind

PostPosted: Wed Jul 14, 2010 8:54 pm
by pizbi
oh so game editor already will send information about levels saves? :o so theres no code to effect one game from another its automatic? :?
Hblade wrote:Hint:

This will also work for .dat files :D


Hint 2:

You can rename the .dat or .exe file to anything of your choosing by going in the folder (For example the folder that your game is in), and clicking "View" Then click Folder options. Then uncheck (When you find it), "Hide file extentions from known file types". Then you can change the .exe or .dat to anything, such as .map :D

Re: some questions in mind

PostPosted: Wed Jul 14, 2010 9:27 pm
by Hblade
If you used Hint 2, you can do this:
Code: Select all
LoadGame("map1.map");


Asuming that your map is .map :3