An .svg spritesheet loads through lunasvg (now part of the core library) at one pixel per SVG unit, so regions, crops and picking work as for PNGs. The preview, renders and CLI draw it again, cached per power-of-two zoom level up to 8x, so it stays sharp when zoomed or scaled. Its pixels aren't edited (pencil, eraser, pack and merge leave it alone, and Save skips it), and the Isaac warning counts SVG sheets since the game can't load them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.8 KiB
Plaintext
32 lines
1.8 KiB
Plaintext
<AnimatedActor>
|
|
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="30" Version="2" ExtendedVersion="1"/>
|
|
<Content>
|
|
<Spritesheets>
|
|
<Spritesheet Id="0" Path="vector.svg"/>
|
|
</Spritesheets>
|
|
<Layers>
|
|
<Layer Id="0" Name="circle" SpritesheetId="0"/>
|
|
<Layer Id="1" Name="square" SpritesheetId="0"/>
|
|
</Layers>
|
|
<Nulls/>
|
|
<Events/>
|
|
</Content>
|
|
<Animations DefaultAnimation="Big">
|
|
<Animation Name="Big" FrameNum="1" Loop="true">
|
|
<RootAnimation>
|
|
<Frame XPosition="0" YPosition="0" Delay="1" 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="0" Visible="true">
|
|
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-20" YPosition="0" Delay="1" Visible="true" XScale="200" YScale="200" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
</LayerAnimation>
|
|
<LayerAnimation LayerId="1" Visible="true">
|
|
<Frame XPivot="8" YPivot="8" XCrop="16" YCrop="0" Width="16" Height="16" XPosition="20" YPosition="0" Delay="1" Visible="true" XScale="200" YScale="200" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
</LayerAnimation>
|
|
</LayerAnimations>
|
|
<NullAnimations/>
|
|
<Triggers/>
|
|
</Animation>
|
|
</Animations>
|
|
</AnimatedActor>
|