JavaScript Game Development for Beginners: Sprite Animation

Learn how to animate any sprite sheet and practice vanilla JavaScript at the same time.
Free tutorial
Rating: 4.7 out of 5 (94 ratings)
3,868 students
46min of on-demand video
English
English [Auto]

How to use vanilla JavaScript to animate any sprite sheet for interactive web games and animation projects.

Requirements

  • Basic knowledge of HTML, CSS and JavaScript

Description

Do you want to build polished, beautiful JavaScript games and bring your game characters to life? Let me show you 2 of my favourite techniques you can use to get complete control over any sprite sheet. This is advanced vanilla JavaScript sprite animation, explained for beginners! Have fun :)


Adding animated sprite sheets to your JavaScript games is one of the fastest and the most impactful ways to bring your games to the next level and to add that professional look and polish you want. Games with sprites are great at pulling your audience into the fantasy you are trying to create and they are also really fun to make. Today I will show you everything you need to know about sprite animation with vanilla JavaScript and by the end of this course, you will be able to have complete control over any sprite sheet you choose.


I will show the easiest beginner friendly sprite animation technique first and then we will go a bit deeper and learn how to properly set up different player animations, so we can swap between them by changing just one variable and use it in our game. Do you want to learn more about 2D game development? Have you been learning HTML, CSS and JavaScript for a while and want to bring your front end web development projects to the next level? Then this course is for you. Let's dive deep into JavaScript game development and learn about sprite animation together. This course is for beginners.

Who this course is for:

  • Beginner JavaScript developers who want to practice their skills on fun interactive projects.

Instructor

Front End Web Developer & Instructor at Frank's Laboratory
Frank Dvorak
  • 4.8 Instructor Rating
  • 366 Reviews
  • 14,847 Students
  • 4 Courses

Hi, I'm Frank! I'm a front end web developer, owner of Frank's laboratory YouTube channel, that specializes in creative coding with vanilla JavaScript and HTML canvas. Let's make some art, games and visual projects and learn about HTML, CSS, JavaScript and front-end web development!

In my courses I use only plain vanilla JavaScript, no frameworks and no libraries. When you have deep understanding of JavaScript the programming language, picking up any library is easy.

Top companies trust Udemy

Get your team access to Udemy's top 17,000+ courses