-
Notifications
You must be signed in to change notification settings - Fork 41
bonzAI Quickstart
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 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.
- Part 1: Writing your first mission and operation
- Part 2: Making HarvestMission better (Coming Soon)