How to make train?

Ok I am not sure if this is the right place to ask this but...


What would be the best way to do a train stage?


The idea is that later on the players have to go on a train to stop something from happening so they have to go on the carts to fight different enemies.


Now how would you go about making it seem like the stage is actually moving on a track and stuff like that?


Any advise would be pretty sweet.
I've moved this thread to VX Ace Support ("how do I ..." questions almost ALWAYS go in the appropriate Support forum). Please be sure to post your threads in the correct forum next time. Thank you.
@ShazThank you.
If you just want to get the moving/jostling effect, I suggest you add a parallel process event to each map that does a screen shake with a wait, so it's continually shaking.  If you have windows in the train (use tiles that are actually transparent) you can also add a parallax background set to scroll on X.  This will give the impression that you're moving in one direction and it's a bit of a bouncy ride.
@Shaz I have tried to do the shake thing but you have to give it a timer or something to how long it will shake on screen


unless there is away to keep it going am unsure how to keep the shaking happening without the time ending and then how to make the shaking stop when the train part is over with.
This is how I did it in my game:

Code:
Loop
  Shake Screen: 1, 3, @60, Wait
Repeat Above

as a parallel process.


I'm not sure now why I put a loop inside a parallel process event - maybe I found it didn't work without it, even with a Wait 60 Frames command following it.  But the above does work for me.


And to make it stop (if the train stops moving, for example), just add a second page conditioned by a switch, and turn the switch on when you're ready for the shaking to stop.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-train.62168/