Do you like pixel art? In this episode of my game development series I will show you how to make a game with JavaScript and HTML canvas from scratch with no libraries. We will learn more about sprite animation, keyboard input and we will build custom algorithm to control how often request animation frame method serves frames of animation loop using Data.now() JavaScript method. All with vanilla JS.

We will practice JavaScript techniques that are useful for web development in general, not just for games. We are front end web developers and these exercises are here to help up us to improve our skill set and learn new things. We will focus on event listeners, array manipulation and pulling and handling data stored in an object and while doing that will learn how to create a player character and move it around canvas with keyboard.

Check out some of my source code on CODEPEN - https://codepen.io/franksLaboratory

Subscribe : https://www.youtube.com/channel/UCEqc149iR-ALYkGM6TG-7vQ

#javascript #html5canvas #programming

How to Make a Game with JavaScript and HTML Canvas
11.95 GEEK