- anm2ed_core static library (anm2 + non-UI util + log) shared by app and tests - Logger is inert until session_open, so the core has no SDL dependency - doctest suite: golden round-trips of 12 synthetic fixtures across every serialization preset, format and merge type; save/reload invariants (fixed point, hash stability, game view equals re-baked game view); operation goldens; env-gated private corpus run (ANM2ED_CORPUS) - ANM2ED_UPDATE_GOLDEN=1 regenerates goldens; tests/MANUAL.md UI checklist Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
62 lines
3.9 KiB
XML
62 lines
3.9 KiB
XML
<AnimatedActor>
|
|
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="30" Version="2"/>
|
|
<Content>
|
|
<Spritesheets>
|
|
<Spritesheet Id="0" Path="a.png"/>
|
|
<Spritesheet Id="1" Path="b.png"/>
|
|
</Spritesheets>
|
|
<Layers>
|
|
<Layer Id="0" Name="head" SpritesheetId="0"/>
|
|
<Layer Id="1" Name="body" SpritesheetId="1"/>
|
|
</Layers>
|
|
<Nulls>
|
|
<Null Id="0" Name="anchor"/>
|
|
<Null Id="1" Name="hitbox" ShowRect="true"/>
|
|
</Nulls>
|
|
<Events>
|
|
<Event Id="0" Name="Step"/>
|
|
<Event Id="1" Name="Shoot"/>
|
|
</Events>
|
|
<Sounds>
|
|
<Sound Id="0" Path="step.wav"/>
|
|
<Sound Id="1" Path="shoot.ogg"/>
|
|
</Sounds>
|
|
</Content>
|
|
<Animations DefaultAnimation="Walk">
|
|
<Animation Name="Walk (Merged)" FrameNum="9" Loop="true">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" ShearX="0" ShearY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" ShearX="0" ShearY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="true"/>
|
|
<Frame XPosition="10" YPosition="-4" Delay="4" Visible="true" XScale="120" YScale="80" ShearX="0" ShearY="0" RedTint="200" GreenTint="128" BlueTint="64" AlphaTint="255" RedOffset="10" GreenOffset="20" BlueOffset="30" Rotation="45" Interpolated="false"/>
|
|
</RootAnimation>
|
|
<LayerAnimations>
|
|
<LayerAnimation LayerId="0" Visible="true">
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="-8" Delay="4" Visible="true" XScale="100" YScale="100" ShearX="0" ShearY="0" 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="2" YPosition="-9" Delay="4" Visible="false" XScale="100" YScale="100" ShearX="0" ShearY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="128" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="-10" Interpolated="false"/>
|
|
</LayerAnimation>
|
|
<LayerAnimation LayerId="1" Visible="false">
|
|
<Frame XPivot="4" YPivot="12" XCrop="16" YCrop="0" Width="8" Height="24" XPosition="0" YPosition="0" Delay="8" Visible="true" XScale="-100" YScale="100" ShearX="0" ShearY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
</LayerAnimation>
|
|
</LayerAnimations>
|
|
<NullAnimations>
|
|
<NullAnimation NullId="0" Visible="true">
|
|
<Frame XPosition="3" YPosition="4" Delay="8" Visible="true" XScale="100" YScale="100" ShearX="0" ShearY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
</NullAnimation>
|
|
<NullAnimation NullId="1" Visible="true"/>
|
|
</NullAnimations>
|
|
<Triggers>
|
|
<Trigger EventId="0" AtFrame="0">
|
|
<Sound Id="0"/>
|
|
</Trigger>
|
|
<Trigger EventId="1" AtFrame="4">
|
|
<Sound Id="0"/>
|
|
<Sound Id="1"/>
|
|
</Trigger>
|
|
<Trigger AtFrame="6">
|
|
<Sound Id="1"/>
|
|
</Trigger>
|
|
</Triggers>
|
|
</Animation>
|
|
</Animations>
|
|
</AnimatedActor>
|