GGJuanPabon
Member
I would like to have an idea, that some expert illuminate me of what are the functions that I should use to draw and put styles.
I have an object that goes from position A to position B, when I click the object draws the path, and goes to the position of the Click if it is free. So far normal, it works well.
However, the route you draw is painted as part of the object, I mean, draw the route well and the object follows the route well. But the drawing of the route is static and moves with the object.
1) I would like the object to travel the route and as the object travels the route, the route is gradually erased.
I have this drawing.
draw_path(path, x, y, false);
draw_self();
And
draw_set_alpha(0.3);
mp_grid_draw(global.grid);
draw_set_alpha(1);
2) Once I managed to draw the route, I would like to add some style.
This is an example, which I want to reach, a beautiful line draws the path my player will have
I have an object that goes from position A to position B, when I click the object draws the path, and goes to the position of the Click if it is free. So far normal, it works well.
However, the route you draw is painted as part of the object, I mean, draw the route well and the object follows the route well. But the drawing of the route is static and moves with the object.
1) I would like the object to travel the route and as the object travels the route, the route is gradually erased.
I have this drawing.
draw_path(path, x, y, false);
draw_self();
And
draw_set_alpha(0.3);
mp_grid_draw(global.grid);
draw_set_alpha(1);
2) Once I managed to draw the route, I would like to add some style.
This is an example, which I want to reach, a beautiful line draws the path my player will have
Last edited: