Closed djave-co closed 3 years ago
I had a console warning that the loader is depreciated when following the tutorial. I think I have correctly replaced it in the tutorial, however as its my first time with Pixi it would be worth checking my PR.
I think you can also create a new instance of PIXI.Loader() like that, so the code would be changed a little bit less.
const loader = PIXI.Loader(); loader.add("assets/example.png") .load(setup);
I had a console warning that the loader is depreciated when following the tutorial. I think I have correctly replaced it in the tutorial, however as its my first time with Pixi it would be worth checking my PR.