1441
Coding / Re: Turn current screen into background or other image?
« on: July 04, 2009, 03:06:24 pm »
Never mind. I figured it out myself.
The pause script is now:
The unpause script is now:
Well that's the basis anyway. I left out the gamespecific / boring bits.
The pause script is now:
Quote
obj_Master_Control_Tile.Game_Mode = argument[0];
screen_save(temp_directory+'\tempscreen.bmp');
sprite_replace(842,temp_directory+'\tempscreen.bmp',1,false,false,false,false,0,0);
instance_deactivate_all(true);
// (Re)activate all the needed objects
instance_activate_object(parent_Control_Tile);
instance_create(view_xview[view_current], view_yview[view_current], obj_Screenshot);
The unpause script is now:
Quote
obj_Master_Control_Tile.Game_Mode = 0;
with (obj_Screenshot) {instance_destroy()};
// Reactive all instances
instance_activate_all();
Well that's the basis anyway. I left out the gamespecific / boring bits.