Open jairogloz opened 5 years ago
I've wasted a day with that guide and frustrated that it's incomplete and poorly documented. Pretty sure you don't actually need this library. Just Phaser, and the FB libs.
You need to load your scene in index.html in order for it to be available in boot.js.
I also face the issue, only able to share on FB. other than that, no functionality are working. I used the FB Instant Game documentation and Phaser library only and get the game working. This repo will help to understand the skeleton but not as expected. :(
I just use a phaser3-project-template with additional a script tag in the head section of the index.html file:
<script src="https://connect.facebook.net/en_US/fbinstant.6.2.js"></script>
And so far everything is working fine
Hi, I've just started following the Facebook Instant Games in Phaser tutorial and cloned this repo to follow the instructions in the completed code, but I haven't been able to load any scene other than GameShare.
I've tried calling
this.scene.start('MainMenu')
alone but this has no effect at all. I've also added MainMenu to the scene section in the config var in boot.js likescene: [Preloader, MainMenu]
but by doing so the app never loads, it gets stuck loading with 0%.I'm pretty sure I'm doing something wrong or missing something, but I can't figure out what it is. Any help would be appreciated.