• Post category:StudyBullet-15
  • Reading time:5 mins read


Make interactive animated games from scratch. This time with space bugs, lasers and asteroids!

What you will learn

Learn how to animate game characters

Build a browser based game from start to finish

Explore the basics of game design

Create multiple different enemy types with different visuals and behaviours

Implement 3 weapon types and boss battles

Write JavaScript code from scratch with no frameworks and no libraries

Description

Old is gold. Let’s get inspired by the classic games from the 80’s and add our own graphics and game features. Explore the interstellar void and use 3 different weapon types to burn through swarms of space bugs of different types, some larger than the others.

We will start with a game loosely inspired by the classic Space Invaders arcade and we will experiment with different additional features such as boss battles, super weapons and different enemy types.

Let’s explore object oriented programming with JavaScript and implement a useful set of basic 2D game development techniques such as object pool design pattern, sprite animation, timing and staggering techniques using timestamps and much more.

Don’t forget to download all the bonus gifts. Students of this course will get a pack of premium quality 2D game art, this time in a sci-fi space theme. You can also download the source code from multiple stages of the project, as we gradually add more features.

We will implement multiple enemy types:

Beetlemorph – basic enemy, 1 hit is enough


Get Instant Notification of New Courses on our Telegram channel.


Rhinomorph – armored enemy, multiple lives, multiple damage states

Mantismorph – massive boss size enemy, increasing pool of lives

Eaglemorph – when hit, it will sacrifice a body segment and it will spit it back

Squidmorph – unknown alien bug, use everything we learned to implement your own unique enemy type

Have fun!

English
language

Content

Introduction

Introduction
What will we learn? (Project features)

JavaScript Space Invaders

Project Setup
Game and player objects
Keyboard controls
Object pool
Enemy waves
Collision detection
Counting score and drawing game text
Game restart method
Beetlemorph enemy class
Sprite animation explained
Animation timing
Player animation
Extra features: Armored enemies
Rhinomorph enemy class
Extra features: Boss battles
Boss class
Boss movement
Boss vs player collision
Extra features: Super weapons
2 laser classes
Laser damage
Resource management
Eaglemorph enemy class
Enemy projectiles
Projectile interactions
Squidmorph enemy class