• 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!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 FaceBook Game Not Work - Errors In Browser Console?

J

JeZxLee

Guest
Hi,

We've been trying to get our game on FaceBook.
We added FaceBook game ID to settings and exported to HTML5,
but when we open the new index.html file in any browser there is an error:
--------------------------------------------------------------------------------------------------
SCRIPT1015: Unterminated string constant
TetrisAttackArmageddon.js (148,64)
--------------------------------------------------------------------------------------------------

Anyone know how to fix the above, FaceBook people are waiting for this game now...
 
F

F_Clowder

Guest
In that js, try going down to line 148, and see what it says 64 characters into that line.
 
J

JeZxLee

Guest
Hi,

Sorry, but I am having problems - the output code is obfuscated:
-----------------------------------------------------------------------------------------------------------------
_54:"tetriattack 4[tm]",_64:1,_74:0,_84:0,_94:"300792710261926,

tm : 1467632938
}
};
-----------------------------------------------------------------------------------------------------------------

If I uncheck "Use FaceBook" in HTML5 setting then the game works ok in browser?
Any help would be greatly appreciated, thanks!

You can download the FaceBook HTML5 version below:
http://opentetris.com/files/TAA/FB-TAA-HTML5.zip
 
J

JeZxLee

Guest
I've submitted this as a bug to YoYo Games, hopefully they will help us soon...
 
J

JeZxLee

Guest
Sorry to bump, but no one has tried FaceBook and GameMaker:Studio?
 
Top