Thursday, August 11, 2022
HomeGame DevelopmentEntry Cocos recreation occasion load progress worth - Cocos Creator

Entry Cocos recreation occasion load progress worth – Cocos Creator


I’m on the lookout for a hook/API/property or some worth that represents the present loading progress of a recreation construct in Cocos Creator 3.5. How does the .progress-bar in type.css get up to date? I don’t see something in software.js that appears to change it through the recreation occasion creation.

In older Cocos variations (ex: 2.4.5) the primary.js contained a setLoadingDisplay() operate that might replace the progress bar. I’m on the lookout for one thing comparable in 3.4/3.5 however I’m not seeing it.

The use case is a platform our video games are deployed to requires we use their splash/loading display screen together with their loading progress bar. We have to feed this load progress worth into their loading bar, however I’m struggling to establish the place I can discover this worth.


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments