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
@@ -28,6 +28,8 @@
|
||||
X(EVENT_ELEMENT, "Event") \
|
||||
X(SOUNDS, "Sounds") \
|
||||
X(SOUND_ELEMENT, "Sound") \
|
||||
X(LIBRARIES, "Libraries") \
|
||||
X(LIBRARY, "Library") \
|
||||
X(ANIMATIONS, "Animations") \
|
||||
X(ANIMATION, "Animation") \
|
||||
X(ROOT_ANIMATION, "RootAnimation") \
|
||||
@@ -70,6 +72,16 @@ namespace anm2ed
|
||||
COUNT
|
||||
};
|
||||
|
||||
// How an animation layer's child animation plays through a keyframe: looping, once (then holding its last frame),
|
||||
// or held at the keyframe's start frame.
|
||||
enum class ChildMode
|
||||
{
|
||||
LOOP,
|
||||
ONCE,
|
||||
HOLD,
|
||||
COUNT
|
||||
};
|
||||
|
||||
enum class ItemType
|
||||
{
|
||||
NONE,
|
||||
|
||||
Reference in new issue
Block a user