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
Auf dieser Seite können Sie das Online-Video Phaser JS: Progress Bar 04: Asset preloading using phaser webpack loader mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer MangoJelly Solutions for FreeCAD 07 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 335 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!