StarterVillage

Week 3

Sword and Slime

Part of Make Your First Mini-Game.

Now the game gets a point. A slime wanders the forest, and your learner gives the hero a sword to defeat it. Building the attack and the enemy together creates the core loop that every action game is made of.

What this class covers

A slime in the forest
A slime moves into the forest and wanders around, the game's first enemy.
The hero's sword
Your learner gives the hero a sword to defeat the slime.
The core loop
Attacking the slime and defeating it creates the core loop that every action game is made of.

Bonus challenges

Optional, just-for-fun challenges to try on your own between classes. Never needed to keep up.

  1. Add a second slime.
  2. Give the slime more than one hit to defeat.
  3. Change the slime's color or size.