What is the easiest way to fade the screen? #2461
Replies: 3 comments 2 replies
-
There are many ways. Your approach is perfectly fine, assuming you are storing the It's also probably the simplest way. For the sake of completeness, though, I'll mention some other ways:
|
Beta Was this translation helpful? Give feedback.
-
Have you got examples of the ways you mentioned? 🙏 I've been struggling with shaders because there is literally no documentation available on how to use them. I've spent about 2 hours trying to figure them out with no success. I can't find any resources online. All i need is for each frame to get progressively darker and darker until it's black. It's such an easy thing to describe but amazingly difficult to implement using Ebiten. My idea was to just draw a black box on top of the entire screen using an opacity but that seems difficult too. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help, I'll take a look! 👍 |
Beta Was this translation helpful? Give feedback.
-
I'm drawing a pattern on the screen and I want to fade it out as the pattern is updated to give the impression of it fading away.
I can't find out how to fade the screen though. I'm trying it like this:
Which kind of works bit is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions