Forum QuickConnect Demo for Kongregate integration?

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Demo for Kongregate integration?

Postby Blam » July 30th, 2010, 7:11 pm

I can't seem to get the two API's working together.

I've loaded the kongregate API previously, and I have a button for connecting using Kongregate account as such:
Code: Select all
      function kongConnect(e:MouseEvent){
         //txtError.text = "Feature not yet implemented.";
         PlayerIO.quickConnect.kongregateConnect(
               stage,
               myCode,
               kongregate.services.getUserId(),
               kongregate.services.getGameAuthToken(),
               handleConnect,
               handleError
         );
      }


I thought it would be pretty basic, yet :(
Game's here: http://www.kongregate.com/games/BlamBea ... ultiplayer
Blam
 
Posts: 8
Joined: July 28th, 2010, 11:46 pm

Re: Demo for Kongregate integration?

Postby nirza » July 30th, 2010, 10:37 pm

very nice !
nirza
 
Posts: 39
Joined: April 10th, 2010, 11:50 am

Re: Demo for Kongregate integration?

Postby UnknownGuardian » July 31st, 2010, 5:50 pm

I've set up and used the Kong API and its worked really well.

Make sure you've enabled the Kong Quick connect on the admin panel + put in your game API key, which can be gotten from GAME_URL + "/api" Don't share the key with anyone.
UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am

Re: Demo for Kongregate integration?

Postby Blam » August 1st, 2010, 2:02 am

Yup done both :(
Blam
 
Posts: 8
Joined: July 28th, 2010, 11:46 pm

Re: Demo for Kongregate integration?

Postby UnknownGuardian » August 1st, 2010, 2:25 am

Perhaps trace the error to the screen? Or tell us exactly what the problem is? What is not working?
UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am

Re: Demo for Kongregate integration?

Postby Benjaminsen » August 4th, 2010, 12:51 pm

As requested here is an example of Kongregate user integration.

http://www.kongregate.com/games/QRious/drawpad

The files for the game can be downloaded here:
http://chrisbenjaminsen.com/temp/DrawPadKongregate.zip

The game will automatically authenticate Kongregate users, Guests gets the option to login.

/Chris
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Demo for Kongregate integration?

Postby Blam » August 5th, 2010, 1:58 pm

tyvm :), got it working for another game.
Blam
 
Posts: 8
Joined: July 28th, 2010, 11:46 pm

Re: Demo for Kongregate integration?

Postby azuanagames » August 13th, 2010, 10:06 pm

What's the license on this example ui code? Can I use it for my own game? :) I started writing my own, but your ui components are already much more advanced than my own.

Thanks
azuanagames
 
Posts: 157
Joined: April 29th, 2010, 10:59 pm

Re: Demo for Kongregate integration?

Postby Oliver » August 13th, 2010, 11:14 pm

License: Do whatever you want with it :)
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Demo for Kongregate integration?

Postby Benjaminsen » August 13th, 2010, 11:28 pm

I wrote the UI code, and hereby give it away for free to everybody to use it for whatever they wish. Player.IO related or not.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Demo for Kongregate integration?

Postby azuanagames » August 13th, 2010, 11:34 pm

I'd rather not assume!

I like the simplicity of the code. I can tweak the look for my game. The layout management is nice and the code is very readable.

Thank you again :)
azuanagames
 
Posts: 157
Joined: April 29th, 2010, 10:59 pm

Re: Demo for Kongregate integration?

Postby Vania » September 12th, 2011, 6:53 pm

Is it possible to log people into kongregate without calling this:
Code: Select all
kongregate.services.showSignInBox()


Like passing the username and password directly to kong?
Vania
 
Posts: 198
Joined: March 24th, 2010, 9:01 pm


Return to QuickConnect



cron