Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

How do I upload a phaser game to Kongregate?


Finwillwin
 Share

Recommended Posts

Whenever I upload it, it says it can't find phaser+all the levels! Here is the index.html code:

<!doctype html> 
<html lang="en"> 
<head> 
	<meta charset="UTF-8" />
	<title>The Adventure of Bleekofla</title>
	<script type="text/javascript" src="phaser.min.js"></script>
	<script type="text/javascript" src="loader.js"></script>
	<script type="text/javascript" src="Start.js"></script>
	<script type="text/javascript" src="ref.js"></script>
	<script type="text/javascript" src="ref1.js"></script>
	<script type="text/javascript" src="ref2.js"></script>
	<script type="text/javascript" src="intro.js"></script>
	<script type="text/javascript" src="battle.js"></script>
	<script type="text/javascript" src="house.js"></script>
	<script type="text/javascript" src="Level1.js"></script>
	<script type="text/javascript" src="Level2.js"></script>
	<script type="text/javascript" src="Level3.js"></script>
	<script type="text/javascript" src="Level4.js"></script>
	<script type="text/javascript" src="Level5.js"></script>
	<script type="text/javascript" src="Level6.js"></script>
	<script type="text/javascript" src="outro.js"></script>
	<script type="text/javascript" src="cred.js"></script>
	<script type="text/javascript" src="old.js"></script>
	
    <style type="text/css">body {margin: 0;}body{
background-color:black;
}</style>
</head>
<body>
<body background="assets/plumbus.png">
<script type="text/javascript">
var game = new Phaser.Game(1080,560, Phaser.AUTO);
game.state.add('loader', loader);
game.state.add('ref', ref);
game.state.add('ref1', ref1);
game.state.add('ref2', ref2);
game.state.add('Start', Start);
game.state.add('intro', intro);
game.state.add('house', house);
game.state.add('battle', battle);
game.state.add('Level1', Level1);
game.state.add('Level2', Level2);
game.state.add('Level3', Level3);
game.state.add('Level4', Level4);
game.state.add('Level5', Level5);
game.state.add('Level6', Level6);
game.state.add('outro', outro);
game.state.add('cred', cred);
game.state.add('old', old);
game.state.start('loader');
game.lives = 3;
game.levels = 1;
game.plubs = 0;
game.spawns = 0;

</script>
</body>
</html>

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...