Kapil

Members
  • Content Count

    6
  • Joined

  • Last visited

  1. Hi.. How should I create and integrate backend made with node.js and mysql with my phaser game. Primarily I want to incorporate leaderboard.
  2. 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 ?
  3. Between Node.js and Php which should be used for server side with phaser .
  4. I have a spritesheet of fruits. I would like to access different fruits from that spritesheet during the gameplay. I want the fruits to keep travelling in random directions. when the user clicks on a particular fruit he 3 choices would be displayed out of which one would be the correct answer that is the user has to identify which fruit has he clicked from the displayed 3 options. I am having trouble displaying different fruits from the spritesheet.
  5. I have a spritesheet of fruits. I would like to access different fruits from that spritesheet during the gameplay. I want the fruits to keep travelling in random directions. when the user clicks on a particular fruit he 3 choices would be displayed out of which one would be the correct answer that is the user has to identify which fruit has he clicked from the displayed 3 options. I am having trouble displaying different fruits from the spritesheet.
  6. I am developing a game and would like to connect it to database on a server in order to make a leaderboard . Its a memory excercise game and would contain some mini games. My aim is to let a user add other users to his friend list and receive notifications of his various activities of those friends like completing a level of one of the mini games, beating the high score of the user in one of the mini games. All in all I would like to how can I achieve php and mysql functionality in phaser.