Build Animated Physics Game with JavaScript (Udemy.com)
Design fantasy 2D worlds, animate your characters, learn 10 basic game development techniques and build a real project!
Created by: Frank Dvorak
Last updated January 2024
What you will 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
How it compares
Against the other 281 rated Udemy courses in Game Development Fundamentals on CourseDuck:
- Rating4.7 out of 5higher than 69% of them
- Reviews72#231 of 282 by number of reviews
- Length4.6 hoursshorter than 74% of them
- Last updatedJanuary 2024earlier than 56% of them
Course Description
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.
Have fun! :)
Instructor Details
- 4.7 Rating
72 Reviews
Frank Dvorak
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.
More courses by Frank Dvorak
Learn HTML Canvas - Pixels, Particles & Physics (2023)
4.8 (63 Reviews)
Provider: Udemy
Time: 2.2h
$64.99
More Game Development Fundamentals courses
The Ultimate 2D Top Down Unreal Engine Course (2026)
4.9 (1,468 Reviews)
Provider: Udemy
Time: 17.1h
$94.99
Blender Skill Builder: Modelling Challenges (2026)
4.9 (144 Reviews)
Provider: Udemy
Time: 6.5h
$19.99
Jumpstart to 2D Game Development: Godot 4 for Beginners (2026)
4.8 (4,398 Reviews)
Provider: Udemy
Time: 67.6h
$89.99
Create a Complete 2D Survivors Style Game in Godot 4 (2023)
4.8 (3,761 Reviews)
Provider: Udemy
Time: 17.2h
$59.99
Master Lua Programming and Create Amazing Games with LÖVE! (2023)
4.8 (3,199 Reviews)
Provider: Udemy
Time: 8.5h
$13.99
Complete Godot 2D: Develop Your Own 2D Games Using Godot 4 (2025)
4.8 (1,619 Reviews)
Provider: Udemy
Time: 11.3h
$94.99
Reviews
By Roger Parker on 2/8/2026
well well explained
By Shivang Jauhari on 3/10/2025
YES I CAN UNDERSTAND IT CLEARLY.
By Hyeon Jun Kim on 3/10/2025
초보자 입장에서 도움이 꽤 많이 됩니다.
By Avi Gil Ben Zaken on 12/10/2024
Excellent course, professionally structured Excellent video quality High quality and relevant knowledge Highly recommended
By Gabriel Mihelich on 5/8/2024
Great course. The instructor does well in explaining how his lines of code interact with each other, and the pacing allows you to quickly see results.
By Reynaldo Navedo on 1/18/2024
I definitely like his style and the clear way he explain things.
By Christian Nlandu Mbela Nguayila on 12/17/2023
I like the fact that there are no frameworks and libraries, just vanilla javascript. Also, the explanations are clear and simple.
By Luz Enith Martinez on 5/14/2023
Wow, thank you. Having the source code was a huge help cause I use to make mistakes that I'm not able to see and comparing my code really helped me to debug.
By Jose Incer on 4/12/2023
The instructor is very knowledgeable and explains the lesson with great detail.
By Daniel achlakian on 2/19/2023
Thank you for all the amazing videos that you upload on Youtube, you are a Great Teacher!!
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 94 / 100








