• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

chase

  1. xS89Deepx

    GameMaker Need Little Help?

    If player facing enemy, ENEMY stop moving, if player facing backward and enemy start moving.
  2. mafon2

    Legacy GM Is it a legit chase script?

    I'm prototyping Pac-Man clone and wrote simple chase script, but it has 2 strange quirks: 1 - o_enemy don't want to chase o_player, it chases o_levelstart for some reason, though o_levelstart has nothing to do with the script or any object in the project, it used to draw a grid, I had to stick...
  3. G

    [SOLVED] Getting Objects to Chase after Different Enemies

    Hey guys, Startin' to get lazy. Instead of spending time trying to figure this out on my own, I decided to come to the forum. I want multiple characters to chase after different enemies, but right now when there are multiple characters in the room, they all chase after the same enemy. How can I...
  4. D

    (SOLVED)Is there a way to make an enemy hold the player's X and Y value after losing line of sight??

    So is there a way you could make an enemy remember the players last known position so that when the enemy loses it's line of sight it will move to the players last know position. I know how to get the players x and y i'm just not sure how I could make then enemy update the players position.
  5. D

    (SOLVED)How can you make an enemy only see you when its facing you?

    I have a line of sight script set up that works fine but the issue is my enemy's can see me even if I'm behind them, they just instantly turn round and face me. How could I make them only go into there alert state when facing me?
  6. S

    Enemy Detection

    I'm trying to figure out enemy detection mechanics but can't get it quite right. I have it where if the player is within a certain distance and there is no wall or obstructions, then the enemy will follow if (distance_to_object(oPlayer) <= 256) { if...
  7. T

    Legacy GM 2D Platformer zombie that can jump and chase you

    Hello there. I have not been coding for so long, so be with me here. I wanted to make a zombie that follows the player on a 2D level. and whenever it gets close to a wall, it jumps. However the problem is that the zombie's code for gravity makes it jump rapidly because the code doesn't stop it...
Top