mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Removed old Phaser build and updated index.html.
This commit is contained in:
parent
fbd1ba05f7
commit
416c545d21
2 changed files with 5 additions and 1 deletions
BIN
resources/tutorials/01 Getting Started/hellophaser.zip
Normal file → Executable file
BIN
resources/tutorials/01 Getting Started/hellophaser.zip
Normal file → Executable file
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>hello phaser!</title>
|
||||
<script src="//cdn.jsdelivr.net/phaser/2.2.2/phaser.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/phaser/2.5.0/phaser.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -11,6 +11,10 @@
|
|||
|
||||
window.onload = function() {
|
||||
|
||||
// Note that this html file is set to pull down Phaser 2.5.0 from the JS Delivr CDN.
|
||||
// Although it will work fine with this tutorial, it's almost certainly not the most current version.
|
||||
// Be sure to replace it with an updated version before you start experimenting with adding your own code.
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
|
||||
|
||||
function preload () {
|
||||
|
|
Loading…
Reference in a new issue