DEV Community

CodingWith-Adam
CodingWith-Adam

Posted on

1

Introduction to Creating a JavaScript Game

In this video we will create a simple javascript game. We will create a circle aka the little green blob that we will move around the screen. You will learn about taking input from the keyboard to move a character on the screen. Create a form of collision detection by detecting the edge of the screen. Lastly we will create a game loop which continuously draws the screen. We will implement the game loop with 2 different methods setInterval and requestAnimationFrame.

With the skills we learn from this introduction to game development we will then tackle games such as Pac-Man, Tetris and Snake in later videos.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay