enemy chasing

  1. E

    GMS 2.3+ Problems with using image_xscale on a chasing enemy.

    Hello, apologies if this is in the wrong place but I'm having a problem with the code I'm using to have enemies face the player character. Basically whats happening is if the enemy and the player character are sharing the same x position (e.g. directly above or below the player) the enemy sprite...
  2. F

    Following HeartBeasts Grave Tutorial, Enemy Chase

    Hi all, I tried to do a search and couldn't find an answer. I'm following Heartbeast's tutorial on his 'Grave' program and I've run into an issue where the enemy will follow in one direction but won't attack. If facing the other direction, it will attack but not follow. I've looked over his...
  3. KPJ

    enemies overlapping? (GMS2) (SOLVED)

    Hi all. I have an issue in my top down game where enemies move toward the player. When there is more than one enemy, the enemies overlap and look like one. Here is my code: //Enemy Create grid = mp_grid_create(0, 0, room_width / 32, room_height /32, 32, 32); mp_grid_add_instances(grid, oWall...
  4. P

    Enemy chasing for platformer

    Hello everyone. I am currently trying to make a platformer game where the enemy chases the player within a specific range. The issue I am currently having is that while it certainly works, it also applies in terms of the y value, meaning that if the player is above (or below) the enemy, it will...