Adding sprites
Warning for this to work obj must already be placed in room
In some games you need to add sprites, here is a script i think will support that
LoadGameName = "";
LoadGameName = get_open_filename("Saved Games (*.sav)*.sav", "");
if (LoadGameName != "")
{
if (string_copy(LoadGameName, string_length(LoadGameName) - 3, 4) != ".sav")
{
LoadGameName = LoadGameName + ".sav";
}
sprite_replace(sprite0,LoadGameName,1,true,true,true,true,x,y)//only supports
//one sub_image
}
In some games you need to add sprites, here is a script i think will support that
LoadGameName = "";
LoadGameName = get_open_filename("Saved Games (*.sav)*.sav", "");
if (LoadGameName != "")
{
if (string_copy(LoadGameName, string_length(LoadGameName) - 3, 4) != ".sav")
{
LoadGameName = LoadGameName + ".sav";
}
sprite_replace(sprite0,LoadGameName,1,true,true,true,true,x,y)//only supports
//one sub_image
}
Labels: DeadlyDangers

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home