*Edit* So I actually figured this out on my own. It took a lot of trial and error but it actually does the swing movement now. I just need to make sure I get the vine images timed right. Mods, you can close this. I'll update my tutorial later on the improved swing movement.
So a while back I made a tutorial for a vine swing event. Link is here. And it functions, but its quite ugly to be honest. What I want is for it to actually swing and move like a vine.
I had some ideas. I thought by using yanfly's move route core , specifically the MOVE TO: x, y command, and having the vine events move to specific coordinates in a order, I could mimic the arc motion of the vine. What I think may be more challenging is getting the vine to accelerate and decelerate as it gets closer to the edges, and since the vine is long enough to use multiple events moving at once, I think it may be difficult to time the events to look like they're all moving in sync.
I was thinking changing the images event by event so it looks like the vine is moving, but I feel like there's an easier method and I'm missing it. Any high level feedback or coding ideas for the arc would be extraordinarily helpful. I know it's probably pushing the engine but just curious what people come up with.
So to give you an idea what I'm talking about. In this image, the 3 vine events are synced up to move 2 tiles left, then 2 tiles right at a consistent move speed. When the player jumps, regardless of if they make the jump or not, the tiles reset to a base location. As part of the event, the player is basically moved to match whatever the x,y of the bottom vine is.
But say instead I wanted the three vines to 1) move in more or an arc shaped motion, like a pendulum. 2) to slow down when it reaches the end, and 3) speed up when it reaches the middle. I realize there's restrictions because they're tiles, but I'm hoping I can use different vine images in different areas of the tiles to make it look more fluid. Is there any way to implement something like that?
So a while back I made a tutorial for a vine swing event. Link is here. And it functions, but its quite ugly to be honest. What I want is for it to actually swing and move like a vine.
I had some ideas. I thought by using yanfly's move route core , specifically the MOVE TO: x, y command, and having the vine events move to specific coordinates in a order, I could mimic the arc motion of the vine. What I think may be more challenging is getting the vine to accelerate and decelerate as it gets closer to the edges, and since the vine is long enough to use multiple events moving at once, I think it may be difficult to time the events to look like they're all moving in sync.
I was thinking changing the images event by event so it looks like the vine is moving, but I feel like there's an easier method and I'm missing it. Any high level feedback or coding ideas for the arc would be extraordinarily helpful. I know it's probably pushing the engine but just curious what people come up with.
So to give you an idea what I'm talking about. In this image, the 3 vine events are synced up to move 2 tiles left, then 2 tiles right at a consistent move speed. When the player jumps, regardless of if they make the jump or not, the tiles reset to a base location. As part of the event, the player is basically moved to match whatever the x,y of the bottom vine is.
But say instead I wanted the three vines to 1) move in more or an arc shaped motion, like a pendulum. 2) to slow down when it reaches the end, and 3) speed up when it reaches the middle. I realize there's restrictions because they're tiles, but I'm hoping I can use different vine images in different areas of the tiles to make it look more fluid. Is there any way to implement something like that?