Throughout the eight tasks, we have created a running game where a player needs to avoid the obstacles while running, as shown in the following screenshot:
We learned several key concepts in this project, including the Game loop, requestAnimationFrame
, the concept of parallax scrolling, keyboard input, and spritesheet animation.