A
Aidan K-S
Guest
Hello Everyone I need help with my backgrounds
The problem is that I want to delete my background when new_game == true!
Please answer ASAP this game is being used in a school project!!!
The problem is that I want to delete my background when new_game == true!
Code:
/// Drawing Buttons
// If we are on home screen, create the main menu buttons
if (global.main_menu == true)
{
//Creating the buttons
instance_create(320,50, obj_button_continue);
instance_create(640,50, obj_button_new_game);
instance_create(960,50, obj_button_settings);
instance_create(1280,50, obj_button_credits);
instance_create(1600,50, obj_button_exit);
}
// If we are in new game
if (global.new_game == true)
{
//This is what I want to do
// background_delete(bck_main_screen)
draw_background(bck_plain,0,0)
instance_create(760,300,obj_selectable_1);
instance_create(760,500,obj_selectable_2);
instance_create(760,700,obj_selectable_3);
instance_create(960,900,obj_ok);
}