Page 1 of 1

Overlays

Posted: Sat Apr 14, 2018 14:46
by Lobby
Recent beta versions (since 463) support the definition of an overlay that's drawn to the whole screen. Here are some examples on how it can be used.


Day-night cycle
2018-04-14 14.34.49.png
Basic day-night cycle based on day of month. Has only 4 states.
daynight_overlay.zip
(1.57 KiB) Downloaded 872 times

Vignette
2018-04-14 14.36.27.png
Applies a soft vignette effect to the borders of the screen.
vignette_overlay.zip
(4.36 KiB) Downloaded 252 times

Pickle
2018-04-14 14.35.45.png
Just a pickle.
pickle_overlay.zip
(7.54 KiB) Downloaded 454 times
Free - You may use the contents of this plugin however you like without giving credit.

Re: Overlays

Posted: Sat Apr 14, 2018 16:38
by MONTEMARINO
:D :D :D

AWSOME!!!

Re: Overlays

Posted: Sat Apr 14, 2018 19:09
by Mg3094066
Its nice but...

Re: Overlays

Posted: Sat Apr 14, 2018 19:36
by Mg3094066
Its possible create something like this?:

Re: Overlays

Posted: Sun Apr 15, 2018 10:23
by Free3021
Mg3094066 wrote:
Sat Apr 14, 2018 19:09
Its nice but...
Ha lol I have the same issue

Re: Overlays

Posted: Sun Apr 15, 2018 10:58
by _JS_
Finally!!! A day-night cycle!!! :D

Re: Overlays

Posted: Tue May 29, 2018 18:04
by THEMAX
work perfect on a single region map :D

Re: Overlays

Posted: Sat Jun 02, 2018 23:31
by THEMAX
@Lobby do you think you could do a json for on click fun ( or like weather generator ) so when we interact with a building, there is a different time ( day / night / sunset ...Etc... )

Re: Overlays

Posted: Sun Jun 03, 2018 0:02
by Lobby
You can do that by using variables. Any specific questions?

Re: Overlays

Posted: Sun Jun 03, 2018 0:19
by THEMAX
Not very experienced with thoses but I will try ^^

Re: Overlays

Posted: Sun Jun 03, 2018 23:41
by JustAnyone
Yes, Max, because those overlays are changed by fun.

Re: Overlays

Posted: Mon Dec 17, 2018 19:04
by -LeoLeo-
So... These overlays are just .png displaying on top of the actual game, huh?

Is there a way to make it like... A photo filter? Like different action & values for deferent R, G &B?

Re: Overlays

Posted: Mon Aug 19, 2019 20:46
by Kulche
Can these be animated, just like the rain?

Re: Overlays

Posted: Mon Aug 19, 2019 21:00
by CommanderABab
It is an animation.

Re: Overlays

Posted: Mon Aug 19, 2019 22:37
by Lobby
It's an animation, but it will only use the first frame of it. Could be possible to change that behavior. Depending on your requirement you could actually replace the rain frames by using Lua.

Re: Overlays

Posted: Tue Aug 20, 2019 8:17
by Kulche
HMMMM