B
bedouin86
Guest
Hi everybody,
I would like to create a short animation of the background that flashes between a color and its inverse. I would like to trigger this animation when the player takes a power up. Among the threads found in the forum I tried to change the background color with this code:
I inserted these lines in the step event of the object that triggers the player's power-up but nothing happens.
How can i change the code to make it work?
Thanks
I would like to create a short animation of the background that flashes between a color and its inverse. I would like to trigger this animation when the player takes a power up. Among the threads found in the forum I tried to change the background color with this code:
Code:
lay_id = layer_get_id ("Background");
back_id = layer_background_get_id (lay_id);
layer_background_blend (back_id, c_red);
How can i change the code to make it work?
Thanks