Skip to content
bonzaiferroni edited this page Dec 11, 2016 · 4 revisions

I wrote this framework to make it easy to implement new creep behavior. Most of the time, it is as simple as writing a new mission and adding it to an operation. Here is a quick overview of how to think of "missions" and "operations".

  • Missions are where the majority of your game logic will go: creep behavior, tower behavior, terminal behavior, etc.. These define the processes that you want your creeps to carry out.
  • Operations are just a collection of missions. They may do some logic of their own (auto-layout currently happens at the operation level), but mostly they are just a way to organize/spawn missions.

In Part 1 of this tutorial I will define our mission and operation and implement some basic harvesting behavior. In Part 2 we will make our mission more interesting by having it harvest from all the sources in the room and carry the energy away.

Contents