The annoying teleporter [Game Maker Studio 2 | Enemy Ai] @1upIndie
The annoying teleporter [Game Maker Studio 2 | Enemy Ai]  @1upIndie
Uploaded January 2022 | Updated September 2026, 16 hours ago
This enemy ai video tutorial shows you how to make a randomly teleporting enemy that that doesn't spawn on walls in GameMaker Studio.

The idea is quite simple. You need to define at the start a radial spawn circle and save the first x,y coordinates where the instance has been placed. This area defines possible spawn locations. Now run down a timer and when that reaches zero we try to teleport the enemy in a random x,y coordinate in that possible range. Here we check multiple times if that spot is not blocked by a wall instance and if no, we set the x,y coordinate to the random new positon. That's it!



πŸ‘‘ Support me and get fresh game art and game maker projects every month:
patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: instagram.com/1upindie
🐦 Twitter: twitter.com/1upIndie
πŸ’¬ Discord: discord.gg/gvr98nb
πŸ“œ Udemy: udemy.com/course/become-a-video-game-developer-with-gms-23 (See youtube about page for discount)


--------------------------------------------------------------
0:00 What we will do
0:44 Subscribe
0:55 Theory of how it is done
2:15 Coding part
9:05 Game shown - Batbarian
The annoying teleporter [Game Maker Studio 2 | Enemy Ai]How to make a platformer in Gamemaker (the easy way) #5Loops - How they work [Game Maker | Basics]Dune spice wars, Alwas Awakening, Witchcrafty,  A Retired Mens Nude Beach Volleyball League reviewMana sparks effect [GameMaker Studio 2 | Vfx]How to use the Particle System [Game Maker | Basics]Make a game look better [Super Demon Survivors devlog #1](Code) snippet - The code wizards way [Game Maker | Basics]Easy to do tileset collision [Game Maker Studio 2 | Basics]Turbo Overkill, Incision, Blood West [Lazy reviews]Gamemaker Studio 3 - Pricing + Better Free version(De)-activate + spawn enemies around player [#9 Vampire Survivors Remake in GameMaker ]
1up Indie |

The annoying teleporter [Game Maker Studio 2 | Enemy Ai]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER