How do I: Stop enemies from shooting through walls? @GameMakerCasts
How do I: Stop enemies from shooting through walls?  @GameMakerCasts
Uploaded February 2021 | Updated November 2026, 3 hours ago
In this short video lesson we take a look at a very simple, yet EFFECTIVE method that we can use to stop our enemies trying to shoot us through a wall.

This video assumes that you are using a object to detect collisions (walls) but you could transform it to use tiles as well if needed.

Patreon Support: patreon.com/gamemakercasts
Discord: discord.gg/BZdsGa34
Download Project: dropbox.com/s/u3zowqt7pe721e0/Wall-Shot-Detection.zip?dl=0

Finished project can be found on the Patreon post at patreon.com/posts/47799624

[ Contents ]
# 00:00 - Introduction
# 00:27 - Explanation
# 01:10 - Room & Object Setup
# 01:26 - Editing our Enemy
# 02:05 - Adding a new collision detection
# 02:42 - Testing
# 03:17 - Thank you!
How do I: Stop enemies from shooting through walls?Space Shooter Series - 03 - Starfield with ParticlesLevel Editor - Episode 4 - LightingGameMaker Studio 2.3.3 - Optional ArgumentsTransition System using Sequences in GameMaker Studio 2.3Tower Defense in GameMaker Studio 2.3 - Episode 2 - UIBetter footsteps in GameMaker Studio 2.3 (Sprite Broadcast)GameMaker Game Review: NomadSimple Lighting System in GameMaker Studio 2Water Reflection - Surfaces and Layer EffectsSnowState - A robust finite state machine for GameMakerAdding Stacking to the Simple Inventory System in GameMaker  - Tutorial
GameMaker Casts |

How do I: Stop enemies from shooting through walls?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER