how to export a game and have it working

Game Editor comments and discussion.

how to export a game and have it working

Postby smoothie » Sat Oct 02, 2010 12:08 pm

how do you get a game to export and have it still working because i have have files linked to others like menu.ged or grid.ged. every time i go to click on a button like play which goes to grid.ged it quit the game.
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score

Re: how to export a game and have it working

Postby lcl » Sat Oct 02, 2010 1:58 pm

Do you use LoadGame(); function?
If you do, you have to export game first, as windows executable (if you have windows) and then use the code like this:
Code: Select all
LoadGame("Level1.exe");

See that you can't load .ged files as game. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: how to export a game and have it working

Postby smoothie » Sun Oct 03, 2010 1:52 am

i have windows and Linux but i mostly just use Linux i don't really like windows. would i have to do it the same way on linux
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score

Re: how to export a game and have it working

Postby smoothie » Sun Oct 03, 2010 6:49 am

oh wait it works the same way on linux no need to replyi back
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score

Re: how to export a game and have it working

Postby lcl » Sun Oct 03, 2010 7:29 am

So, it worked? :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: how to export a game and have it working

Postby smoothie » Mon Oct 04, 2010 10:26 am

yes, yes it did
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron