• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

HTML5 Bug/fix when uploading to Kongregate with API

Kodiqi

Member
I recently uploaded a HTML5 game (made in GameMaker Studio) to Kongregate, following the guide at help.yoygames.com. The link for the Kongregate_shell file in that guide no longer works, so I download the file from the Kongregate Developers page instead.

The game loaded in IE fine but in Chrome would only show a black screen (I didn't test in FF or other browsers). Using the Developer tools option in Chrome, I found the error was related to the Kongregate API being considered an "insecure plugin" from an "unauthenticated source".

To fix this issue, you need to edit the Kongregate_shell file. Find the line below...
HTML:
<script type="text/javascript" src="http://www.kongregate.com/javascripts/kongregate_api.js">
Then change the "http://" to "https://". This will now load the file over https instead, resolving the issue.

I'm posting this issue and solution as I wasn't able to find anything comprehensive when I was searching for it.
 

MudbuG

Member
woohoo... 2 years later... and this worked for me! The shell file is available on Kongregate now, but it still has this problem where http needs to change to https. It took a lot of searching to find this post. Thanks Kodiqi!
 
T

ThePropagation

Guest
Hey, do you guys have trouble with view_camera? I'm trying to put a game on Kongregate and when I set the target to HTML5, setting a camera view froze my game! Is there a workaround or alternative?
 
Top