Skip to main content

Sequence Frame Animation Editor

Overview

The Sequence Frame Animation Editor can be used to create and edit Frame By Frame Animations.

image-20230301132748475

No.PanelDescription
1Top ToolbarProvide loading, adding, deleting, saving and playing sequence frame animations, opening the resource directory and other related functions.
2Animation List PanelDisplay different sequence frame animations.
3Frame List PanelDisplay all frames in a sequence frame animation, and the sequence frames can be edited in the Frame List.
4Frame Animation Properties PanelUsed to edit each property of the sequence frame animation.
5Animation Preview PanelUsed to preview the effect of the selected sequence frame animation.
6Frame Preview PanelUsed to preview the selected single sequence frame.

Toolbar

image-20230301134115847

ButtonDescription
image-20230301134415420Load And Save
image-20230301134433189Add Animation
image-20230301134531424Delete Animation
image-20230301134639474Preview Animation
image-20230301134711002Open Folder Location
Open the directory where the animation configuration file is located in the System Explorer.

Sequence Frame Animation Properties

image-20230314152107436

PropertyDescription
NameName of the animation.
Message PromptInformation used to define the animation.
Is PngWhen Is Png is enabled, each selected image (.dds/.png) will be read in Png format, and the scaling will be distorted.
Is Dynamic CreateWhen Is Dynamic Create is enabled, the generated animation is read when viewing the animation. Otherwise, it is read when starting the Editor.

Note: After editing the properties, the modified properties need to be saved before they take effect.

Opening the Sequence Frame Animation Editor

In the UI Editor, click Tool -> Sequence Frame Animation Editor to open the Sequence Frame Animation Editor(to open the UI Editor, please refer to Opening the UI Editor in the documentation UI Editor).

image-20230310141451422

The Sequence Frame Animation Editor:

image-20230314143901395

Adding Sequence Frame Animations

In the Sequence Frame Animation Editor, click the Add Animation button on top to add a new animation.

image-20230314143817955

PropertyDescription
DurationUsed to preset the duration of each frame of the new animation uniformly.
PathUsed to select the sequence frame images that make up the animation.
NameName of the animation.
Message PromptInformation used to define the animation.
Is PngWhen Is Png is enabled, each selected image (.dds/.png) will be read in Png format, and the scaling will be distorted.
Is Dynamic CreateWhen Is Dynamic Create is enabled, the generated animation is read when viewing the animation. Otherwise, it is read when starting the Editor.

Set the duration of each frame of the animation to be added in Duration of the pop-up window. If you don't set the Duration, then the Duration of each frame will be 30ms by default. Then select the sequence frame images (.dds/.png) that make up the animation in Path. Multiple images can be selected at one time. Last, select a folder in Resource Directory and click the OK button to add all images in that folder.

image-20230228155024250

After adding:

image-20230228155234921

Note: If you don't want to add all the resources in the folder, you can select a folder in the File Browser window, hold down the Ctrl key and left-click to select the needed images on the right of the window, then click the OK button to finish adding. The order of the frames in the final animation is the order in which the images are selected.

SelectPicture

After adding:

image-20230228162934608

At this point, the duration of each sequence frame can also be modified separately in Duration(ms).

image-20230228161207009

Enter the animation's name in Name, enter the animation's related information in Message Prompt, check Is Dynamic Create, and click the OK button to finish adding.

image-20230228160534694

The newly added animation can be seen in the Animation List, select it and the animation effect cannot be previewed in the Animation Preview window. This is because the operation of the Editor will not be immediately saved to the configuration file of the sequence frame animation, and the new configuration is not read into memory. So after adding the animation, you need to click the Save button to save the changes and let the Editor read the relevant configuration file again. At this point, select the animation again, and the animation effect will be seen in the Animation Preview window.

image-20230228163836570

The preview effect:

ForgingPreview

Deleting Sequence Frame Animations

Select the animation to be deleted in the Animation List, then click the Delete Animation button on top to finish the deletion. After deleting an animation, the sequence frames in the Frame List, Sequence Frame Animation Properties, Animation Preview and Frame Preview will all be emptied.

image-20230301094904515

Previewing Sequence Frame Animations

The effect of the selected animation can be viewed in the Animation Preview panel.

AnimationPreviewWindow

However, the original resolution of the animation previewed in the Animation Preview panel is changed. To preview the animation with its original resolution, use the following way.

Select the animation to be previewed in the Animation List, then click the Preview Animation button on top, and you can preview the animation with its original resolution in the pop-up Preview window. Or double-click the animation in the Animation List to open the Preview window for previewing.

image-20230301105304129

PreviewWindow

Editing Sequence Frames

To add another sequence frame to an added animation, first select the animation in the Animation List, then select a frame in the Frame List, right-click it to open the Shortcut Menu, and insert a frame before or after that frame.

image-20230301114038150

Menu ItemDescription
Add To Previous LineInsert a frame before the selected frame.
Add To Next LineInsert a frame after the selected frame.
RemoveDelete the selected frame.

After clicking Add To Previous Line or Add To Next Line, select a image in Path of the pop-up window and click the OK button. Enter the duration of the frame in Duration and click the OK button to finish the insertion.

image-20230301150910152

After inserting the frame:

image-20230301130713335

To delete one of the frames, select the frame to be deleted in the Frame List, right-click it to open the Shortcut Menu, and click Remove to finish the deletion.

image-20230301131124843

Note:

  • If all frames in an animation are deleted, it means the animation is also deleted.

  • After editing the Frame List, the edits need to be saved before they take effect.

Viewing Sequence Frame Animation Configuration Files

In the Sequence Frame Animation Editor, click the Open Folder Location button on top to enter the directory where the configuration file (imageanimations.xml) is located in the System Explorer.

image-20230301132024196

image-20230301132102321