B
Bas Franken
Guest
This is the code i've written now.
{
while (obj_LETTERS.x <= 800);
{
move_towards_point(800, obj_LETTERS.y, 5);
}
while (obj_LETTERS.x >=800);
{
move_towards_point(obj_doggo.x, obj_doggo.y, 5);
}
}
where obj_LETTERS is the object that is moving from the left side of the screen, and obj_doggo is the object that obj_LETTERS should move towards.
{
while (obj_LETTERS.x <= 800);
{
move_towards_point(800, obj_LETTERS.y, 5);
}
while (obj_LETTERS.x >=800);
{
move_towards_point(obj_doggo.x, obj_doggo.y, 5);
}
}
where obj_LETTERS is the object that is moving from the left side of the screen, and obj_doggo is the object that obj_LETTERS should move towards.