Home Projects UriSoft Games User Games Competition Resources Links

Links

GM Experience

Affiliates

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

UriSoft's Scripts

Save Game:

{ screen_redraw()
global.saveit = string(get_save_filename("cyclop force|*.cf|All files|*.*",""))
if (global.saveit != "")
{ if (string_copy(global.saveit,string_length(global.saveit)-2,3) != ".cf")
{ global.saveit = global.saveit + ".cf" }
if (file_exists(global.saveit))
{
if (show_question("The file "+global.saveit+" exists!"+chr(13)+" Do you want to overwrite it ?") = false)
{ image_single = 0
exit }
} game_save(global.saveit)
file_close()
}
}

}

Load Game:

{
screen_redraw()
global.loadit = string(get_open_filename("cyclop force|*.cf|All files|*.*",""))
if (global.loadit != "")

{ game_load(global.loadit)

}
}

Scripts made by other people:

Menu:

myMenu = show_menu('Resume Play|Save Game|Load Game|View High Scores|Clear High Scores|Game Information|restart|Quit',0);
if (myMenu = 0) then
{
// Resume Game Play keyboard_clear(vk_f2); exit; }
if (myMenu = 1) then { save_game(); }
if (myMenu = 2) then { load_game(); }
if (myMenu = 3) then { highscore_show(-1); }
if (myMenu = 4) then { highscore_clear(); }
if (myMenu = 5) then { show_info(); }
if (myMenu = 6) then { game_restart(); }
if (myMenu = 7) then { game_end(); }

  © 2004 Urisoft.tk. Designed by Thomas Hinks