how do you use the load game function

You must understand the Game Editor concepts, before post here.

how do you use the load game function

Postby jman » Tue Dec 04, 2007 4:33 pm

The title says it all 8)
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do you use the load game function

Postby Kalladdolf » Tue Dec 04, 2007 4:47 pm

it's handy for making game menus and levels.

EXAMPLE:
you make a game, let's say, a level.
then u export it as "level1.dat"
then you make the menu.
create a button.
buttin -> mouse button down: left -> script editor ->
Code: Select all
Loadgame("level1");

then if you press the button, it will automatically exit the menu and open the level.
make sure that it is in the same folder as you menu.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do you use the load game function

Postby jman » Tue Dec 04, 2007 5:59 pm

It dosent work
:(
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do you use the load game function

Postby Kalladdolf » Tue Dec 04, 2007 6:46 pm

oops, I made a scripting error, sorry!

Code: Select all
 LoadGame("level1");
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do you use the load game function

Postby jman » Tue Dec 04, 2007 7:46 pm

It Still Dosn't Work
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do you use the load game function

Postby jman » Tue Dec 04, 2007 7:48 pm

are there any other things to use that work like the loadgame function
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do you use the load game function

Postby Kalladdolf » Tue Dec 04, 2007 7:50 pm

jman wrote:It Still Dosn't Work

weird...
how does the not-working look like?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do you use the load game function

Postby jman » Tue Dec 04, 2007 8:13 pm

It says it is not a valid game
:cry:
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do you use the load game function

Postby Kalladdolf » Wed Dec 05, 2007 8:38 am

ok, I thought this might happen.

check again that
1. there aren't any typos (in your filename)
2. the level is in the same folder as the menu.

also, try to export the menu to an exe file.

and try that one (I'm not sure)
Code: Select all
LoadGame("level1.dat");


maybe it works with the file ending.

if the problem still continues, please post the game(s), maybe I can fix it.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do you use the load game function

Postby Spidy » Wed Dec 05, 2007 8:43 am

maybe he has no dat file
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: how do you use the load game function

Postby Kalladdolf » Wed Dec 05, 2007 10:20 am

he can export the level into the dat file.
or into an exe. it doesn't matter.
the .dat file is better because then u can't start the level without having pressed the button in the game menu.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do you use the load game function

Postby Spidy » Wed Dec 05, 2007 10:27 am

i dont know about this cuz i do not export my game.thanks for the info
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: how do you use the load game function

Postby Bee-Ant » Wed Dec 05, 2007 11:38 am

You'll never could open the game with "LoadGame" function when you run in GE...Place LoadGame("level2"); function in your first level, and then export it...then make that level2...and export it too...so, LoadGame function will works in "EXPORTED" game...(both game must be exported first)
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: how do you use the load game function

Postby jman » Wed Dec 05, 2007 1:04 pm

i am gathering games ike incursion and mario and the golden key onto a disk
right now i am making a menu so i can choose what game i playwithout closing the whole
thing :evil: :( :evil: :( :evil: :( :evil: :(
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do you use the load game function

Postby Bee-Ant » Wed Dec 05, 2007 3:09 pm

Ummm...in the your menu just add
LoadGame("Mario.exe"); if you choose mario
and LoadGame("Incursion.exe"); if you choose incursion
Then export your menu into .exe file...
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

Next

Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest