I create a spritesheet with different animations and its relative xml file. From the xml I get via code all the necessary data (animation name, frame size, sequence of images for each animation, etc.) and I display the animations found in the sheet in a TComboBox.
I would like to allow the user to choose and view a certain animation or possibly all in succession.
Player := TSprite.CreateFrameSize(MainImage,
I see that perhaps it would be possible to use
SwitchToAnimation but from my code of a previous version of CGE I was using
Player.CurrentAnimation.Play which, however, currently seems incorrect.
What could be the right way to view animations by defining the starting and ending frame?