some questions in mind

Talk about making games.

some questions in mind

Postby pizbi » Tue Jul 13, 2010 5:42 am

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? :?
User avatar
pizbi
 
Posts: 37
Joined: Thu Jul 08, 2010 3:36 am
Location: oregon
Score: 7 Give a positive score

Re: some questions in mind

Postby lcl » Tue Jul 13, 2010 6:44 am

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
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: some questions in mind

Postby pizbi » Wed Jul 14, 2010 3:38 am

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 :)
User avatar
pizbi
 
Posts: 37
Joined: Thu Jul 08, 2010 3:36 am
Location: oregon
Score: 7 Give a positive score

Re: some questions in mind

Postby Hblade » Wed Jul 14, 2010 8:14 am

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
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: some questions in mind

Postby pizbi » Wed Jul 14, 2010 8:54 pm

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
User avatar
pizbi
 
Posts: 37
Joined: Thu Jul 08, 2010 3:36 am
Location: oregon
Score: 7 Give a positive score

Re: some questions in mind

Postby Hblade » Wed Jul 14, 2010 9:27 pm

If you used Hint 2, you can do this:
Code: Select all
LoadGame("map1.map");


Asuming that your map is .map :3
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


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron