Page 1 of 1
sectTrans.lua: Screen wide fade effects when section-switch
Posted: Mon Jan 27, 2020 1:40 pm
by JustOneMGuy
Hi,
I made a lua script file that adds cross-fade effects when switching sections. Also adds a fade-from-black effect when starting a level.
Download:
https://drive.google.com/file/d/1cSS4O- ... sp=sharing
Instructions for use:
Load it in your lunaworld.lua/luna.lua/lunadll.lua file using this:
No extra steps needed. Feedbacks are appreciated, as always.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Mon Jan 27, 2020 3:02 pm
by Chipss
This looks amazing! Nicely done.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Mon Jan 27, 2020 3:52 pm
by Daring Tombstone
Nice. I never thought about something like this but looks really good.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Tue Jan 28, 2020 3:43 am
by JustOneMGuy
I wrote the wrong line in the post to load the library lol. Fixed.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Tue Jan 28, 2020 5:49 pm
by MrDoubleA
A good and simple use of the capture buffer. Only thing I will say is that API.load, lunadll.lua and lunaworld.lua shouldn't really be used now. Keep it up!
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Wed Jan 29, 2020 1:08 am
by MECHDRAGON777
MrDoubleA wrote: ↑Tue Jan 28, 2020 5:49 pm
A good and simple use of the capture buffer. Only thing I will say is that API.load, lunadll.lua and lunaworld.lua shouldn't really be used now. Keep it up!
to add to this, I will say:
add to luna.lua
Code: Select all
local sectTrans = require("sectTrans")
Feel free to correct me if I am wrong though.
Looks like a nice script though. I need to refresh myself on capture-buffers come beta 4.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Wed Jan 29, 2020 4:38 am
by JustOneMGuy
MrDoubleA wrote: ↑Tue Jan 28, 2020 5:49 pm
A good and simple use of the capture buffer. Only thing I will say is that API.load, lunadll.lua and lunaworld.lua shouldn't really be used now. Keep it up!
Why "lunaworld.lua" file isn't needed?
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Wed Jan 29, 2020 8:46 am
by MrDoubleA
JustOneMGuy wrote: ↑Wed Jan 29, 2020 4:38 am
MrDoubleA wrote: ↑Tue Jan 28, 2020 5:49 pm
A good and simple use of the capture buffer. Only thing I will say is that API.load, lunadll.lua and lunaworld.lua shouldn't really be used now. Keep it up!
Why "lunaworld.lua" file isn't needed?
You should just have a luna.lua file in your episode folder now, it doesn't need to be called lunaworld.lua.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Fri Jan 31, 2020 2:51 pm
by JustOneMGuy
Update 1.0.1:
1. Adds a fade effect when exiting a level.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Fri Jan 31, 2020 3:00 pm
by Chipss
Suggestion, add an option for fade to black on warp transitions as opposed to the cross fade.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Mon Feb 03, 2020 4:35 am
by JustOneMGuy
Chipss wrote: ↑Fri Jan 31, 2020 3:00 pm
Suggestion, add an option for fade to black on warp transitions as opposed to the cross fade.
That's more difficult to do, so I am sticking with the crossfade effect for now.
Re: sectTrans.lua: Screen wide fade effects when section-switch
Posted: Thu Mar 26, 2020 3:02 pm
by PdizzleParker
This is pretty simple, but cool. It might be useful for levels that have some kind of parallel world, sothat it transitions smoothly.