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

  1. edmortis

    GML Leaving, exploring, and resuming a path

    I have a 2d underwater game where I want the player character to walk left and right along a set path on the floor, EXCEPT when they hit “jump” to swim, then it will be kind of like Mario swimming mechanics UNTIL the player “sinks” and touches the path again, at which point they will resume...
  2. 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...
  3. 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...
  4. T

    Need help stopping an NPC at the middle of a path

    So i've been following this tutorial on NPC paths : and successfully made the base obj as in the video. Here's the code(path related only): obj_NPCBase: <CREATE EVENT> //Path Target = instance_create(x,y,obj_target); Path = -1; <STEP EVENT> if(Path != -1){ dir =...
  5. D

    GameMaker Path generation without V shapes or X crosses.

    I am creating random paths of a specified length in a rectangle. The goal is a dynamic tower defense map. (ie, there is a path for the bad guys to follow, and space in between paths to put towers.) I have a mostly working Path generator. Generally speaking, a path is created without a major...
  6. F

    GameMaker path_assign(mypath,path) not functioning, help please anyone?

    Obj_jack_Oshimatao_prop1: Create event: audio_play_sound(mus_music_normal,100,1) mypath =path_add() path_assign(mypath,pat_path_required) path_speed =8 path_completed =0 image_index =0 sprite_index =spr_jack_oshimatao_walking_south_east image_speed =4 alarm[0]=4 Alarm 0 event: if direction ==...
Top