path

  1. sercan

    Android / Amazon Fire Android SDK path cannot be found

    Suddenly Game Maker stopped finding the SDK folder in the determined directory. I am pretty sure the path is set correctly. I have changed nothing but it started to do this. I changed the location of SDK folder but still didn't work. I hope anyone faced this issue and has a solution.
  2. JEMcG

    GML Is it possible to pull information from a path then move it towards each point manually?

    Hello! So I have been wrestling for some time with pathing. I'm trying to make a game where the player can choose whether to use keyboard or controller movement (which works just fine) or mouse movement. For mouse movement so far I am using an mp_grid and mp_grid_path to do the movement. This...
  3. S

    SOLVED place_meeting collision detection flip-flopping between true and false, with the same value

    I'm working on a little top-down RPG kinda game. And am making a path-finding system for npc's. Cutting the fluff, i'm having trouble with some collision detection. I was debugging for several hours until i narrowed my problem down to this. What you're looking at here. Is a path generated with...
  4. JEMcG

    SOLVED Problem with changing/deleting paths

    Hi, I've been making a click to move system (that works alongside keyboard movement), which works other than one irritating bug. When I click a path is made and I use mp_grid_path to move the character. I've linked this to the animation system. When the character reaches their destination...
  5. Fluury

    GML Having an instance follow a path starting from a specific point in said path.

    Heya! I've got an issue I need to deal with, but sadly can't put my finger on on how to tackle it. I have a path made up of several points. For each of these points, I sometimes spawn an instance on the exact x/y of said point. This works fine. When the player enters the range of the...
  6. Aardvark

    GMS 2 Control a player object along a path

    Hello everyone! I was wondering if there is a way, for a player object, to move along a path? But not to follow the path automatically. For example, I would like for the player to move the object along a prescribed circular path with the analog stick of a game pad : I tried to define a path...
  7. Genesys Generation

    How to predict the lap time?

    I have a racing game. In this game the cars run on a circuit and at the end of this circuit the lap time is calculated. The lap time and estimated lap time are calculated as follows: lapTime=timer+distance/velocity; lapEst=(10/velocity)*84; The distance being calculated in this way...
  8. R

    Path and image angle and direction? How do I combine them?

    So I have a path set... and I have my object on the path... and I have the sprite set to go along with it... How do I make the image rotate to follow the path it is going on? It seems like there is just something easy I am missing but for the life of me I haven't been able to find the correct...
  9. hughrock18

    GMS 2 [SOLVED] How to truely STOP a path

    Hello everyone. I appreciate you coming in to check on this thread. I've been working with GMS1.4 for the longest time, and now GMS2 (for a total of roughly 5 years of working with gamemaker as a whole). In all this time, I've ALWAYS written my own movement code. I've never, once, used the path...
  10. A

    [Solved] Issues with Paths, Direction, and Animation

    For context, I'm working on a top-down, tactics-style game. While the player is in battle, they pull up a menu, and to move, the player selects "Move" from the menu. From there, a grid selector is created, and each time the selector moves, it adds a new point to a created path. When the player...
  11. wilmer

    Legacy GM Undo and redo the points of a path

    Greetings to all I have this doubt, in a Room I have several instances of objects that function as levels that when clicking click access to a different level and under those objects I have an open path with 46 points as if it were a path, as well as "Candy Crush", This is only for something...
  12. Y

    GML using place_meeting() in combination with a path to call its index

    Hello community, I am looking to program the following: - When object instance "A" crosses the position of a path in the room, recognize it and give me its index. The idea I have is to put objects (platforms) on top of a Path that I created within the room editor so it will recognize said...
  13. M

    Difficulties creating a ghost dash

    Basically I am trying to replicate a ghost dash from another tutorial. The difference is that in the other tutorial he was actually teleporting the object to mouse_x and mouse_y and therefore it's easy to call for the x and y positions of the mouse when creating the path for the dash. In my case...
  14. Genesys Generation

    Cars bouncing/jumping by completing each lap

    When I use the function path_start like this: path_start(circuit,velocity,path_action_continue,true); When completing each lap the cars kind of jump (I don't know if it's the right term in English), see the image below (I couldn't upload straight here, because the image is a gif)...
  15. shrunkenmaster

    [SOLVED] Help with ds_list to select random path without duplication

    I'm trying to work out how to place one enemy on each of the paths I have. I used a switch to select a path which works fine, but I can't figure out the ds_list to select 4 random, but different, numbers. Eventually I'll have more paths than instances. Very new to this, so any guidance would...
  16. shrunkenmaster

    Object and path not in correct x y coordinates

    Hello All, New to GMS2 and am having a problem with an object and its path, so I'm displaying the player xy position and the enemy xy position on the screen to help figure this out: Enemy is following a vertical path and displays x as 120 ,but if I move the player to the same horizontal...
  17. T

    GMS 2 Issues with paths

    Very new to GMS as a whole, just completed the DnD breakout tutorial. Decided I'd stick with that game a little longer to practice some stuff, and worked on adding new powerups. The one I'm currently working on is supposed to make the bat move slightly upwards in a smooth motion, then return...
  18. LWDIV

    [SOLVED] Path Tool (GMS2)

    I need help by solving the error: ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Key Press Event for <Space> Key for object object0: Unable to find any instance for object...
  19. T

    GML How to share the path function to multiple objects ?

    I want to make a path function in a parent object so the child object could use it to.I've tried many things but it seems the path function could only apply to one object at a time. Luckily i've stumbled upon this tutorial: If you don't have the patient i'll expain: Basically the guy told...
  20. T

    GMS 2 [SOLVED] Problem with path_position, while, and x/y coordinates

    Hey guys! I stumbled upon a rather strange behavior of GMS2 regarding paths, path_position and x/y coordinates. Following scenario: I have an "obj_player" that can move 2D platformer style. A second object, called "obj_pathpos" (for path position) is assigned to path "pat_test". pat_test goes...
Top