The Isaac prompt offers Convert and Save, Ignore and Save, or Cancel; the
document remembers the choice (IsaacIgnored / "isaacIgnored", editor-only)
for saves that don't ask (the warning off, or `convert`). Converting:
- depth: a copy of the layer per depth ("body (depth +1)"), standing where
the editor draws it and showing only that depth's frames
- alpha offsets join the alpha tint (the same on opaque pixels)
- skew, blur and shaders: each layer frame using one is drawn alone at 1x
into <name>.baked.png beside the save (each image once), on a copy of its
layer ("body (baked)") right after it, one frame per step; a skewed root
or group root goes into its layers' images. `convert` makes a headless
OpenGL context for it; without one (or if the sheet can't be written)
these are dropped with a warning. Autosaves don't bake.
Tests check the bridged copy draws as the editor does, frame by frame.
Purge Default Color Values is gone: XML saves always leave out tints of 255
and color offsets of 0, in both copies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
132 lines
8.1 KiB
XML
132 lines
8.1 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>
|
|
</Content>
|
|
<Animations DefaultAnimation="Walk">
|
|
<Animation Name="Walk" FrameNum="8" Loop="true">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
|
|
<Frame XPosition="2.5" YPosition="-1" Delay="1" Visible="true" XScale="105" YScale="95" RedTint="241" GreenTint="223" BlueTint="207" RedOffset="2" GreenOffset="5" BlueOffset="7" Rotation="11.25" Interpolated="false"/>
|
|
<Frame XPosition="5" YPosition="-2" Delay="1" Visible="true" XScale="110" YScale="90" RedTint="227" GreenTint="191" BlueTint="159" RedOffset="5" GreenOffset="10" BlueOffset="15" Rotation="22.5" Interpolated="false"/>
|
|
<Frame XPosition="7.5" YPosition="-3" Delay="1" Visible="true" XScale="115" YScale="85" RedTint="213" GreenTint="159" BlueTint="111" RedOffset="7" GreenOffset="15" BlueOffset="22" Rotation="33.75" Interpolated="false"/>
|
|
<Frame XPosition="10" YPosition="-4" Delay="4" Visible="true" XScale="120" YScale="80" RedTint="200" GreenTint="128" BlueTint="64" 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="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.5" YPosition="-8.25" Delay="1" Visible="true" XScale="100" YScale="100" AlphaTint="223" Rotation="-2.5" Interpolated="false"/>
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="-8.5" Delay="1" Visible="true" XScale="100" YScale="100" AlphaTint="191" Rotation="-5" Interpolated="false"/>
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1.5" YPosition="-8.75" Delay="1" Visible="true" XScale="100" YScale="100" AlphaTint="159" Rotation="-7.5" Interpolated="false"/>
|
|
<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" AlphaTint="128" 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" 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" Rotation="0" Interpolated="false"/>
|
|
</NullAnimation>
|
|
<NullAnimation NullId="1" Visible="true"/>
|
|
</NullAnimations>
|
|
<Triggers>
|
|
<Trigger EventId="0" AtFrame="0"/>
|
|
<Trigger EventId="1" AtFrame="4"/>
|
|
<Trigger AtFrame="6"/>
|
|
</Triggers>
|
|
</Animation>
|
|
<Animation Name="Empty" FrameNum="1" Loop="false">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
|
|
</RootAnimation>
|
|
<LayerAnimations/>
|
|
<NullAnimations/>
|
|
<Triggers/>
|
|
</Animation>
|
|
</Animations>
|
|
<SourceDocument>
|
|
<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" FrameNum="8" Loop="true">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="true"/>
|
|
<Frame XPosition="10" YPosition="-4" Delay="4" Visible="true" XScale="120" YScale="80" SkewX="0" SkewY="0" RedTint="200" GreenTint="128" BlueTint="64" 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" SkewX="0" SkewY="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" SkewX="0" SkewY="0" AlphaTint="128" 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" SkewX="0" SkewY="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" SkewX="0" SkewY="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>
|
|
<Animation Name="Empty" FrameNum="1" Loop="false">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
|
|
</RootAnimation>
|
|
<LayerAnimations/>
|
|
<NullAnimations/>
|
|
<Triggers/>
|
|
</Animation>
|
|
</Animations>
|
|
</SourceDocument>
|
|
</AnimatedActor>
|