Hey gang i'm cooking up a driving minigame over here. Im trying to figure out how to force my player to move to the left while still giving them control of moving up and down. Set movement route does not accept player input while executing itself and im stuck. Is this possible?
Forcing player to move while still giving them control
RPG Maker MV SupportI did something like this when I needed to do this:
I made the background continuously move while not allowing the player to move to certain directions, making it seem like he is moving towards the left while he can still make his character move up/down.. ofc that only works if the game is kind of an infinite runner thingy, if you have a definite track, it would not be good to use this method.
I made the background continuously move while not allowing the player to move to certain directions, making it seem like he is moving towards the left while he can still make his character move up/down.. ofc that only works if the game is kind of an infinite runner thingy, if you have a definite track, it would not be good to use this method.
Then you did something wrong, because set move route can be used for this.
However, it does require a specific setup where the game uses a lot of single-command set move routes instead of a single big route.
Can you give more details on what you're trying to do and a Screenshot of the event as you have it so far?
Thanks for your replies!
What i ended up doing (perhaps as a temporary fix?) was to have an invisible event set to autorun which sets the player movement speed and frequency to be as fast as possible. This at least added the excitement of speed.
But i also want there to be some recklessness in not giving the player control to stop (which they can currently do by simply not pressing the left arrow key) and only to have control of dodging incoming cars.
i want the game to force the player to move left while still giving the player control of pressing up or down to dodge stuff. I'm still not sure how to do it though.
Also Andar, i was wrong there! It will accept player input as long as wait for completion is not ticked, right? Therefore, as you said, i suppose it would be possible to use a bunch of single commands, perhaps timed with waits to achieve this?
Adiktuzmiko, thats a good workaround but i have yet to conquer parallax scrolling/ manipulating backgrounds, i'll check out some tutorials and see if i can figure that out.
What i ended up doing (perhaps as a temporary fix?) was to have an invisible event set to autorun which sets the player movement speed and frequency to be as fast as possible. This at least added the excitement of speed.
But i also want there to be some recklessness in not giving the player control to stop (which they can currently do by simply not pressing the left arrow key) and only to have control of dodging incoming cars.
i want the game to force the player to move left while still giving the player control of pressing up or down to dodge stuff. I'm still not sure how to do it though.
Also Andar, i was wrong there! It will accept player input as long as wait for completion is not ticked, right? Therefore, as you said, i suppose it would be possible to use a bunch of single commands, perhaps timed with waits to achieve this?
Adiktuzmiko, thats a good workaround but i have yet to conquer parallax scrolling/ manipulating backgrounds, i'll check out some tutorials and see if i can figure that out.
right now it looks like this
attempted this again today by doing the following
created a event set it to parallel
set player move speed to 6, frequency to highest, and 'move left' and ticked 'repeat movement' and did not tick 'wait for completion'.
the result sucked, as the player cannot control up and down to dodge traffic. If anyone knows a workaround for this PLEASE enlighten me and im really stoked on this software/gamemaking in general and wanna see this minigame to completion! <3<3
We cannot help you unless you give us a Screenshot of your event with all its data - your descriptions are not enough to see your mistakes.
I tried doing it this way just now and it still failed :/
This is the only content in this event, which i am attempting to use to force player movement.
this currently has the car not moving at all.
if i tick 'wait for completion' the car goes to the left but doesnt take player input.
This is the only content in this event, which i am attempting to use to force player movement.
this currently has the car not moving at all.
if i tick 'wait for completion' the car goes to the left but doesnt take player input.
Of course that cannot work - especially if there are no other commands in the event. Which we can't check because you have the move route window open instead of showing the event Windows only...
You need to combine set move route command with the wait command (NOT the wait option) because otherwise the move command is given too often. Without Waits, the parallel process loops sixty times per second.
The number of frames you have to wait depends on the rate of how much control against how many legt commands you want to give. And that number needs experimentation, no one can give it to you.
You need to combine set move route command with the wait command (NOT the wait option) because otherwise the move command is given too often. Without Waits, the parallel process loops sixty times per second.
The number of frames you have to wait depends on the rate of how much control against how many legt commands you want to give. And that number needs experimentation, no one can give it to you.
Heres my most recent attempt: tracking button inputs with conditional branches in a parallel event...its still not quite there but its closer to what im trying to achieve...i think.
THATS IT!!!! i just needed to add a wait into that event and use conditional checks to move.
This is solved. Andar you were very helpful just now, thank you.
I'm attaching a screenshot of what ended up working for me.
This is solved. Andar you were very helpful just now, thank you.
I'm attaching a screenshot of what ended up working for me.
Good sir, please do!
deveras111, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
The OP hasn't been online in six months, so I'll doubt they'll see this. If you need help with something, please make a new thread.
Original thread: https://forums.rpgmakerweb.com/threads/forcing-player-to-move-while-still-giving-them-control.97601/