K
knru
Guest
So I'm making a top down game and there's a point in my game, where the player has to cross a pond by jumping from lily pad to lily pad. I don't want to implement jumping otherwise in the game, so the jumping should happen automatically when pressing an arrow key. Here's an example what I'm after.
My movement code is the one from Shaun Shaulding's video.
I tried to make an invisible object (obj_boat) that had a tile based movement, and have player follow that object when touching it. I had an another invisible objects that made the player stop following the object. It worked ok one-way, but the obj_boat got stuck inside the another invisible object after the player got off. Moving it after didn't work either, since the player character either never got off, or the obj_boat got stuck again.
I'd really need some help. Does anyone have an idea how to make this? Any ideas are welcome.
My movement code is the one from Shaun Shaulding's video.
I tried to make an invisible object (obj_boat) that had a tile based movement, and have player follow that object when touching it. I had an another invisible objects that made the player stop following the object. It worked ok one-way, but the obj_boat got stuck inside the another invisible object after the player got off. Moving it after didn't work either, since the player character either never got off, or the obj_boat got stuck again.
I'd really need some help. Does anyone have an idea how to make this? Any ideas are welcome.