// All the text here will be imported into the game as a java script file var game = Function('return this')(); //get global scope. // Parameters: game.filepath = "http://localhost/games/"; game.active_leaderboard = 0; game.total_registers_leaderboard = 12; game.road_width = 18000; // width x time in seconds // width = 6000 ( +- 20 seconds) // width = 18000 ( +- 60 seconds)