Jump to content


Photo

Pokemon Yellow Type Movement ?


  • Please log in to reply
5 replies to this topic

#1 Aze

Aze

    GMC Member

  • New Member
  • 4 posts
  • Version:GM8

Posted 21 July 2012 - 06:49 PM

Alright so I'm making an adventure time 8-bit game with the same kind of engine as Pokemon yellow. Now my question is, how can I make Jake follow Finn in the game like Pikachu followed Ash in Pokemon Yellow ? Any help would be great, coding or drag n' drop are both appreciated!
  • 0

#2 tonster1001

tonster1001

    GMC Member

  • GMC Member
  • 31 posts
  • Version:GM8

Posted 21 July 2012 - 07:22 PM

Download "The Dude's Library Platinum" it has a function that makes one object follow another at a set speed.
  • 0

#3 Davve

Davve

    Procrastinator

  • GMC Member
  • 3665 posts
  • Version:GM8.1

Posted 21 July 2012 - 07:33 PM

Whenever the player is about to move a square, store the player's position and direction in a variable, and then make the follower move towards the same square and face the same direction.
  • 0

#4 Rusty

Rusty

    The Rustic One

  • GMC Member
  • 2614 posts
  • Version:GM8

Posted 21 July 2012 - 07:35 PM

Easy really, just check which way Finn is face and place Jake in the opposite direction. For example, if Finn is face right, Jake would be at Finn.x-16.
  • 1

#5 Aze

Aze

    GMC Member

  • New Member
  • 4 posts
  • Version:GM8

Posted 21 July 2012 - 08:25 PM

Easy really, just check which way Finn is face and place Jake in the opposite direction. For example, if Finn is face right, Jake would be at Finn.x-16.

Thanks for the reply. got it now (:
  • 0

#6 Kayle

Kayle

    GMC Member

  • GMC Member
  • 34 posts
  • Version:GM8

Posted 21 July 2012 - 08:55 PM


Easy really, just check which way Finn is face and place Jake in the opposite direction. For example, if Finn is face right, Jake would be at Finn.x-16.

Thanks for the reply. got it now (:

It's worth noting that Yellow didn't work like this, Yellow was closer to Davve's solution: store the player's previous location every time he moves, and have Jake move to that location.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users