Screen fade effect

so i need my screen to fade to black and the unfade when you enter an new room ( when you go off screen), It needs to be combatable with this code if possibe;


just send me the screenshot or a example game
thanks in adavnce!

Summary

@CodeAlpaca
@ManiacPumpkin
@DeadlyGumChewer
@John_Shrekinson
@JR01

1 Like

make an object that is black and make it set it’s size to 10000, then make it have messages that you can send to it to ease in alpha and ease out alpha.

2 Likes

but yes i get what your saying

I would just make the object in the UI layer so you don’t have to increase its size a ton

4 Likes

@CodeAlpaca i just tried but it not working can you

I do what CodeAlpaca said, have a black UI object that covers the whole screen and control its fade.

1 Like

2 Likes