• 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!

pathfind

  1. M

    GameMaker Problem with diagonal pathfinding with obstacles.

    Hello, I am trying to implement pathfinding in GMS using mp_grid. The idea is simple : when a player presses the LMB, the character moves to the target location. The code works, but unfortunately my character only moves diagonally when there is no adjacent obstacles. I want my character to chose...
  2. Evanski

    Released Evanski's Wayfinder

    Wayfinder is a single object and script, designed to make dynamic and simple use of pathfinding grids. How to use Simply drop the object into your first room, set the object to know what size of cells you want for the grid to use, and what layer you want it looking for collisions on. You can...
  3. R

    Legacy GM Path find to moving object

    Hello! I made an experiment with pathfinding. Top down rotationg objects (player and AI) moving. My goal is to "force" the AI to move the left or right side of the player (wich is closer), and stop if it reaches the right point. I use mp_potential step, what serves great until i attempt to...
  4. J

    Star Trek turbolifts with pathfinding

    Hello, fellow programmers! I have a bit of troubles with my turbolifts. I have done pathfinding which i need becouse of the number of stops (something about 46 stops/floors). ///turbolit create event xx = x; yy = y; tfloor = 1; path = path_add(); ///turbolift press enter if tfloor = 1{ xx=...
  5. Z

    Draw Path Plane

    Sorry for the bad image Red Circle is the Object Number represents the length of the path with its color 64 Range - Green 128 Range - Yellow 198 Range - Red In your LEFT you see a different Paths, drawned if you use the code draw_path then use path_get_length and draw_set_color to change the...
Top