Dharasis Posted May 24, 2018 Share Posted May 24, 2018 Hello, I am stuck while developing a game for Facebook instant Game using Babylon.These are steps i followed to create a sample game using Babylon: 1.I used Babylon toolkit for Unity http://doc.babylonjs.com/resources/intro to make a sample game. 2.I exported to create a Babylon scene build. 3.Added all the scripts & functions required to make it viable for Facebook instant Game's environment. Ref:https://doc.babylonjs.com/resources/babylonjs_and_instant_games After it was hosted in Facebook Instant game, i checked it in messenger where i am not able to view the scene.Further i investigated more and found that there is a problem in scene rendering. Have anyone faced this issue earlier? Please help!! Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 25, 2018 Share Posted May 25, 2018 Hello, Are you able to run and render your scene in a web project ? (I mean without Instant Game framework ?) Quote Link to comment Share on other sites More sharing options...
Dharasis Posted May 25, 2018 Author Share Posted May 25, 2018 Yes its working in web.. Here is the url: http://zinfinitygames.co.nf Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 25, 2018 Share Posted May 25, 2018 Ok I'll test it tonight. Thanks ! Dharasis 1 Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 25, 2018 Share Posted May 25, 2018 Can you remove the import to Font Awesome and Google font and try again ? Facebook doesn't like external imports... Edit : Is it possible for you to send me a zip containing your Instant Game project ? It will be easier for me to test it. Thanks ! Quote Link to comment Share on other sites More sharing options...
Dharasis Posted May 31, 2018 Author Share Posted May 31, 2018 I changed the babylon.js it worked..Thanks.. But i am stuck into another problem!! I do not have any idea how to link a component(script) for a game object..If i proceed in the way how Unity works(by attaching a c# file), i am not able to see the changes in webpage , that i have done on script..I am not able to find any solution from google or any of the babylon's documentation. Please help!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.