Code Space Invaders in P5 [Learn to Program in Javascript] - Step 4 of 4

Опубликовано: 28 Февраль 2026
на канале: World Class Tech Ed
1,983
38

This is the fourth and final video in a series, in which I demonstrate, step by step, how to create the classic game: Space Invaders. In this video we create the Laser class, add collision detection and add the scoreboard. I am using P5, which is a Javascript library and online editor. #p5 #javascript #spaceinvaders

P5 is a great tool for learning to code. The online editor can be found at https://editor.p5js.org

If you missed the first videos, you can find them in this playlist:    • P5  

I am a high school teacher with 20 years of experience teaching kids and young adults how to program. I love to teach Javascript, Web Design, Game Development, Java and LOTS of other stuff. If you learned something from this video, consider subscribing. I add new videos all the time.

Have a GREAT day!