Search the Community
Showing results for tags 'services'.
Found 1 result
Hi.. i want to integrate my phaser with google play services to enable leaderboard. I have generated the client id successfully. i have also included the following lines in my index.html : <meta name="google-signin-clientid" content="xxxxxxxxxxxxxx.apps.googleusercontent.com" /> <meta name="google-signin-cookiepolicy" content="single_host_origin" /> <meta name="google-signin-callback" content="signinCallback" /> <meta name="google-signin-scope" content="https://www.googleapis.com/auth/games" /> <script src="https://apis.google.com/js/client.js"></script> and then in Mainmenu state.....I am adding a button and in its handler writing gapi.auth.signin(). but no signn in popup appears ..? where am i going wrong? I want to know whether it is advisable to use google play services in phaser games or not? Actually I have hosted my game on google drive. www.googledrive.com/host/0B_w6dYmu8MClflFIeGRxQ0tCRU55VXhDY05lQXJtVnJpaC1GREMxbzlDVGlfbnZScFpaZE0 not on a custom domain... Is this causing the problem ?