mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
removed hello world example code
To avoid duplicates. Users may go to the english version (and links in the tutorial go to the english version)
This commit is contained in:
parent
fc6ae6a60b
commit
f7202a3ff1
4 changed files with 0 additions and 46 deletions
Binary file not shown.
|
@ -1,34 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>hello phaser!</title>
|
||||
<script src="phaser.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
window.onload = function() {
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
|
||||
|
||||
function preload () {
|
||||
|
||||
game.load.image('logo', 'phaser.png');
|
||||
|
||||
}
|
||||
|
||||
function create () {
|
||||
|
||||
var logo = game.add.sprite(game.world.centerX, game.world.centerY, 'logo');
|
||||
logo.anchor.setTo(0.5, 0.5);
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 176 KiB |
Loading…
Add table
Reference in a new issue