W
Wild_West
Guest
I can't seem to get this to work, I'm trying to make a really simple block matching game, and I want the bg to change every time the game's level increases.
But I tried using draw_background combined with background_hspeed and that didn't work.
I tried room_set_background and still nothing. How do I do this?
switch(global.block_game_level)
{
case 2 : room_set_background(nature_block_game_room,0,true,false,sky_bg_2,0,0,true,false,-6,0,1); break;
case 3 : room_set_background(nature_block_game_room,0,true,false,sky_bg_3,0,0,true,false,-6,0,1); break;
case 4 : room_set_background(nature_block_game_room,0,true,false,sky_bg_4,0,0,true,false,-6,0,1); break;
case 5 : room_set_background(nature_block_game_room,0,true,false,sky_bg_5,0,0,true,false,-6,0,1); break;
}
But I tried using draw_background combined with background_hspeed and that didn't work.
I tried room_set_background and still nothing. How do I do this?
switch(global.block_game_level)
{
case 2 : room_set_background(nature_block_game_room,0,true,false,sky_bg_2,0,0,true,false,-6,0,1); break;
case 3 : room_set_background(nature_block_game_room,0,true,false,sky_bg_3,0,0,true,false,-6,0,1); break;
case 4 : room_set_background(nature_block_game_room,0,true,false,sky_bg_4,0,0,true,false,-6,0,1); break;
case 5 : room_set_background(nature_block_game_room,0,true,false,sky_bg_5,0,0,true,false,-6,0,1); break;
}