This is a resource pack made for Stencyl that enables you to add combat and enemy AI to your games. It provides behaviors, which are configurable and reusable pieces of code, that enable your actors to attack, manage health and energy, customize any number of special skills and a robust AI system with which your actors can check for specific conditions in order to execute actions, both on their own and against enemies.

If you want to see some of the possibilities of this resource pack, you can play the HTML5 version of the sample game on this page.

The pack comes in two versions:

  1. Luyren's Basic Combat Pack is the free version. It contains only basic melee and ranged attacks, health and energy management, 8 way movement, raycasting and only the Patrol behavior for AI.
  2. Luyren's AI and Combat Pack is the full paid version. Along with all the behaviors of the free version, you have the Command List behavior to configure any number of actions and control inputs for your actors, Get Enemy Actors, to allow actors to detect enemies within range, Action Manager to create a full hierarchy of actions the AI can perform, each with their own conditions, and several other AI behaviors. 

Both versions come with sample games you can import into Stencyl, in which you can see how each actor is configured, as well as a comprehensive documentation file. Both versions support side-scroller and top-down games, including mouse and analog inputs for aiming and 8-way movement.

This is compatible with all my other resource packs, and the documentation includes instructions on how to update the behaviors with features from those resource packs, such as RPG elements, special effects and cutscenes.

Happy Sencyling!


Buy Now$15.00 USD or more

In order to download this Stencyl resource pack you must purchase it at or above the minimum price of $15 USD. You will get access to the following files:

Luyren AI and Combat Pack.rar 15 MB

Download demo

Luyren Basic Combat Pack.rar 5 MB

Development log


Log in with to leave a comment.


Purchased. Thank you.

Appreciate it, thank you very much!