GM:S 1.x and GMS 2 compatible.

This asset provides you with 4 different types of AI for your Top Down games! The code is all neat and well commented for easy understanding.

Preview: Click here for an online preview

AI included:

  • Roam: walks around randomly with no real purpose
  • Patrol: patrols an area by walking back and forth between two points
  • Path: follows a custom path of your design
  • Search and Destroy: finds the target from anywhere in the room with no restrictions

Can be easily implemented into your game with quick setup variables to allow changes to the enemies' main settings such as range and speed without having to search through all the code. This includes whether the enemies have a customizable cone of vision based on where they're looking or whether they have a full circle of vision around them. Or you can fully edit how the enemies behave yourself.

End User Licence Agreement (EULA).

Changes in 2.0.0

  • Remade from scratch

  • Cleaner code

  • Improved path finding / motion planning

Version 2.0.0. Published April 4, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Cyril K 27 February 2019


One word: perfect. Very well thought, and well written. The code is easy to understand, allowing you to adapt it to your needs. Time saved!


jaden k 20 January 2019


Jonathan V 06 October 2018


Tyler D 27 October 2017

Straightforward foundation for enemy AI

This is a solid program that you can use as a foundation for your enemy AI and basic pathfinding. The cones and sight lines are a great addition in the debugger. For me, the only thing it's missing is that there are no melee enemies, all of them appear to be ranged. If you're on the fence about purchasing, the free preview is worth a look. You can play through the program and get an idea of what it's about. All of the code is well-commented.


Irvin M 22 June 2016

Simple and effective

Ok i just buy this set and its easy,clean and simple way to learn how to make sprite or enemy to attack you or just patrol on way you put.This is just what you need to implent in your game with own story and sprite or enemy

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top