mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
31 lines
534 B
HTML
31 lines
534 B
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<title>Phaser - Making your first game, part 1</title>
|
||
|
<script type="text/javascript" src="js/phaser.min.js"></script>
|
||
|
<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>
|