Skip to content Skip to sidebar Skip to footer

Build Animated Physics Game with JavaScript

Design fantasy 2D worlds, animate your characters, learn 10 basic game development techniques and build a real project! Build Animated Physics Game with JavaScript

Udemy Coupon Codes

What makes a great game? Is it about beautiful, polished visuals or about gameplay that feels good and responsive? Is it about unique ideas, or maybe it's the little details, special secrets and Easter eggs? What are the ingredients in a perfect game development recipe?

In this class we will dive deep into sprite animation, interactivity and 2D physics. We will learn 10 important techniques every game developer needs to know and we will apply them in a real project.

Students of this class will get a lot of 2D professional high resolution game art for free. I provide environmental and character art assets in the form of ready to use sprite sheets, as well as source files with separate pieces for those of you who want to edit the colors, piece together your own mushrooms and creatures or to rig your own animations.

Today we will learn:

  • - How to implement a very simple AI to make the creatures feel alive
  • - How to control the FPS of our game and how to measure time to trigger periodic events
  • - How to restart the game by pressing a button
  • - How to apply collision detection, resolve collisions and use that to simulate physics
  • - How to use the built-in drawImage method to draw randomised game environments and animated characters from a sprite sheet
  • - How to capture mouse position and animate an 8 directional sprite sheet based on the relative position between the mouse and the player character
  • - How to use HTML5, CSS3 and plain vanilla JavaScript to build a game from scratch. We will write and understand every line of code, we will not rely on any external frameworks or libraries

... and much more

The pace and techniques in this course are beginner friendly. Existing knowledge of HTML, CSS & JavaScript is needed to follow the course. If you understand JavaScript basics and know what functions, for loops and arrays are, you will be able to get the maximum value out of this class.

What you'll learn

  • Use HTML5, CSS3 & JavaScript to build a browser game from start to finish
  • Learn how to apply collision detection to simulate 2D physics
  • Animate character sprite sheets and make them interact with each other
  • Learn how to implement 10 important techniques, useful in any game development project
  • Apply object oriented programming principles in an interactive animation codebase
  • Create animated particle systems to enhance interactivity


Frank Dvorak

Front End Web Developer & Instructor at Frank's Laboratory
Online Course CoupoNED based Analytics Education Company and aims at Bringing Together the analytics companies and interested Learners.