What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
Is there a way to detect that the API is available so I can make one version of my game that I can use on other sites?
ie. Take URL locking – you can check the url of the host of the swf file and if it is not on your server, change in to demo mode.
So, if my swf doesn’t detect the api, it knows it is not running on the Kong server and doesn’t try to use them? Or the opposite situation, it detects via url locking that it’s not running on my server, but it also detects the Kong api so it still runs as the full version?
You can run games with the Kongregate API fine on other sites.
Kongregate puts your swf inside a shell, and you access its methods by using \_root.kongregateServices.
On another site, \_root.kongregateServices won’t be anything, so any functions you call on it will silently fail and your game will continue to run past them.
I am interested as well to find a way to detect if my SWF’s are on Kongregate or not, (if they were stolen) but using the API isn’t going to be a good method.
The reason why is because it goes through the chat window, so anytime someone doesn’t have that window available (Ie. they are behind a firewall that doesn’t have port 5222 open, like me right now) it will not detect the api’s and then fail. (or in your case run the wrong version)