phaser/resources/tutorials/02 Making your first game/part1.html

31 lines
543 B
HTML
Raw Normal View History

2013-12-07 02:05:07 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Phaser - Making your first game, part 1</title>
<script src="//cdn.jsdelivr.net/phaser/2.2.2/phaser.min.js"></script>
2013-12-07 02:05:07 +00:00
<style type="text/css">
body {
margin: 0;
}
</style>
</head>
<body>
<script type="text/javascript">
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
function preload() {
}
function create() {
}
function update() {
}
</script>
</body>
</html>