Pokemon Yellow Type Movement ?
Started by Aze, Jul 21 2012 06:49 PM
5 replies to this topic
#1
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!
#2
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.
#3
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.
#4
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.
#5
Posted 21 July 2012 - 08:25 PM
Thanks for the reply. got it now (: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.
#6
Posted 21 July 2012 - 08:55 PM
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.Thanks for the reply. got it now (:
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.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











