Hello, I wanted to test how to move around. Traget is to move my player object to
another object into its center.
It moves to the lower left corner and I am not sure how to calculate the correct place
(center of obj_field5). Obj_field5 has sprite of 64+64. I guess I have somehow to
change my if statement away from >0 to the center (32/32). I just can't figure it out.
another object into its center.
Code:
if(distance_to_object(obj_field5)>0)
{
move_towards_point(obj_field5.x, obj_field5.y, 3);
}
(center of obj_field5). Obj_field5 has sprite of 64+64. I guess I have somehow to
change my if statement away from >0 to the center (32/32). I just can't figure it out.