nightf Posted October 27, 2015 Share Posted October 27, 2015 hi,i'm new to phaser and this forum and i'm sure that this question has a very simple answer.i can see in google play lots of games that load progress using google services.if i'd like to use it with phaser, is there some guide or tutorial explaining doing that? is that workflow correct?:1. adding google api files to main index.html file2. on first creation of user in game, save google id in db + localstorage of device.3. if the user returns to game, load by localstorage or google id in db. thanks. Link to comment Share on other sites More sharing options...
drhayes Posted October 28, 2015 Share Posted October 28, 2015 That sounds right at a very high-level, but what Google APIs are you trying to integrate with? Login? This stuff? https://developers.google.com/games/services/web/gettingstarted Link to comment Share on other sites More sharing options...
nightf Posted October 28, 2015 Author Share Posted October 28, 2015 yes, i'm trying to integrate a login.is it something achievable with phaser?in one game i played, the login was automatic, i didn't even need to enter my email / pass.another thing, are the inputs (email and pass) have to be set in the phaser game itself? how does it work exactly? Link to comment Share on other sites More sharing options...
bruno_ Posted October 28, 2015 Share Posted October 28, 2015 Phaser is a JavaScript library. You can use other libraries as well, like google APIs. Link to comment Share on other sites More sharing options...
drhayes Posted October 29, 2015 Share Posted October 29, 2015 Yeah, this isn't Phaser specific. Phaser doesn't have anything in it that will help you do this; it's something on the Google API side. Link to comment Share on other sites More sharing options...
nightf Posted October 30, 2015 Author Share Posted October 30, 2015 gotcha..thanks =] Link to comment Share on other sites More sharing options...
Recommended Posts