I followed this tutorial by @hiddenone on the RPG Maker Blog that lets you create moving platforms that move on their own as seen in this video. You can find the events I used in that tutorial, or you can check out the spoilers below.
Everything works when there is a tile between the platforms where the player can stop, but I would like the player to "jump" to the other platform with the right timing. If they move towards the platform too early or too late (so in the time frame when the platform is not stationary), they fall down into the void and they get sent to the start of the section with a "Transfer Player"
This is how I tried setting this up, but when I playtest it...
The one at the right just goes on infinitely until it reaches the border of the screen.
The one in the left seems to move correctly.
I tried using a separate Region "2" version of the event for the one at the right and tweaking the event and common event to reflect that, but I must have done something wrong or I may have missed something.
I also don't know how to approach falling from the platform and getting transfered to the start of the section.
I can't manage to implement this, so any kind of help is appreciated!
PAGE 1
Script:
PAGE 2
Script:
COMMON EVENT
Script:
if (this.regionId() == 1) {$gameSelfSwitches.setValue([$gameMap._mapId, this.eventId(), 'A'], true); this.turn180();}PAGE 2
Script:
$gameSelfSwitches.setValue([$gameMap._mapId, this.eventId(), 'A'], false)COMMON EVENT
Everything works when there is a tile between the platforms where the player can stop, but I would like the player to "jump" to the other platform with the right timing. If they move towards the platform too early or too late (so in the time frame when the platform is not stationary), they fall down into the void and they get sent to the start of the section with a "Transfer Player"
This is how I tried setting this up, but when I playtest it...
The one at the right just goes on infinitely until it reaches the border of the screen.
The one in the left seems to move correctly.
I tried using a separate Region "2" version of the event for the one at the right and tweaking the event and common event to reflect that, but I must have done something wrong or I may have missed something.
I also don't know how to approach falling from the platform and getting transfered to the start of the section.
I can't manage to implement this, so any kind of help is appreciated!