First of all, I wanted to say that I have been very impressed with the Lua support for CEGUI. I have managed to create a fairly in-depth series of interface interactions controlled solely through Lua, with a minimal C++ framework loading the Ogre library.
In keeping with this design decision of handling as much as possible from Lua, I was wondering if anyone had any ideas about how to best accomplish fading between different layout files and windows. Basically I was hoping to gradually lowering the alpha of the windows through Lua. I appreciate any suggestions anyone might have with regards to how to best accomplish this.
Thanks in advance for your help.
Lua Alpha Fade Suggestions
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Lua Alpha Fade Suggestions
I imagine basically you need to subscribe a handler to the "WindowUpdate" event and do your fade(s) over time according to the elapsed time you extract from the UpdateEventArgs passed to the handler(s).
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 15 guests