[Unity] Local testing with the client JS API

3 posts

Flag Post

Hi, if I’m testing a client JS enabled game locally, what do I need to do for the API to work? I’m calling loadAPI(), but the callback I’m feeding in never gets run.

So far I know about:
– Include kongregate_api.js in the HTML head
– Have a live kongregate session (though maybe the same-origin policy on cookies will break this. Even if it can’t find my session, surely some of the API should function as guest, right?)

Cheers

 
Flag Post

I have exactly the same issue. Want to test api before posting the game.
A few month ago there was a compete guide of unity on how to integrate api, but now it changed and i am a bit confused

 
Flag Post

“A few month ago there was a compete guide of unity on how to integrate api” would U be so kind to drop me a link to this guide?