Libraries window, animation layers and child playback
A Libraries window (docked with Spritesheets and Sounds) links other .anm2 files: cards list each one's animations, open it as a tab, and reload when it changes on disk. A layer's Source is a spritesheet or an animation, from this file or a library; the preview, renders and CLI draw the child in the layer's frame. Animation-layer keyframes set the child's animation, mode (loop, once, hold), start frame (or random) and restart; Child is also a copyable frame property. All of it is editor-only and counted by the Isaac warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6edf5f0e5b
commit
d1a6d89d14
44 files changed
+873
-81
No files matched your search
+9
-3
@@ -162,8 +162,14 @@ options:
|
||||
std::println(" #{} {} ({}), {} regions", spritesheet.id, path::to_utf8(spritesheet.path), status,
|
||||
spritesheet.regions.size());
|
||||
}
|
||||
for (const auto& library : content.libraries)
|
||||
std::println("library #{} {}", library.id, path::to_utf8(library.path));
|
||||
for (const auto& layer : content.layers)
|
||||
std::println("layer #{} {} (spritesheet #{})", layer.id, layer.name, layer.spritesheetId);
|
||||
if (layer.is_animation())
|
||||
std::println("layer #{} {} (animation {}, library #{})", layer.id, layer.name, layer.animation,
|
||||
layer.libraryId);
|
||||
else
|
||||
std::println("layer #{} {} (spritesheet #{})", layer.id, layer.name, layer.spritesheetId);
|
||||
for (const auto& null : content.nulls)
|
||||
std::println("null #{} {}", null.id, null.name);
|
||||
for (const auto& event : content.events)
|
||||
@@ -173,9 +179,9 @@ options:
|
||||
|
||||
auto issues = model::isaac_issues_get(model);
|
||||
std::println("isaac issues: {} eased frames, {} group transforms, {} skewed frames, {} shader frames, {} depth "
|
||||
"frames, {} trigger sounds",
|
||||
"frames, {} trigger sounds, {} animation layers",
|
||||
issues.easedFrames, issues.groupTransforms, issues.skewFrames, issues.shaderFrames, issues.depthFrames,
|
||||
issues.triggerSounds);
|
||||
issues.triggerSounds, issues.animationLayers);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user