Hi there,
So, i want to create a loading layout for ads load. here is what its look like:
After ads are shown or finished, loading layout/content will be removed, I put all loading content into a group called “loading”. but I get an error, its seem facebook events still using old “loading” group data. I don’t really know how its work.
this.facebook.on('adfinished', function (ad) {
loading.clear(true, true);
});
There are a dozen of level, if player change level, scene will be restarted and facebook events will be called again, is this method causing a problem ?
I also put all game functions and variables inside create() to make it locally