[Solved] Animating an object on the map?

I've been googling all morning trying to figure this one out but i cant find anything. I get that it should be saved and used as a character then used in an event. But then it only does the first three animations, which sounds like rpg makers default.

So then I looked for plugins, found one that Galv made (Galv_characteranimations) but I'm not sure if it does what I want. Or how to use it. I did find a pretty simple one for MV but doesn't seem to work with MZ.

Second question. When I first made the sprite sheet it was only 7 frames total. Would that still work? or does it have to be a full 12?

Tube-sheet.png


Since i wasn't sure, i just duplicated a couple frames to hit the 12 frames.
$tube.png


So yea, I'm stumped.
Tube.gif
There have been a bunch of threads discussing stepping and different ways to animate events.

This one has a code-based solution that will likely be the same from MV to MZ. If it produces an error, let us know and it would require only minor modification:
There are a couple ways to make your sprite move through the frames by default, but neither of them will get the result you're looking for. If you set the event to "stepping" it'll cycle through each frame of the direction the event is facing (so, for instance, the top three frames). You can also change the direction the sprite is facing, but that would cut out the 'stepping' frames and basically give you frames from the first column of the sprite sheet.

I actually think you were on the right track with Galv's plugins, as his Character Frames one would do what you need by extending the sprite sheet further to the right; then you could just set it to stepping with as many frames as you need.
I actually think you were on the right track with Galv's plugins, as his Character Frames one would do what you need by extending the sprite sheet further to the right; then you could just set it to stepping with as many frames as you need.
I tried this one and unless I'm doing it wrong it's still not working. Tried naming the 12 frame file $Name%(12).png but it shows this
Capture.PNG
then it moves to the left only showing half the frame like a slide show. I did try the name without the $ but then it doesn't show anything but the shadow. Or a shadow anyway.

I took a look at the post but i don't know enough about code yet to really know what to do with the code in that post.
Can you post the edited sprite sheet you're using? It looks like you got the naming down right and the plugin is working, so my guess is something is off with the sheet and how it's divided.

If you want something to test with, here's a 9-frame book sprite I've used with the same plugin that works fine for me:

Spoiler: a sprite sheet you don't need and didn't ask for...
!$book3%(9).png


Notice all the frames are in the 'stepping' row; I didn't even include images for the other directions because the book will only face one direction (and make sure you've got direction fix on, but that's separate from what you're struggling with now).
That's a really nice looking book animation.

So this is the one I've been trying to use. As i thought it had to be in the 3 by 4 format.
$tube%(12).png


However, after lookin at your book. I do have this one (i used Aseprite for the animations and saving it, maybe i have the settings wrong when i save the sprite sheet.)

!$Tubesheet%(6).png

When i try that one i get this when i select the image in the event.
Capture.PNG

File name on that one has the !$.

Just to be certain, I tossed your book into my project and it ran perfectly. So I'm thinking there's something wrong with my sprite.
It looks like the sprite sheet just isn't laid out right, which is an easy fix. First, change the filename to end in %(12) to reflect the number of frames you have. Second, it still needs to have 4 directions, even if the other 3 are blank; take the total height of your sprite and add that at the bottom of the image three more times. Basically, you still need 4 rows to make each of the different directions, but you can leave the bottom three blank.

Alternatively, you could just download this image and use it; it's pretty simple, but I thought showing might be better than telling for this one.

Spoiler: corrected sprite sheet
!$Tubesheet%(12).png
1654188140061.png


Awesome, thank you! I even looked at your book and it didn't click that the empty space was longer. So that's good to know.

That actually opens up some refining I can do. Like get rid of the double frames because I thought it had to have 12 lol.

If you cant tell I've dove in head first to everything involved with making a game from design to art to coding (some day.) Glad the forums have plenty of life guards. >.>
Spoiler: corrected sprite sheet
Hm, what did you use to add the blank space? I'm trying photoshop on one without the extra frames and it's animating fine but the sprite is inching to the left with each frame.

Think I got it figured out. Aesprite was giving it a couple pixel padding that wasn't working right when I added the blank space in photoshop. So took at that out and exported again. Now it's working fine.

So this one is solved for now. Another issue figured out.

Original thread: https://forums.rpgmakerweb.com/threads/solved-animating-an-object-on-the-map.148157/