AshieDashie
Member
Hello there! Hope you are all doing great.
It's been a long time since i asked around forums about this specific issue i had but sadly those posts most likely no longer exist and my project was lost as well so deja vu i guess. Anyways straight to the topic.
Is it possible for anyone to help out with a solution for smooth transition of images within the sprite after you determine the direction of the object? What i mean by that is, let's say i have 36 rendered images of a spaceship in isometric view ( each defining a direction for it ). All the data for each of the image_index is stored properly and works well within each degree by 10 so total of 360 degrees while every 10 = 1 image_index.
What i aim to do is to avoid having the ship turn from it's initial image_index to the direction its facing instantly, but instead gradually switch from one to another with certain speed until it reaches the final one which would be the point of direction it travels to, giving it a more slick look. ( mp_potential_step does solve the issue only partially as it goes through all the degrees and images as planned but it does a U turn, which is not the most pleasing result for eyes when camera follows the player's ship ) instead it should turn gradually on a spot regardless if it moves or not.
In case of need i will provide some example of a game where this system works and what i am trying to mimic HERE: https://streamable.com/zo5mt1
Really hope someone can help with this, thank ya.
Stay safe!
It's been a long time since i asked around forums about this specific issue i had but sadly those posts most likely no longer exist and my project was lost as well so deja vu i guess. Anyways straight to the topic.
Is it possible for anyone to help out with a solution for smooth transition of images within the sprite after you determine the direction of the object? What i mean by that is, let's say i have 36 rendered images of a spaceship in isometric view ( each defining a direction for it ). All the data for each of the image_index is stored properly and works well within each degree by 10 so total of 360 degrees while every 10 = 1 image_index.
What i aim to do is to avoid having the ship turn from it's initial image_index to the direction its facing instantly, but instead gradually switch from one to another with certain speed until it reaches the final one which would be the point of direction it travels to, giving it a more slick look. ( mp_potential_step does solve the issue only partially as it goes through all the degrees and images as planned but it does a U turn, which is not the most pleasing result for eyes when camera follows the player's ship ) instead it should turn gradually on a spot regardless if it moves or not.
In case of need i will provide some example of a game where this system works and what i am trying to mimic HERE: https://streamable.com/zo5mt1
Really hope someone can help with this, thank ya.
Stay safe!