GameMaker: Turn-based battle engine

Today I've spent some time making this intermediately impressive turn-based battle example.
It supports infinite number of unit "teams", configurable properties, inheritance, and more.

Built-in system will also attempt to reduce chances of developer (you) accidentally messing up something.
And there's easily configurable AI built-in too.

Overall, I somewhat got carried away while making original example, which was planned just include turns with unit selection.

Download GMK

Related posts:

6 thoughts on “GameMaker: Turn-based battle engine

    • You would need to modify o_unit’s Step event to use mp_potential_step or something else in the branch that says “a step towards target”.

  1. Nice engine! Been looking for something like this.
    Quick question though, do you know how AoE attacks could be implemented?

    • You would need to make a different version of “o_projectile” that has it’s Destroy event not just reduce target.life, but also pick through nearby units. Explanations on the general idea can be found in large quantities on forums.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.