Kongregate API - Unity integration

Not sure what this new API includes.

Any one succeed in making this work for them yet?

I got Langman up and running today.

The API is pretty simple. It just involves doing external browser javascript calls. Feel free to respond with any questions, and I’ll try to help.
Ehren

Thanks Ehren your help is appreciated.

I still need to get my game polished first. Can I test upload a game? (How else would you test your API integration?)

Thanks again.

Yes, after uploading you can test your game, reupload, and finally publish when it’s ready. EDIT: Although I initially didn’t see a way to test the leaderboards prior to publishing, when I checked again it was there. The leaderboards show up in the tabs to the right of the game.

Do you think you can post a small example?

I just used the example scripts provided in the “Using the Kongregate API with Unity” documentation: http://www.kongregate.com/developer_center/docs/using-the-api-with-unity3d

The samples there use a couple built-in Unity functions that enable games to call out to the browser and execute javascript. There’s a good writeup of that functionality here: http://unity3d.com/support/documentation/Manual/Unity Web Player and browser communication.html

Hope that helps.

Hello Ehren,
I can’t play Langman on Kongregate (it only show a black screen, no unity progress bar :, NOTHING), i can play it only on your site
Plugin 3.1.0f4 on windows 7, i tested with firefox 3.6 4beta and the latest chrome version…
Usually i can play all the unity games

Hmmm…that’s strange. Do you have the Unity editor installed? If so, could you use their bug reporter to file a bug? I think that will give them all the info about your hardware/OS/etc., which will hopefully allow them to figure out why it isn’t working.

This brings up another question:
Unity folks, if I have kongregate users complaining about the plugin failing to install and sending me bug reports, what should I do with those reports? Since I can’t necessarily repro the issues myself, I’m not sure how helpful me filing bugs will be.

Ehren, Just caught your edit regarding the leaderboards showing up while testing. Thanks.

i have the unity editor installed, but as i mentioned before i can play your game on your site…i think the problem is on the kongregate side…maybe the loader
when i click on the screen with the rmb it shows the usual flash menu…

I have to rectify the informations…the game works on internet explorer and firefox 3.6
Today i (think) erroneously tested the game on firefox 4beta and chrome
The problem is present with opera browser too…