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

path

  1. Nathan Laing

    Legacy GM Drawing multiple textures along a single path

    Greetings, Is it possible to draw multiple textures along a single path? The most excellent "Ribbon Project" shows how to draw a single texture along a path and even alternate between this single texture--however, I would like to able to draw a mix of textures in a random pattern, say, like...
  2. L

    Legacy GM I need some help with player controlled object in a path

    Hi guys! I need some help with my game, hope someone can help me out. I try to make a player-guided platform, which can move along a pre-determined path indefinetly. I think maybe it works with paths, but I can’t figure it out, how. My goals are: the player have two inputs (like GO LEFT/GO...
  3. A

    Make an object move x amount of pixels but before detect for solid object

    I would like to make my own pathing algorithm as I find the current options pretty limited because as far as I know there is no option to A) stop moving as soon as you hit solid object B) no option to only move a number of iterations between the path before stopping. Example lets say your...
  4. A

    3D 3D extruded path

    Is there a way to take a 2D outline and extrude it from the Z axis to make it have height? Say I make a 2D Path. Now can I take that path (or maybe just its points) and create a "3D wall?" This wall would have width and height. The goal of this is to create a 3D border with a unique shape. What...
  5. mar_cuz

    GameMaker Follow Y value of path only

    Hi All, Is it possible to have an object follow the Y axis of a path only while following the x axis of another? say I have a half circle and the path follows the curve of the circle. I want the object to move along the x axis of the straight line but its Y axis to follow the curve of the...
  6. A

    Pathed objects will go through dense objects

    pathtwo = path_add(); mp_potential_path(pathtwo, xxx, yyy, 1, 32, 1); myPath=pathtwo; path_start(myPath, 16, path_action_stop, 0); Here is my code. I am trying to make it so that this object won't collide with objects including same objects. If this is right maybe I didn't set up physics...
  7. S

    object start path when in view (solved) but new issue with object leaving view

    How do you make an object start a path once it is in view? I've got a boss that I want to follow a path once the player reaches it but it's not working right. I've got the path code in "intersect view 0 boundary" but it's not following the path when the player gets there but since the start...
  8. A

    Orient object's rotation to path

    Is there a way to make an object rotate as it goes along the path's curvature? For instance, if a path curves up, then the object will curve up as it hits that part of the path. Also, my objects have 0 speed, so can this be done without using the direction from speed relationship? Edit: by...
  9. A

    A passive skill tree

    Hello guys, My top-down RPG is going pretty well, I want to make a passive tree similar to Path of Exile, - with levelup you gain passive points allowing you to spend in the tree (which is a room menu) - BUT you have to start from the center and choose points connected to each other ! ie. make...
  10. T

    GameMaker Assign several instances of an object to different paths

    Hej everyone. As the title already states, i would like to assign several instances of an object to different paths i set. Lets say i have an "enemy" object which has a specific behaviour: It follows a defined patrol path. If the player comes near the enemy, the enemy starts chasing the player...
  11. A

    Windows Can't build project.Can't find part of the path Z:\...

    Greetings, I just reinstalled Game Maker Stduio 2 and I got this error:Could not find a part of the path:Z:\GMS2\.... If anyone knows a way to fix this,the help would be very much appreciated.
  12. B

    Path_add always reversing

    I've been having some problems with the path_add() function, i'm getting very irritated because every time the path is finished, it reverses back to the first point, how do i stop it from doing so? k = path_add(); path_add_point(k,x,y,100); path_add_point(k,0,0,100)...
  13. J

    [SOLVED] Change sub-image in path

    You can change the sub-image of an object that's on a path, can't you? My code doesn't seem to be working. I want to change the sub-image based on which direction the object is moving in the path --- up, down, left, right. This is in the create event: image_index = 1; image_speed = 0; This is...
  14. M

    Legacy GM Find the closest object to the end of a path.

    I am makeing a tower defense and I want to target the object closest to the end but i can't figure out how to do it, please help.
  15. R

    GameMaker Paths and Path Following Using Drag and Drop

    GM Version: GMS 2 Target Platform: ALL Download: N/A Links: N/A Summary: Object path and path following using drag and drop methods. Tutorial:
  16. L

    Tower Defense End of Path Problem

    I'm making a tower defense game. But I have a problem. When my enemy get to the end of the path I want to know how to switch the room to a death or title screen. I tried doing if(o_enemy end_path(room_goto_previous)) but it gave me errors. If someone could reply to this with the code for game...
  17. H

    Paths not turning?

    I'm new to paths, b/c I just started on level design and story of my game (before I was working on mechanics) and I have a non-curving path that goes straight right, then straight up. However, my layer decides to go right forever, and not stop to go up. I tried setting a friction and changing...
  18. S

    Change path of an object at a point

    An object is moving on a path0. There is another path 'path1' close to path0 at x=a; y=b. How to change the path of the object from path0 to path1 at (a,b) ?
  19. S

    Change path of an object at a point

    An object is moving on a path0. There is another path 'path1' close to path0 at x=a; y=b. How to change the path of the object from path0 to path1 at (a,b) ?
  20. Sawyer

    Path stop after his first movement

    Hello everyone, I have one problem with my paths, this is my code : if distance_to_object (o_player) <=100 { path_start(P_up_when_near, 12, path_action_stop, false); } Actually when i'm near to this object it moves and stop following the path. However if i move a second time near of this...
Top