kittykatattack / learningPixi

A step-by-step introduction to making games and interactive media with the Pixi.js rendering engine.
4.4k stars 851 forks source link

Loading progress bar is not important #150

Open cool-RR opened 3 years ago

cool-RR commented 3 years ago

I'm learning Pixi.js for the first time. This tutorial digresses a lot . We haven't learned how to make things move yet, but there's an entire section on how to make a graceful progress bar for when the images are loading. This belongs in the documentation, not in a tutorial, and definitely not around the start.

chang-zhao commented 3 years ago

IMHO it's alright, we can always skip aome parts.

The problem is that in the version 5 many details got obsolete.

Docs say to use

loader.onProgress.add(() => {}); // called once per loaded/errored file

but I can't get it to work.

It would be nice to have working example of progress bar here.

Other obsolete things are more straightforward to correct so far.