I want a pokemon to follow a sprite, so how? Please put you answer in blocks if you can.
Offline
First make sure that when you press up it will change direction, NOT costumes(Well it can change costumes but the costumes can only be something like a walking costume not an up, down, left, or right.)
Now make a variable where 1 = up 2 = down 3 = left and 4 = right
Put this in the pokemon:
When green flag clicked
forever
point in direction (direction of player)
if direction = 1
go to x position of player y position of player - 20
end if
if direction = 2
go to x position of player y position of player + 20
end if
if direction = 3
go to x position of player +20 y position of player
end if
if direction = 4
go to x position of player - 20 y position of player
end if
end forever
Offline
You could do it a much simpler way. Just make the sprite you want to follow, put Go to Sprite whatever, change x by - (about 30) or Glide to x whatever and y whatever. And put it forever (if you want to do it forever) or repeat until (your choice). But if the leading sprite changes a direction then you should change the y for the following sprite. This may or may not work (I just pictured your problem in my head
). Hope this helps! Good luck!
Offline