This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
if not smt_turnactive then
ActiveAnimations["idle_animation_name"].AnimationFirstFrame = 1
ActiveAnimations["idle_animation_name"].AnimationLastFrame = 14 -- whatever total number of frames is minus 1 because we added rotation frame to the end
else
ActiveAnimations["idle_animation_name"].AnimationFirstFrame = 15
ActiveAnimations["idle_animation_name"].AnimationLastFrame = 15 -- absolute total number of frames
end
game.CurrentCharacter:to(angleDist(smt_direction, newdir) * 5, {Direction = newdir})
-- to:(delay value, table to update, easing)
-- angleDist(smt_direction, newdir) * 5 -- is what is defining the walk time needed to rotate the character.
This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Until December 1: the Indie Bundle is 30% off with the code BLACKFRIDAY, €69.30 instead of €99.