Frame Blur (Flash's blur filter), child properties in Change All Frame Properties, flips under Visible

Blur is a layer frame's box blur, as Flash's low-quality BlurFilter: a box that many canvas pixels wide, averaged
over the frame's crop (premultiplied) by the texture shader, the quad grown by its reach. An animation layer blurs
its child's draws at least as much. It interpolates, copies, batches (clamped to 0-255), saves as an editor-only
Blur attribute and counts as an Isaac issue.

Change All Frame Properties gains the Child section (animation, mode, start frame, random, restart), applied only
to animation layers and disabled when no animation layer is targeted. Frame Properties' Flip X/Y sit below Visible
instead of inside Child.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-08 17:16:49 -04:00
1 parent 6b6cd671f7
commit 0adb0f89bc
26 files changed
+308 -48

No files matched your search

+9 -1
View File
@@ -105,6 +105,7 @@ namespace anm2ed
inline constexpr int FPS_MIN = 1;
inline constexpr int FPS_MAX = 120;
inline constexpr int FRAME_DEPTH_MAX = 100;
inline constexpr float FRAME_BLUR_MAX = 255.0f; // Flash's BlurFilter limit
enum class SpritesheetMergeOrigin
{
@@ -189,7 +190,8 @@ namespace anm2ed
X(tintA, tint.a, false, true, changeIsTintA, changeTint.a) \
X(colorOffsetR, colorOffset.r, false, true, changeIsColorOffsetR, changeColorOffset.r) \
X(colorOffsetG, colorOffset.g, false, true, changeIsColorOffsetG, changeColorOffset.g) \
X(colorOffsetB, colorOffset.b, false, true, changeIsColorOffsetB, changeColorOffset.b)
X(colorOffsetB, colorOffset.b, false, true, changeIsColorOffsetB, changeColorOffset.b) \
X(blur, blur, true, false, changeIsBlur, changeBlur)
struct FrameChange
{
@@ -204,6 +206,12 @@ namespace anm2ed
std::optional<Interpolation> interpolation{};
std::optional<bool> isFlipX{};
std::optional<bool> isFlipY{};
// An animation layer's child; a spritesheet layer's frames keep theirs.
std::optional<std::string> childAnimation{};
std::optional<ChildMode> childMode{};
std::optional<int> childStart{};
std::optional<bool> isChildStartRandom{};
std::optional<bool> isChildRestart{};
};
struct Reference