I want Preloader to load scenes in the Hype4 timeline

I want Preloader to load scenes in the Hype4 timeline.

Can you guys develop this code?


Hype doesn't expose its asset preload events, progress, or control. This is certainly a good feature request.

If you wanted to do it now, you would need to uncheck "Preload" and likely "Automatically optimize when exporting" for assets from the resources library, and then run your own preload code for each known asset in the scene. Then you'd control the timeline through the Hype JavaScript API timeline functions.

If you're okay with showing an indeterminate (ie spinner) preload indicator for the entire hype animation, I recommend the technique in this post: