This repository has been archived by the owner on May 6, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes in UI script: - Added a new function: `loadingGetProgress` - Returns a percentage of loaded assets during the game loading. - Removed the hardcoded progress bar update and the button appearing. - Add the following code instead, to the `tick` callback: ``` -- update splash screen local splash = f.getWidgetN("splash/Main") if splash then local progress = f.loadingGetProgress() f.getWidgetN("splash/Main/Frame/Progress").widget.valueData = progress if progress == 1 then f.getWidgetN("splash/Main/Frame/Button_Play"):show() end end ```
- Loading branch information