
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
To use the resources from the course or to develop your own games, you will need a web server. Far and away the simplest option is to use Web Server for Chrome. You will need the Chrome browser installed on your development device. In this lecture we look at downloading, installing and using this simple web server. Most web pages need to download additional resources, images or other assets. If working from your local machine then if the url begins with file:// then this means using the local file system and this is not allowed for security reasons. To work on the game we will develop in this course we need to use a Web Server so we can use http:// - in this lecture I show how easy this is done by using Web Server for Chrome, a Chrome extension that is freely available and makes setting up a local web server very easy.
Update:
Web Server for Chrome is a Chrome App and Chrome Apps are being discontinued. Instead use Simple Web Server - https://simplewebserver.org/. Created by the same developer it works in the same way.
Create a New Server
Choose the folder
Click the blue link to open in your browser
This lecture shows the user how to setup their Windows computer as a web-server, including installing MySql and PHP. In addition we look at installing MySQL Workbench to manage databases.
This lecture shows the user how to setup their Mac as a web-server, including installing MySql and PHP. In addition we look at installing Sequel Pro to manage databases.
This lecture shows the user how to setup their Linux computer as a web-server, including installing MySql and PHP. In addition we look at installing MySQL workbench to manage databases.
We look at creating a simple HTML page, viewing it, setting break-points, inspecting it and entering javascript directly in the browser.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources (sc02vid05.zip), unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
sc02vid05a.zip contains a more sophisticated game. We will look into this in a later lecture but please review it now to see if you can get an overview on how it is working.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Find the resources in video 1 for this section.
Find the resources in video 1 for this section.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Use the resources from video 1 in this section to work along with the content.
Use the resources from video 1 in this section to work along with the content.
Download the resources, unzip, create a new folder on your web-server and add the files. Run the game in your browser and use a text editor to work along with the code description.
Use the resources from video 1 in this section to work along with the description.
Use the resources from video 1 in this section to work along with the description.
HTML5 Games run on just about all devices. Learn how to create them from someone who has spent the last 20 years creating casual games. All HTML5 games are based around a knowledge of displaying content on a Canvas using JavaScript. We use the latest JavaScript version, ES6, so as well as learning game development you will also learn the latest JavaScript syntax. In this course we start with the basics of individual images on a Canvas. From there we move onto sprites - developing step by step a sprite library that you are free to use in your own games. The library allows you to display frame animated sprites that show a flip book of images to display walking and running characters and much more.
You will learn:
About physics to easily add dynamic collision detection to your games.
How to create platform games, puzzle and card games.
How to add multiple layers of audio.
How to add a preloader to your games.
How to add the bells and whistles that make your game stand out.
How to handle multiple users via WebSockets.
All code is free to use in your own games. The course contains lots of assets and code examples that you are free to use in your own games. As a course student you also have access to an online tool for creating spritesheets and animations.
Having completed this course you will be ready to develop any 2d game. Only a basic knowledge of HTML and Javascript are assumed, all ideas are explained with examples you can try and resources you can use in your own games.
Take a look at the trailer to see the kind of content that you will be building once you've studied the course. HTML5 Game Development is great fun to learn and the skills you learn in this course will greatly improve your JavaScript skills which will be useful in your Web Development career.
Student reviews
“Great Course!!! I am learning so much. Nicholas is very good at presenting a concept explaining it and then implementing it into code all the while, allowing me the student to code along addressing any nuances that may be there. He is also very responsive to any questions. I know that enrolling into this course was a great decision and I already have the confidence to begin planning and developing my first game”
"If you're looking for the stepping stones to becoming a Game Developer with HTML5, this is the best starting stone you could possibly find. Love this course!!"
"This is the first game development course I have been through where I really feel like I am being taught by an absolute expert/professional in the field."
"I am currently taking a gaming class in college and this course so far has been able to help me understand what the professor was doing as they expected you to know just a proper setup which I didn't, and this course brought me up to speed very quickly by just doing the initial setup."