mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +00:00
26 lines
No EOL
648 B
HTML
26 lines
No EOL
648 B
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="initial-scale=1 maximum-scale=1 user-scalable=0" />
|
|
<title>Phaser Test Runner : JS State Test 1</title>
|
|
<link rel="stylesheet" href="../../phaser.css" type="text/css" />
|
|
<script src="../../phaser.js"></script>
|
|
<script src="MainMenu.js"></script>
|
|
<script src="FakeGame.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="game"></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var myGame = new Phaser.Game(this, 'game', 840, 400);
|
|
|
|
myGame.switchState(MainMenu);
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html> |