Lesson 06 of 08

Boom! Hits, Score, and Lives

When a laser touches an alien, make it explode and add points. Give the player 3 lives, and end the game when the aliens reach the bottom. This is collision detection — the heart of arcade games.

⏱ 12 min read
Video coming soon
The written lesson is below. Video walkthrough publishes shortly.

When a laser touches an alien, make it explode and add points. Give the player 3 lives, and end the game when the aliens reach the bottom. This is collision detection — the heart of arcade games.

The video walkthrough is coming soon. In the meantime, this lesson covers the topic from first principles, step by step.