Hi! When I was 14, I was fan of the Ramones.
I bought an electric guitar and I played in a rock band in my school.
A few years later, I wanted to become a game creator.
This is how I became a scientist in computer engineering.
During this week, I went back in time, because I'm going to teach you how to write HTML5 games.
During this week, you will greatly improve your knowledge of the HTML5 canvas API by learning the core techniques for writing 2D games that run at 60 frames/s.
We’ll teach you how to create a low level game framework that provides all the basic blocks you need for writing a video game: game loop with time based animation - this is an important technique that will enable your game to run at the same speed on different devices.
We will look at richer interactions with keyboard, mouse, gamepad, and also we will learn how to animate multiple objects on screen.
Not to forget learning about efficient collision detection, managing game states (start menu, game itself with different levels, game over at the end).
We will look also at the sprite based animation technique, that consists in extracting small images of a character posture and by drawing the different sub-images.
It gives the impression of the character moving.
We will provide a sprite engine that will help you greatly use this technique.
And finally we will look at how we can add music and sound effects with the Web Audio API seen during Week 1.
This is one of the most funny weeks of this course so we hope you will share your own creations and enjoy this funny part of the course.