This whole thread leaves me super confused, from the start post that I don't fully understand to the replies.
So, how does one make an escalator?
Basically, you need escalating stairs, and you cannot use the stepping animation at all, due to the fact that it goes 1-2-3-2-1-2-3, repeating the 2nd frame and therefore rather jumping up and down instead of sliding.
What stays are two options:
A1 waterfall. My preferred one. A1 has this sliding motion as it is needed for waterfalls to just go down (duh). That also means, you need separate tiles for up and down.
A1 waterfall tiles are built from 3 2x1 blocks, each of these blocks is a frame of the animation and has 24x48 side parts and a (better, everything else looks off) tiling 48x48 middle piece. You also want each block to smoothly tile so you can make waterfalls (or in this case, escalator stairs) of each possible length. The one you see in this example I made myself.
Event examples are from MZ, but they should be the same in MV.
Since we talk about stairs, tiling is not really difficult, yours proably already do. For mine I didn't even do anything speacial with the non tiling sides but already adding a shadow.
But how do I make them move smoothly?
I hope you all didn't skip basic math:
One tile is 48px tall. We have three frames.
So the vertical offset between the frames is 48:3 = 16.
Which means, I take the top 16px of my start frame... and move them to the bottom to get my 2nd frame:
Of that second frame... you hopefully guessed it, I take the top 16 px, move them to the bottom and get the third frame.
You want the other direction as well? just reverse the order of your frames on the sheet.
Now what else for this solution?
I personally would (and have) do a top and bottom tile where the stairs rise up and sink in, since that is what they do in real escalators. But that is a bit more tricky I guess.
All what is left to do is to make sure the handrails are directly at the edge of the tiles on your sheet and fit in length with your mapping result, like this:
is super weird. It needs to be something like this (on the left) to work.
Now I said A1 is the easiest, yes, but what else could you do? Well, technically, a charset without stepping animation would also work.
You can take these frames (and even make it 4 with an offset of 12px if you feel like, I'm not making the extra work now) and put them into a charset like this:
You will name it something like !$AveryIsTheBest, the ! ensuring there is no offset, the $ telling the engine that it is a single sheet. If you struggle with that,
read this.
Then you add them ingame with a custom move route that just has them turn at the frequency you want:
(no turn up, since we have 3 frames only. Make sure repeat movements is checked. You can influence the speed via the amount of frames.)
And if you want to have them go the other way? Surprise, you just reverse the frame order in the command.
The escalating event is pretty easy, it is just:
(the amount of move down equals the amount of tiles your escalator has, and be sure to not use wait for completion if you go the charset route, since otherwise your frames are not synchronised afterwards anymore)
That was only a basic one though, you will have to figure something out so the player cannot enter the stair from the wrong side, probably a "by touch" event with the condition the player faces the wrong way.
And that is it.
The tl; dr:
You must have frames for each position, ideally with a vertical offset of 16px between them if you go for 3 frames.
That is, in fact, if you already have the stairs, simple copy and paste. A graphic programm with an adjustable grid like Gimp or Graphicsgale will help you get everything lined up properly.
Decide wheather you want it as A1 or charset, and set that up accordingly. Read the resource documention and play around if you don't understand how they each work and if my explaination was not in depth enough.
Reverse the order of the frame to make the stairs change direction if needed.
Your handrails need to be snug to your stairs. Gimp with a 48x48 grid and some copy and paste will get you there.
Make some simple events: one to slide through the stairs, one to ensure it is not entered from the wrong side.
Done.