Phaser JS: Progress Bar 04: Asset preloading using phaser webpack loader

Pubblicato il: 07 ottobre 2020
sul canale di: MangoJelly Solutions for FreeCAD
335
1

Part 4 of coding a asset loading screen along with a visual progress bar and easy asset management and automated asset packaging.

All we have done is consoled out which assets have been loaded and cached and then started our main game scene. We need something visual and that's what we do next. Using a graphics program, in this case inkscape we get a feel for what our progress bar will look like (yes it's nothing much but this is to demonstrate the thought process and the actual coordinates, widths and height values needed to replicate this in code!). We then get into creating the progress bar in graphic form and round of with how to calculate what percentage of the progress bar has completed depending on how many files have been loaded.

#phaser #gamesprogramming #gamesdev
Journey with me and

Subscribe:
   / @mangojellysolutions  

Browse my Redbubble Shop:
http://MangojellyLabs.redbubble.com


In questa pagina del sito puoi guardare il video online Phaser JS: Progress Bar 04: Asset preloading using phaser webpack loader della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MangoJelly Solutions for FreeCAD 07 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 335 volte e gli è piaciuto 1 spettatori. Buona visione!