How to activate column animation

Hello again! I'm sorry for this newbie problem, but I'd like some help in activating the column animation for the sparkle and glowing sword graphics while being stationary. I wanted them to go from the top graphic to the bottom.

!Other3.png


Same for the sparkles:
!Flame.png

I tried toggling walking and stepping but they just go from left to right. I also did the Set Move Route but they always somehow still include the left and right graphics. I'd appreciate any help with this!
In the event window, choose the graphic, then set Autonomous movement to Custom and then set Move route to (if you begin with number 1 in your diagram) turn left, turn right, turn up, turn down if you want them to repeat; only turn left, turn right, turn up if you want it to stay in position 4 (and then don't check Repeat action).

event1.jpg


event2.jpg


I added wait times to make it slower, but you can leave them out. You'll see how it looks. Also, change Speed and/or Frequency to get the animation to look how you want.

The turning is based on the position of actor sprites:

sprite.jpg


I hope this helps :LZSsmile:
As above if you simply want the four images from the centre column, and make sure to uncheck Walking and Stepping. Stepping makes it "walk in place", which essentially has it animating with 3 cells (Middle, Left, Middle, Right, repeat). Walking does the same thing but while it's moving. So if you don't want it to use the cells on the left or right column, uncheck walking and stepping, and just script it to change direction accordingly.


EDIT: I just noticed this is VX Ace support, so the following is probably not applicable, but I'll leave it anyway.
Spoiler
However, if in future you DO want to also use the cells exclusively in the left or right column (as some of your screenshots seem to suggest to me), put this as a line of custom script in your movement route:

Code:
this.setDirection(x); this._originalPattern = y;

Where x is the "direction" or row, and y is the column.

y is simple;
0 = left column
1 = middle column
2 = right column

x is trickier, it has you imagine the four directions as numbers on a keypad.
2 is down,
4 is left,
6 is right,
8 is up,

(I'm 90% sure on those directions without double checking but if I'm wrong you can experiment and correct them, the idea is right).


So for example if I wanted to change to the top right cell of this graphics sheet:

index.php
(sorry Entangled Pear, just pinching this one since it was right there 🙂 )

The top right cell is looking down, in the right hand column. So the x value on our number pad looking down is 2, and the right hand column is also 2, so we'd put in the movement route:

Code:
this.setDirection(2); this._originalPattern = 2;

to change our actor image to that cell.

All future direction inputs will call cells from the column you specificied in this._originalPattern until you change it back with another instance of this script to reset it to the centre column (originalPattern back to 1).

The setDirection & originalPattern scripts won't work on the Player though without a plugin. But I believe caethyril wrote one for this if you need it.
Hey, it's you again @EntangledPear !
In the event window, choose the graphic, then set Autonomous movement to Custom and then set Move route to (if you begin with number 1 in your diagram) turn left, turn right, turn up, turn down if you want them to repeat; only turn left, turn right, turn up if you want it to stay in position 4 (and then don't check Repeat action).

View attachment 357486

View attachment 357487

I added wait times to make it slower, but you can leave them out. You'll see how it looks. Also, change Speed and/or Frequency to get the animation to look how you want.

The turning is based on the position of actor sprites:

View attachment 357488

I hope this helps :LZSsmile:
I tried this method, and it worked perfectly! Thank you very much, again!
As above if you simply want the four images from the centre column, and make sure to uncheck Walking and Stepping. Stepping makes it "walk in place", which essentially has it animating with 3 cells (Middle, Left, Middle, Right, repeat). Walking does the same thing but while it's moving. So if you don't want it to use the cells on the left or right column, uncheck walking and stepping, and just script it to change direction accordingly.


EDIT: I just noticed this is VX Ace support, so the following is probably not applicable, but I'll leave it anyway.
Spoiler
However, if in future you DO want to also use the cells exclusively in the left or right column (as some of your screenshots seem to suggest to me), put this as a line of custom script in your movement route:

Code:
this.setDirection(x); this._originalPattern = y;

Where x is the "direction" or row, and y is the column.

y is simple;
0 = left column
1 = middle column
2 = right column

x is trickier, it has you imagine the four directions as numbers on a keypad.
2 is down,
4 is left,
6 is right,
8 is up,

(I'm 90% sure on those directions without double checking but if I'm wrong you can experiment and correct them, the idea is right).


So for example if I wanted to change to the top right cell of this graphics sheet:

index.php
(sorry Entangled Pear, just pinching this one since it was right there 🙂 )

The top right cell is looking down, in the right hand column. So the x value on our number pad looking down is 2, and the right hand column is also 2, so we'd put in the movement route:

Code:
this.setDirection(2); this._originalPattern = 2;

to change our actor image to that cell.

All future direction inputs will call cells from the column you specificied in this._originalPattern until you change it back with another instance of this script to reset it to the centre column (originalPattern back to 1).

The setDirection & originalPattern scripts won't work on the Player though without a plugin. But I believe caethyril wrote one for this if you need it.
Hello! I'll definitely keep this in mind. Thank you, as well!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-activate-column-animation.181916/