Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / What is the best way to do a FADE on the whole screen?

User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 23rd Nov 2018 13:08
A quick question,

What is the best way to do a FADE on the whole screen?
to use a black Sprite (or other color) that occupies the entire screen and adjust the Alpha?

Or paint a color box directly with DrawBox?

It must over paint all the elements of the game: 3D, 2D (texts and sprites)
Years of Service
User Offline
Joined: 20th Nov 2016
Posted: 23rd Nov 2018 16:47 Edited at: 24th Nov 2018 02:56
If I was doing that I would create a radial gradient circle, set it to a full screen sprite, and then use a shader to create an "alpha mask" to fade the sprite based off alpha.
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 2nd Feb 2019 21:30
Quote: "What is the best way to do a FADE on the whole screen?"

A big black sprite is as good a way as any

I also found with a large sprite dithered towards the edges you can create a fog like effect

good luck with your projects

Login to post a reply

Server time is: 2019-06-18 00:46:38
Your offset time is: 2019-06-18 00:46:38