gajop wrote:PS: I'd like to contribute to the official chili branch - I've made editbox and focus detection, as well as file dialogs and combobox which I could translate to pure chili (as well as some minor bug fixes for existing stuff).
I'm in the progress of merging it with my clone of the official chili branch on github, and I'll send a pull request later tomorrow probably. Interested?
sure
PepeAmpere wrote:How to use that? :) I was checking it and it looks like more like some intro-mission device, nothing with loading screens. So it looks like more complex and a bit different thing then i need. But maybe im wrong. :)
it's a new Lua instance (next to LuaRules, LuaUI, LuaGaia, ...).
knorke wrote:There is something to get loadprogress as 0.0 - 1.0 number to make progress bars etc.
That's done in lua, there is an addon.LoadProgress(). The Lua caches the times needed for each stage and then interpolates between the times. So you get a smooth and accurate progress.
knorke wrote:There is a function addon.MousePress(...) to play pong or chose your faction in loadscreen.
Playing Pong is not possible, except you pay the license fees of Namco for their `games in loadingscreen patent` or you limit it somehow to none US players (I hardly think the patent is valid in the EU).