title: Cocos2d how to make one sprite following another sprite?
body: <p>I have a maze game that using cocos2d
  I have one main sprite that can save "friend" sprite
  Once "friend" sprite collide with main sprite, the "friend" sprite will follow main sprite everywhere.
  Now I dont know how to make "friend" sprite follow main sprite with static distance and smooth movement.
  I mean if main sprite going up, "friend" will be at behind the main sprite.
  If main sprite going left, "friend" sprite will be at right of main sprite.
  Please help me and share me some code...</p>