Q
Quotentickles
Guest
So I know the basics of this type of movement option, you click on the screen and the player object moves, the lower the speed the slower they go
but does anyone have a thread or a video they could link me to so I could deal with things like path finding and collision with walls and objects? I really wanna make it a little Lucas Artsy
GML:
if (xx != mouse.none && yy != mouse.none) {
move_towards_point(xx,yy,spd)
} else {
speed = 0;
}
if (distance_to_point(xx,yy) < spd + 2) {
xx = mouse.none;
yy = mouse.none;
}