Hello, I use this code to pre-preload graphics in loading scene.
constructor()
{
super({
key : 'loading',
pack :
{
files :
[
{ type: 'image', key: 'preloader1', url: 'images/preloader1.png' },
{ type: 'image', key: 'preloader2', url: 'images/preloader2.png' },
]
}
})
}
So, “pack files” acts like a pre-preloader, but I don’t know how to load bitmap fonts instead of loadingbar images? How to set type and url?