From 2eba65206b25124f10eab5c89de72fe8a7a1cfce Mon Sep 17 00:00:00 2001 From: Treedbox Date: Wed, 21 Jun 2017 13:39:14 -0300 Subject: [PATCH] Update step01_en.md index.file to index.html --- src/content/platformer/step01_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/platformer/step01_en.md b/src/content/platformer/step01_en.md index 49e5dd5..00c8d1f 100644 --- a/src/content/platformer/step01_en.md +++ b/src/content/platformer/step01_en.md @@ -23,7 +23,7 @@ download: /assets/platformer/steps/step01.js ### Initialise Phaser and the canvas -1. HTML5 games need a `` element to draw graphics. Phaser can create one automatically when we initialise the game. We need to supply the ID of the element that will wrap the canvas –in our case, it will be a `
` that we have in our `index.file`. We will also be providing the canvas' dimensions (960✕600). +1. HTML5 games need a `` element to draw graphics. Phaser can create one automatically when we initialise the game. We need to supply the ID of the element that will wrap the canvas –in our case, it will be a `
` that we have in our `index.html`. We will also be providing the canvas' dimensions (960✕600). To do that, open `js/main.js` in your text editor and edit the `window.onload` function to initialise Phaser: