I wanna have an auto-runner part on my game but I'm struggling to do so.

I wanna have a traveling section in which the player is running on a looping map, like these endless runner games like Subway Surfers. I want the player to be able to move left and right but not up or down, and there will be events in the map that the player will have to dodge. I also want to, after a few minutes have passed, slow down the scrolling for a dialogue cutscene.

I tried making a parallel event which moves the player up on a vertical looping map but not only is the movement very choppy, I am unable to move left or right.

How could I do something like this?
I would try...

1 - Do the "running" as an animated parallax

2 - Use a simple plugin to disable the up/down commands (examples have been posted before, including by me someplace...)

3 - Have the obstacles be events that you create on the map and move downward

The slowing down of the scrolling should be handled by the plugin for the animated parallax.

This is getting pretty far from what MV was designed to do, so you might have to get creative.
I've designed something similar as a test for my game, but I don't have obstacles yet. Here's a preview:



If you're using the vanilla editor, you need at least six events for the autorunner:

1.) One parallel event to make the Player keep moving vertically:
Spoiler
AutorunnerVanilla01.png
2.) One parallel event to check if you've pressed the Left Arrow Key or Right Arrow Key, so the player can move the character horizontally:
Spoiler
AutorunnerVanilla02.png
3.) One parallel event that does something different, say, activates the cutscene, if a condition, say having gone through the loop 3 times, is met.
Spoiler
AutorunnerVanilla03.png
This event needs an extra empty page that turns on to stop the cutscene.

4.) At least three events that count if the player has looped (or just anything that ticks that counter). (The three marked blocks in the screenshot).
Spoiler
AutorunnerVanilla04A.png


AutorunnerVanilla04B.png

Note: Post edited to place images in spoilers.
I was also getting some very choppy movement and almost wanted to give up but thanks to @AnneLaurant I managed to make my movement more smoothly. I would like to point out that that here event picture says Autorun but no. Make sure you make it a parallel process. Here is a sample of my results.

Original thread: https://forums.rpgmakerweb.com/threads/i-wanna-have-an-auto-runner-part-on-my-game-but-im-struggling-to-do-so.152430/