What makes a great game? Is it about beautiful, polished visuals or engaging gameplay that feels responsive? Could it be about unique ideas, special secrets, and Easter eggs? This course explores the essential ingredients of a perfect game development recipe.
Course Overview
In this class, we will dive deep into sprite animation, interactivity, and 2D physics. You'll learn 10 important techniques every game developer needs to know, applying them in a real project. By the end of this course, you'll have a solid foundation in game development.
Course Materials
Students will receive a wealth of 2D professional high-resolution game art for free. This includes environmental and character art assets as ready-to-use sprite sheets. You'll also get source files with separate pieces, perfect for editing colors, creating your own mushrooms and creatures, or rigging your own animations.
What You'll Learn
- How to implement a simple AI to make creatures feel alive.
- Ways to control the FPS of your game and measure time to trigger periodic events.
- Methods to restart the game by pressing a button.
- Techniques for applying collision detection to resolve collisions and simulate physics.
- Using the built-in
drawImagemethod to create randomized game environments and animate characters from a sprite sheet. - Capturing mouse positions to animate an 8-directional sprite sheet based on the relative position between the mouse and the player character.
- Building a game from scratch using HTML5, CSS3, and plain vanilla JavaScript without relying on external frameworks or libraries. You'll write and understand every line of code.
- ... and much more!
Prerequisites
This course is beginner-friendly, but existing knowledge of HTML, CSS, and JavaScript is needed. If you understand JavaScript basics and are familiar with functions, for loops, and arrays, you'll gain maximum value from this class.
Have fun and start creating your own games today! :)