hobune Channels Contact About Donate

GameMaker - Basic Enemy AI

Description YT

--- Episode 5 – Basic Enemy AI (image_alpha & mp_potential_step)
This week, we give our player 'health' and give our targets the ability to drain that health, then we set our targets on the war path! This is the start of a 3 video 'sub-series' looking at various simple AI options.

--- Quick Links:
00:05 - Intro
01:35 - Player HP
03:14 - 'Killing' the player
02:48 - Global variables
04:24 - Decreasing a variable (health) on collision
05:10 - First test
05:21 - Working more with the draw event
05:58 - Second test
06:30 - mp_potential_step
09:37 - Final Example

--- GameMaker: Studio
GameMaker: Studio by YoYo Games is a fantastic free software (with premium paid options) for creating video games in an easy to use workspace. Get it here: https://www.yoyogames.com/studio

--- Music Credits:
"Ouroboros" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/