Defold on Facebook Instant Games

Hi,

  1. I am using this template you can use in game.project → [html5] → htmlfile (html shell) engine_template.html.zip (1.6 KB)
    (it contains sample code/html, you can read and change according your game)
    Also you can check html temlate in FBInstantGames NE for Defold here (would be better to use this template, I think.): https://github.com/defold/extension-fbinstant/blob/master/fbinstant/index.html

  2. You can use one of the camera assets from assets portal:
    https://www.defold.com/community/projects/76573/
    https://www.defold.com/community/projects/84064/
    I am using my own code, and it’s harder for understanding than these amazing assets

5 Likes