Hi!
How can I run a file from Ge game?
A made a menu and if we click on Start game the menu program close(i made it) and the game open((exe or linux file)here is the problem...I don't know how can i make it)
LoadGame("game1.dat");
LoadGame("\levels\world1\level1.dat");
LoadGame("game.ged");
MrJolteon wrote:Yep
I think it works with any .exe, but I'm not sure.
tzoli wrote:Always write this:
The "farmer.dat" isn't a valid game
if(fopen("farmer.dat","r+b"))LoadGame("farmer.dat");
else
{
//Display an error to the user here or you could do "LoadGame("farmer.ged");"
}
Users browsing this forum: No registered users and 1 guest