mirror of
https://github.com/wassname/phaser.git
synced 2026-08-19 12:30:07 +08:00
Tidying up for 1.0 release push to master.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>phaser - hello world</title>
|
||||
<script src="phaser-min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
|
||||
|
||||
function preload() {
|
||||
|
||||
game.load.image('logo', 'logo.png');
|
||||
|
||||
}
|
||||
|
||||
var logo;
|
||||
|
||||
function create() {
|
||||
|
||||
logo = game.add.sprite(0, 0, 'logo');
|
||||
|
||||
}
|
||||
|
||||
function update() {
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 176 KiB |
Vendored
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user