View on GitHub

ka-projects

Documentations for my Khan Academy projects.

Battle System (WIP)

Battle Flow

Battle flow is controlled in turns. Enemies are placed based on their position in the battle’s corresponding enemy map.

The player plays first, choosing one of their unlocked and available battle actions.

Then, the enemy or enemies play their move(s) that’re specified in their enemy IDs.

This turn-based combat system proceeds until either the player successfully flees, or the player/enemy dies without it being a fake.

Table of Contents

  1. Battle Flow ⬅ You’re Here
    1. Starting a Battle
      1. Positive
      2. Neutral
      3. Negative
    2. Battle Actions
      1. Weapon
      2. Defend
      3. Heal
      4. Taunt
      5. Flee
      6. Hint
      7. Pass
      8. Collect Weapon
    3. Death
      1. Normal
      2. Mythic
      3. Super-Mythic
      4. K.O.
      5. Fake
      6. Fair
  2. Config
    1. Player
    2. Enemy Map
    3. Enemy
    4. Battle
      1. Battle ID