Diagonal Sprites?

Started by Senjosei, June 09, 2015, 06:32:32 PM

Previous topic - Next topic
Hi im new and still tinkering with solarus, so is there a built in "walking_diagonal" animation ?
Also is there a list of all the built it animations in every sprites? it helps a newbie  ;D
Thnx~

Hi,
The tunic sprite of the hero must indeed have animations with specific names, including "walking_diagonal". This list might be missing in the doc (oops) but it corresponds to the ones of Zelda Mystery of Solarus DX. You can edit Zelda Mystery of Solarus DX and look at the sprite "hero/tunic1".

umm im assuming the walking_diagonal is used when im moving diagonalny like pressing up and right but its not working or am i doing something wrong... :-\

Actually no, "walking_diagonal" is only used when taking spiral stairs to mimic the animation of A Link to the Past.

oh... i see. is it possible to do what i was trying to do with scripts?

Maybe... you can try to do an event hero:on_movement_changed() that changes the animation depending on the movement's angle, when the animation is "walking". But it seems risky.