Animated sprites problem

So I have tried (yep tried is the right word) to make an animation sheet where a general puts on his helmet before a boss battle.


The problem I have with this is first of all: When I put the move route inside the event:


Speed: x2 slower


Frequency: Lowest


Turn Left


wait 4 frames


Turn Right


wait 4 frames


It only shows column 1-3 and not 4 (I used the same movement for treasure chest opening since it uses all 12 sprite animations). I remember that I figured out how to use each column, maybe it was down, left, right, up or something but if anyone could give me a suggestion on how to use all 12 of the images it would be cool. 


My second problem is that I cant control the event in question with an auto run, if I change the graphics, the speed and the frequency to the event in question it will not show in the same fashion as it does if I put it in the move route inside the event itself. I know that I have been able to use all columns before (but I forgot the turn order), but I have never tried to implement it from an auto-run.


I hope I'm clear in what I mean.


Here's the "animation" Im trying to implement:


!Custom animations 1.png
The rows are ordered from top to bottom as: Down, Left, Right, Up and you would need to use the turn command. To move left to right on a row, you would need to use a stepping animation with direction fixed. I'm not sure how easy it would be to do though, I'd have to play around with it to see what works.


Personally, I would rearrange the sprites, so that you could use all turning animation going up and down the columns (so, down the left column, up the middle, down the right) and use only turn commands. (Reason being, I'm not certain if you can control the stepping animation to such a finite amount that you need it.)


I'm really tired though, so I might be missing a more obvious solution.
The rows are ordered from top to bottom as: Down, Left, Right, Up and you would need to use the turn command. To move left to right on a row, you would need to use a stepping animation with direction fixed. I'm not sure how easy it would be to do though, I'd have to play around with it to see what works.


Personally, I would rearrange the sprites, so that you could use all turning animation going up and down the columns (so, down the left column, up the middle, down the right) and use only turn commands. (Reason being, I'm not certain if you can control the stepping animation to such a finite amount that you need it.)


I'm really tired though, so I might be missing a more obvious solution.



Ye I rly do not need to go through all of the 12 images as long as the frequency is low (Since so far I have only used the same image for each of the images in each row.


Problem still though is that I can only get column 1-3 to show and not the 4 without the top column showing before the 4th. 


Tried again now with down, left, right, up but the down column shows before the up column if I put it like that. And well, the biggest issue is that it doesn't act the same way if I change the events movement from an autorun instead of puting in directly into the event. I have no idea why it works differently, when Its supposed to be the same thing but only changed indirectly from an auto-run. I'm really confused by this. I have done other emotion animations similar to this one with 32x32 sprites instead of this bigger one, but that shouldnt matter should it? In any case they work the same way in the events own custom move route but not when altering it from another event...


Edit: Figured out how to show all collums now at least: Had to start the event from Top column (Down) in order to show the 4th column (Up) in the proper order, I have no idea why that matter but apparenly it did 😀  (skipped that row because the event is startinga t the top graphic). 


Still have the problem with running it from an auto-run event though instead of the event itself :/
So thought I could add the two different move routes that I use, and see if anyone can explain what is wrong (since they are not working the same way, even if it feels like they should). 


Move route inside event:

Spoiler
2016-05-23.png



This works without issues, the sprite goes thru all 4 columns and the animation is displayed in a slower motion just like I want it to.


Move route from Auto-run:


Now this is where it wont work the same way as in the first example, when using it from my cutscene event in the auto-run: 

Spoiler
2016-05-23 (11).png



Now however the animation goes by super fast instead of a smooth transition like in the first example. I have no idea what is causing this? I always use set event locations to control sprites from the auto run, I really dislike to have movements inside events and change their graphics with self-switches. This is why this annoys me since I want everything gathered in one single auto run 😛


Animation sheet is the same as I posted before;

Spoiler
!Custom animations 1.png





Edit: Fixed it somewhat with wait: 4 frames in between each turn, but I'm still a bit confused why they work differently? 😛
'Normal' speed for an event is 3, not 4.  Try changing the speed to 3 and see if it animates more smoothly.


I'm not sure why your self switch changes are working - I didn't think @map_id was defined inside of a move route, as that's the Game_Character / Game_CharacterBase class, not in Game_Interpreter.


Also, you will have to be careful doing it this way - depending on the engine's timing for change of direction matching the stepping through the frames.  Someone with a really fast computer or a really slow computer will not necessarily show the frames at the same speed you see (especially someone with a slow computer, who might have other applications open) and it will not look at all the way you intend it to.


Look into Galv's Move Route Extras script for a better way to cycle through the animations, making sure each one gets a look-in.
At this point, it might be easier to use a script. A couple I found in a search are Victor's and modern algebra's (which doesn't seem to need any core scripts installed).
'Normal' speed for an event is 3, not 4.  Try changing the speed to 3 and see if it animates more smoothly.


I'm not sure why your self switch changes are working - I didn't think @map_id was defined inside of a move route, as that's the Game_Character / Game_CharacterBase class, not in Game_Interpreter.


Also, you will have to be careful doing it this way - depending on the engine's timing for change of direction matching the stepping through the frames.  Someone with a really fast computer or a really slow computer will not necessarily show the frames at the same speed you see (especially someone with a slow computer, who might have other applications open) and it will not look at all the way you intend it to.


Look into Galv's Move Route Extras script for a better way to cycle through the animations, making sure each one gets a look-in.



Ye, the thing is, it doesn't matther which speed I have it will always be displayed in the same fast motion (Even if I put everything to lowest). 


Yeah that was a typo from my part, I didn't use the self switch change inside the move route, but in the auto-run itself so It's not part of the move-route, sorry.


Oh, you mean with wait commands between the turns, they are the ones that can mess up if the computer is slowed down? Didn't know that so thanks a lot! I was hoping I could event this without the use of scripts but if that may happen I really need a script to control the animation frames for sure! Will look into the scripts and go from there.


Thanks a lot, both of you for the informative answers!   


Edit: The scripts in question seems to focus mostly on character sheets that are larger than 3 frames? Since my animations are 3x4 like normal would it really be an issue with the animation?
Galv's Move Route Extras allows you to change the sprite to a specific direction and pattern, which you can't do just with the Change Graphic or movement commands alone, and which removes the reliance on speed/timing when you're trying to cycle through the columns and rows in a certain order.


It's always far better to show screenshots of your events than retyping them as you've done above.  It eliminates typos, so doesn't cause people to go off on a wild goose chase because you've typed something incorrectly, and it's much easier to read too.
Galv's Move Route Extras allows you to change the sprite to a specific direction and pattern, which you can't do just with the Change Graphic or movement commands alone, and which removes the reliance on speed/timing when you're trying to cycle through the columns and rows in a certain order.


It's always far better to show screenshots of your events than retyping them as you've done above.  It eliminates typos, so doesn't cause people to go off on a wild goose chase because you've typed something incorrectly, and it's much easier to read too.



Ye I understand that. I'm just not sure about why there would be an issue to use turn commands for an ordinary 3x4 pattern like with any other default pattern in the engine. I can see a defenite use of it if you are using larger patterns and dont have to rely on the change graphic command (along with smoother transitions when changing direction and pattern of course.) I'm just a bit unsure as to WHY there could be a problem for slower PCs to display the animation correctly (or in the same fashion as I see the animation). What factors are taken into consideration of why that could be a problem? Is it the wait times, or the change of direction in the animation sheet that could slow down the animation?


Since It's a regular 3x4 pattern and I'm using the standard directions with up, left, right, down and not even have to rely on stepping animations if I use the turn orders, it just feels that it wouldn't be a problem? Just want to get a bit enlightened on why It's risky to do it like I did.


On the other note I can only see positive things in using Galv's script so I will sure work with it and see if I can use it instead of the turn commands.


I agree, and I apologize for not including screenshots and about the typo. But to be fair, I didn't have any trouble revolving to the self-switches so wasn't that relevant anyway.


And I'm still not sure why the auto run handles the move-route for the animations differently, than in the events own move-route. 


Thanks for your help!
Galv's Move Route Extras allows you to change the sprite to a specific direction and pattern, which you can't do just with the Change Graphic or movement commands alone, and which removes the reliance on speed/timing when you're trying to cycle through the columns and rows in a certain order.


It's always far better to show screenshots of your events than retyping them as you've done above.  It eliminates typos, so doesn't cause people to go off on a wild goose chase because you've typed something incorrectly, and it's much easier to read too.



Seems like the script doesn't work the way you described? I still have to use wait times in order to slow down the animation or it will cycle trough the colums and patterns way too fast, or maybe I'm missing something? Is it necessary to use stepping animation in order to cycle through column 1-3 before switching to another direction? Or do I need to add in all columns before switching direction to make the animation take those steps?


This is the event and spritesheet I'm working with now:

Spoiler
2016-05-27 (2).png


Emotions Vincent.png



Edit: Nevermind, I'm stupid. I was thinking that the script worked differently, so I forgot to set the correct frame on the row... It looks really nice when I run it now.


Thank you @Shaz and @mlogan for the valuable help! Really appreciate it!

Original thread: https://forums.rpgmakerweb.com/threads/animated-sprites-problem.62122/