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

This framework was designed 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 this tutorial we will write a mission and operation from scratch. In Part 1 of this tutorial we will define HarvestMission and BaseOperation which will implement basic harvester logic. In Part 2 we will make our HarvestMission more interesting by having it harvest from all the sources in the room and carry the energy away.

Contents