Uploaded June 2025 | Updated November 2026, 3 hours ago
Want smarter AI without writing a messy state machine? In this tutorial, Iโll show you how to build a clean and reusable behavior tree system in GameMaker using just two node types: DecisionNode and ActionNode.
Weโll walk through creating a basic enemy that can:
- Check if the player is near
- Attack if healthy
- Flee if low on health
- Patrol if the player isnโt nearby
This system is simple, readable, and easy to expand for more advanced AI behavior.
Perfect for beginners and pros looking to make modular enemy logic in GML.
๐ฆ Download the full script and diagram: github.com/GamemakerCasts/behaviour-trees
๐ฆPatreon patreon.com/posts/making-smarter-131636795?utm_content=join_link
Want smarter AI without writing a messy state machine? In this tutorial, Iโll show you how to build a clean and reusable behavior tree system in GameMaker using just two node types: DecisionNode and ActionNode.
Weโll walk through creating a basic enemy that can:
- Check if the player is near
- Attack if healthy
- Flee if low on health
- Patrol if the player isnโt nearby
This system is simple, readable, and easy to expand for more advanced AI behavior.
Perfect for beginners and pros looking to make modular enemy logic in GML.
๐ฆ Download the full script and diagram: github.com/GamemakerCasts/behaviour-trees
๐ฆPatreon patreon.com/posts/making-smarter-131636795?utm_content=join_link







![GameMaker Studio 2 - Plugin Review - Bulb (Lighting Engine)
Bulb is an amazing light weight FREE lighting engine for GameMaker Studio 2. With a little bit of work you can make your own games look fantastic with this small engine.
Id also like to apologize in advance.... I didnt know I was NOT recording my cursor, and I have fixed this :
Plugin: https://github.com/JujuAdams/Bulb
Patreon: https://www.patreon.com/gamemakercasts
Source Code: https://www.patreon.com/posts/plugin-review-49047446
[ OVERVIEW ]
# 00:00 Introduction
# 00:22 Source code
# 00:48 Installing Package
# 01:38 Bulb Render (Engine)
# 02:10 Room Setup
# 02:25 Bulb Render (Engine)
# 03:24 Player Lighting
# 05:55 Static Occluder
# 05:58 Room Building
# 06:24 Testing Lights
# 06:50 Dynamic Occluder
# 07:16 Adding Lights
# 08:29 Changing Ambient Color
# 09:40 Thank you
# 09:57 SORRY
# 10:05 THANK YOU AGAIN! GameMaker Studio 2 - Plugin Review - Bulb (Lighting Engine)](https://i.ytimg.com/vi/WiMcbSdB51U/mqdefault.jpg)


