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

GML What functions do you recommend to me to explore for this game?

GGJuanPabon

Member
So far, I have only done platform games, with remote control (Up, Down, Left, Right).

But now I want to do something different.
Something like this.


It works by clicking or touching where I want to go. With 3 important points.

1) With Click or Touch I move to the point.
2) I avoid obstacles and draw the road.
3) Accurate final movement according to the final space, similar to perfect pixeler.

What functions do you recommend to explore?

I don't know how to draw the line.
I don't know how to move and stay inside a 64x64 tile and not in the middle of 2 tiles.

So far I have seen

move_towards_point (xx, yy, spd);
distance_to_point (xx, yy)

Thanks any help
 
Top