Video Thumbnail

Unlock this lesson

Sign up for a plan to instantly unlock all premium lessons.

Unlock Lesson

Premium Features

Video unavailable for download

Spaceship Sprite Animation

We can create an animation for our spaceship in two ways:

  1. Through a sprite sheet

  2. Dynamic elements created directly within canvas

We'll opt for the second method here because it lends to a more randomized look.

  • 0:00 Feature summary

  • 0:43 Populate particles array

  • 5:54 Render new particles

  • 10:38 Spread out particles

Comments

Want to participate?

Create a free Chris Courses account to begin

S
SPURTECH posted 4 years ago

Hi Chris Ithink the lagging is the player particals but I'm struggling to splice them heres my repo link please help...

https://github.com/SPUR-TECH/space-invaders2