How Lonely Elephant Was Made

This page documents the process, code, and creative ideas behind the Lonely Elephant games. Use it as a guide to make your own fun web games!

1. Planning & Design

2. Coding the Game

3. Art & Animation

4. Adding Features

5. Tips for Your Own Game

6. Example: Adding a New Attack

// Add to your attacks array
attacks.push({
  name: 'Tornado Bird',
  description: 'Birds spin and create a whirlwind!',
  unlockLevel: 10,
  effect: function(enemy) {
    enemy.stunned = true;
  }
});

7. Resources

8. Saving and Loading Progress