Removed old Phaser build and updated index.html.

This commit is contained in:
Richard Davey 2016-06-28 00:22:28 +01:00
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

Binary file not shown.

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>hello phaser!</title> <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> </head>
<body> <body>
@ -11,6 +11,10 @@
window.onload = function() { 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 }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
function preload () { function preload () {