- anm2ed-cli info|frame|render: a text summary, one frame as a PNG, or the whole animation as a contact sheet, PNG sequence, GIF or video, drawn by the editor's OpenGL renderer in a hidden window (render::HeadlessGL). - render::animation_frame_render / animation_record draw an animation's layers over its bounds (Canvas::layers_render, also used by About) and record them through the existing Recorder. - The editor's code builds as anm2ed_app, shared by the editor, the CLI and anm2ed_render_tests, which checks a fixture's pixels and golden PNGs (with tolerance; skipped without OpenGL) and leaves its renders in build/renders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
2.1 KiB
Plaintext
33 lines
2.1 KiB
Plaintext
<AnimatedActor>
|
|
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="30" Version="2"/>
|
|
<Content>
|
|
<Spritesheets>
|
|
<Spritesheet Id="0" Path="sheet.png"/>
|
|
</Spritesheets>
|
|
<Layers>
|
|
<Layer Id="0" Name="red" SpritesheetId="0"/>
|
|
<Layer Id="1" Name="blue" SpritesheetId="0"/>
|
|
</Layers>
|
|
<Nulls/>
|
|
<Events/>
|
|
</Content>
|
|
<Animations DefaultAnimation="Spin">
|
|
<Animation Name="Spin" FrameNum="8" Loop="true">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="8" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
</RootAnimation>
|
|
<LayerAnimations>
|
|
<LayerAnimation LayerId="1" Visible="true">
|
|
<Frame XPivot="8" YPivot="8" XCrop="16" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="8" Visible="true" XScale="200" YScale="200" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="128" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
</LayerAnimation>
|
|
<LayerAnimation LayerId="0" Visible="true">
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-16" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="true"/>
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="16" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="90" Interpolated="false"/>
|
|
</LayerAnimation>
|
|
</LayerAnimations>
|
|
<NullAnimations/>
|
|
<Triggers/>
|
|
</Animation>
|
|
</Animations>
|
|
</AnimatedActor>
|