I am developing an Android game. In this game some trains are moving on tracks. I am able to move trains horizontally and vertically using two train images for horizontal train and vertical train separately.
Now I want to move a train that is coming on horizontal track to vertical, I want to visualize it as it is now taking turn and moving on vertical track.
How can I do this, do I need to use so many images for each turning pixel, or is there any other way to turn the train?