


Does that work on ships too?
Code: Select all
<Image imageID="&rsShip;" imageX="0" imageY="0" imageWidth="80" imageHeight="80" imageFrameCount="0" imageTicksPerFrame="0"/>
Animation works with ships, I just made a UFO mod with revolving lights and it doesn't matter with the ship rotation, it works in any direction-and if you sync the images correctly, the animation will be flawless. For each rotation of the ship, the animation starts with the first image section in that row on through to the last and if you maintain that position, the animation will repeat continuously.dvlenk6 wrote:O.K. How is the xml for that?imageFrameCount="number of animation frames?Code: Select all
<Image imageID="&rsShip;" imageX="0" imageY="0" imageWidth="80" imageHeight="80" imageFrameCount="0" imageTicksPerFrame="0"/>
imageTicksPerFrame="pause between animation frames"?
Does the animation reset to the first frame when you rotate your ship?