Wall bouncer -  [Game Maker Studio 2 | Enemy Ai] @1upIndie
Wall bouncer -  [Game Maker Studio 2 | Enemy Ai]  @1upIndie
Uploaded January 2022 | Updated September 2026, 11 hours ago
This enemy ai tutorial shows you how to make an enemy that bounces off walls (ricochet) with only 3 lines of code in GameMaker Studio.

The idea is quite simple. You give you enemy a start speed plus a direction where to go to. Movement is now setup, the automatic bouncing work when you have a collision with an instance wall which needs to be flagged as solid. To automatically change the enemy's direction just input move_bounce_solid and viola, it does now bounce off walls

This system can be used for bullets that reflect, bounce of walls also.


πŸ‘‘ 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)



Corey Archer CC0
opengameart.org/content/top-down-pokemon-esque-sprites

--------------------------------------------------------------
0:00 What we will do
0:37 Subscribe
0:48 Theory how it works plus a setup
1:23 "Coding" part
Wall bouncer -  [Game Maker Studio 2 | Enemy Ai]Steam capsule art, what is there to know? [Marketing for Indie developers]Access data structures + arrays [Game Maker | Basics]Dead Cells style fog - The easy way [GameMaker | Vfx]GamerMaker 2023 [explained]  - quick and dirtyDraw things on top each other - Depth sorting [Game Maker | Basics]Gradient water/sea background - The easy way [GameMaker | Vfx]Gravity Storm under the hood [game design, make in GameMaker]Weapon damage [#7 Vampire Survivors Remake in GameMaker ]Gamemaker Roadmap 2024Structs - light objects [Game Maker | Basics]External Hit Animation  - Juice up any game [GAME DESIGN CODE]
1up Indie |

Wall bouncer - [Game Maker Studio 2 | Enemy Ai]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER