Search the Community
Showing results for tags 'achievements'.
-
Hi Im Tomy owner of http://kiz10.com and http://m.kiz10.com I need games in HTML5, buy to Developers with good games, fos non-exclusive, pirmary or Exclusive licences, if is possible with API includes for scores and achievements for version desktop Let me know please PS: My mail is [email protected] Kind Regards Tomy Kiz10.com sirg_kiz10 (api).rar
-
Hello guys, So, I'm trying to implement the Google Play Services inside my game for the players challenge their friends with leaderboards scores and achievements. As I'm using Cordova, I have two ways: plugins or javascript libs. The first one is really old and limited, besides it not work well. And in the other hand we have the JS library of Google Web (REST) that you can find here https://developers.google.com/api-client-library/javascript/start/start-js and here https://developers.google.com/games/services/web/clientsetup. So, I'd tested both and the second is more interesting and complete than the first one. However, I can't load the OAuth2 to start using the REST calls and complete my game logic. Reading about this, I discovered that the webview don't save cookies, and when I have not set the parameter cookie_policy to "none" I get this error: And, when I set cookie_policy to "none", I have this error: I already have setup the lib in index.html <!-- google play games service api --> <script src="https://apis.google.com/js/client.js"></script> And in my MainMenu state, I'm doing the SignIn tests using this code: // google play sign in if (gapi) { console.log('GAPI is loaded'); gapi.client.setApiKey('<api_key>'); gapi.load('client:auth2', function () { gapi.auth2.init({ client_id: '<client_id>', cookie_policy: 'none', scope: 'https://www.googleapis.com/auth/games' }).then(function () { console.log('auth2 success'); }); }); } else { console.error('GAPI is not loaded'); } I would like to know if anyone knows about how to implement GPGS using Cordova?! I'd like to understand what I'm doing wrong! Any help will be great! Thank you!
- 4 replies
-
- google play
- sign in
-
(and 3 more)
Tagged with:
-
Hello guys, just a bit of backstory before I begin, I'm 17 and trying to prove to my parents that a career in game development is a real profession so I hope this goes well! Anyway, here is Killer Freaks. KILLER FREAKS Killer Freaks is a fun action arcade game whereby the protagonist uses a slingshot to keep themselves safe from the Freaks! The game features in-game achievements and in-game statistics. It has a fun game mechanic and I believe it's worth your time to try it out. I believe the game should do most of the talking though. I understand that the game is in need of some polishing but I'm hoping to strike a deal with a HTML5 sponsor two in order to buy a desktop PC. Please give me your honest opinion and criticize me as hard as you can. I have to improve in order to make a living out of this. Thank you for your time, Samuel. Direct Link: https://dl.dropboxusercontent.com/u/107475417/Killer%20Freaks/index.html MarketJS Link: http://www.marketjs.com/game/KillerFreaks Hope you enjoy the game