I need expert advice

Posted by DSG on March 2, 2006, 5:26 p.m.

In GM, i need to know a few things

1 - you know how u can make a variable right? well, how do you make a global variable that is known to all objects (and not something like OBobject.variable) but something that doesnt need an object to exist or doesnt change or disappear when u switch from rooms? (example score, health, etc)

2 - Is there a way to change the game ID in the game? (so i can have different high scores tables, like 1 for the main game, maybe a different set of scores for different mini games, maybe one for battle mode or something)

3 - how do u tell game maker to open something from a directory? like in the game?

Comments

DSG 18 years, 8 months ago

ivev never needed them before i guess

DSG 18 years, 8 months ago

and thats what i did. game_save(string(get_string("","level.sbz"))) and game_load(get_open_filename("STARBURST SAVE|*.sbz",""))

membrain 18 years, 8 months ago

glad u got it all worked out… I know wut u mean about not needing them… I to this day after over a year of workin with GM still am not comfy with GML's string/text functions.

I just never realy bothered with them much.