Isaac compatibility: Convert and Save bridges what the game can't show

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>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-28 22:59:35 -04:00
1 parent 065dd522f3
commit 8ef089d306
36 files changed
+771 -219

No files matched your search

+7 -1
View File
@@ -17,6 +17,7 @@ A regular save is different: it writes the game's `.anm2` XML, with the editor's
- **Ids are indices.** An item is referred to by its position in its array, starting at 0. - **Ids are indices.** An item is referred to by its position in its array, starting at 0.
- **Unknown keys, wrong types, unknown values and out-of-range indices** are reported by where they are (e.g. `animations.Idle.layers[0].frames[2].pos: expected an array of 2 numbers`); the document still opens, with the default in their place. - **Unknown keys, wrong types, unknown values and out-of-range indices** are reported by where they are (e.g. `animations.Idle.layers[0].frames[2].pos: expected an array of 2 numbers`); the document still opens, with the default in their place.
- **`createdOn`** is ISO 8601 local time. - **`createdOn`** is ISO 8601 local time.
- **`info.isaacIgnored`** is `true` when the document was last saved with Ignore and Save; see [XML saves](#xml-saves).
## Content ## Content
```json ```json
@@ -183,10 +184,15 @@ world = Root · GroupRoot · ( pos + Flip · Rotate · Skew · |scale| · (q −
## XML saves ## XML saves
A regular save writes the game's `.anm2` XML, keeping only what the game reads, followed by the editor's full copy as `<SourceDocument>` (the same data as the JSON, in XML): A regular save writes the game's `.anm2` XML, keeping only what the game reads, followed by the editor's full copy as `<SourceDocument>` (the same data as the JSON, in XML):
- **Default colors** (tints of 255, color offsets of 0) are left out of both copies, since readers assume them.
- **Animation layers** are flattened into plain layers, one per layer the child draws, named `layer/childLayer`. Their frames are baked one per frame and skew is dropped. A library's spritesheets are added with paths relative to the document. - **Animation layers** are flattened into plain layers, one per layer the child draws, named `layer/childLayer`. Their frames are baked one per frame and skew is dropped. A library's spritesheets are added with paths relative to the document.
- **Children's trigger events** join the animation's triggers, matched by name. - **Children's trigger events** join the animation's triggers, matched by name.
- **Triggers** keep one event each: the first. - **Triggers** keep one event each: the first.
- **Dropped attributes:** markers, depth, skew, alpha offset, blur, shaders, extra events, trigger sounds and libraries. - **Depth** is stood in for by copies of the layer, named for the depth (`body (depth +1)`), placed where the editor draws it, and each showing only the frames at its depth. Groups in such an animation have their roots baked into their tracks.
- **Alpha offsets** join the alpha tint (clamped), which matches on opaque pixels.
- **Skew, blur and shaders** are baked: each layer frame using one is drawn alone at 1x into `<name>.baked.png` beside the save (identical images once), and stands on a copy of its layer (`body (baked)`, on that spritesheet) right after it, one frame per step, while the layer hides those frames. A shaded frame's tint and color offset go into its image; others keep theirs. A skewed root (or group root) goes into its layers' images, and becomes plain; nulls take its transform without the skew. Children of animation layers are flattened first, without their skew. Baking needs OpenGL (`convert` makes a context); without it, these are dropped. Autosaves don't bake.
- These are what **Convert and Save** does; **Ignore and Save**, in the save's Isaac compatibility warning, leaves them out. The document remembers which (`info.isaacIgnored`) for saves that don't ask (the warning turned off, or `convert`).
- **Dropped attributes:** markers, extra events, trigger sounds and libraries.
- **SVG spritesheets** are offered for conversion to PNGs before saving. - **SVG spritesheets** are offered for conversion to PNGs before saving.
Older editor files saved without a game copy (the former extended format) still open, and are written as above when saved again. Older editor files saved without a game copy (the former extended format) still open, and are written as above when saved again.
+4 -1
View File
@@ -299,6 +299,9 @@ options:
std::println(stderr, "--format must be json or xml"); std::println(stderr, "--format must be json or xml");
return 2; return 2;
} }
// The game's copy bakes what it can't draw with OpenGL (and the document's shaders compile only with it).
std::optional<render::HeadlessGL> gl{};
if (format == "xml") gl.emplace();
std::string error{}; std::string error{};
Document document(arguments.file, false, &error); Document document(arguments.file, false, &error);
auto fileUtf8 = path::to_utf8(arguments.file); auto fileUtf8 = path::to_utf8(arguments.file);
@@ -309,7 +312,7 @@ options:
} }
if (!error.empty()) std::println(stderr, "{}:\n{}", fileUtf8, error); if (!error.empty()) std::println(stderr, "{}:\n{}", fileUtf8, error);
auto out = std::filesystem::absolute(arguments.get("out").transform(path::from_utf8).value_or(arguments.file)); auto out = std::filesystem::absolute(arguments.get("out").transform(path::from_utf8).value_or(arguments.file));
auto options = SAVE_OPTIONS_DEFAULT; Options options{};
options.isJson = format == "json"; options.isJson = format == "json";
if (document.save(out, &error, options)) return 0; if (document.save(out, &error, options)) return 0;
std::println(stderr, "could not write {}: {}", path::to_utf8(out), error); std::println(stderr, "could not write {}: {}", path::to_utf8(out), error);
+16 -2
View File
@@ -23,6 +23,7 @@
#include "model/xml.hpp" #include "model/xml.hpp"
#include "pack.hpp" #include "pack.hpp"
#include "path.hpp" #include "path.hpp"
#include "render.hpp"
#include "strings.hpp" #include "strings.hpp"
#include "toast.hpp" #include "toast.hpp"
#include "working_directory.hpp" #include "working_directory.hpp"
@@ -34,6 +35,7 @@ using namespace glm;
namespace anm2ed::document namespace anm2ed::document
{ {
constexpr std::string_view BAKED_EXTENSION = ".baked.png";
constexpr std::string_view AUTOSAVE_EXTENSION = ".autosave"; constexpr std::string_view AUTOSAVE_EXTENSION = ".autosave";
constexpr int VECTOR_LEVEL_MAX = 3; constexpr int VECTOR_LEVEL_MAX = 3;
constexpr int VECTOR_SIZE_MAX = 8192; constexpr int VECTOR_SIZE_MAX = 8192;
@@ -243,12 +245,22 @@ namespace anm2ed
}; };
} }
// Writes the document; a Rebirth document's game copy has its animation layers flattened into plain layers. // Writes the document; the game's copy has its animation layers flattened into plain layers, and what else the game
// can't show worked around.
bool Document::file_write(const std::filesystem::path& path, std::string* errorString, Options options) bool Document::file_write(const std::filesystem::path& path, std::string* errorString, Options options)
{ {
std::optional<model::Model> game{}; std::optional<model::Model> game{};
if (!options.isJson && std::ranges::any_of(model.content.layers, &model::Layer::is_animation)) if (!options.isJson)
{
game = edit::animation_layers_flatten(model, library_resolver_get(), spritesheet_path_resolver_get()); game = edit::animation_layers_flatten(model, library_resolver_get(), spritesheet_path_resolver_get());
if (!model.info.isIsaacIgnored)
{
auto bakedPath = path;
if (options.isPixelBaked)
render::frames_bake(*this, *game, bakedPath.replace_extension(document::BAKED_EXTENSION));
game = edit::isaac_bridge(std::move(*game));
}
}
options.gameModel = game ? &*game : nullptr; options.gameModel = game ? &*game : nullptr;
return model::model_save(model, path, errorString, options); return model::model_save(model, path, errorString, options);
} }
@@ -272,6 +284,8 @@ namespace anm2ed
{ {
auto autosavePath = autosave_path_get(); auto autosavePath = autosave_path_get();
auto autosavePathUtf8 = path::to_utf8(autosavePath); auto autosavePathUtf8 = path::to_utf8(autosavePath);
// An autosave is read back from the editor's copy, so the game's needs no baked spritesheet.
options.isPixelBaked = false;
if (file_write(autosavePath, errorString, options)) if (file_write(autosavePath, errorString, options))
{ {
for (auto id : spritesheets_autosave_dirty_get()) for (auto id : spritesheets_autosave_dirty_get())
+3 -3
View File
@@ -130,8 +130,8 @@ namespace anm2ed
Document& operator=(const Document&) = delete; Document& operator=(const Document&) = delete;
Document(Document&&) noexcept; Document(Document&&) noexcept;
Document& operator=(Document&&) noexcept; Document& operator=(Document&&) noexcept;
bool save(const std::filesystem::path& = {}, std::string* = nullptr, Options = SAVE_OPTIONS_DEFAULT); bool save(const std::filesystem::path& = {}, std::string* = nullptr, Options = {});
bool file_write(const std::filesystem::path&, std::string* = nullptr, Options = SAVE_OPTIONS_DEFAULT); bool file_write(const std::filesystem::path&, std::string* = nullptr, Options = {});
void assets_sync(); void assets_sync();
void texture_change(int); void texture_change(int);
bool texture_reload(int); bool texture_reload(int);
@@ -229,7 +229,7 @@ namespace anm2ed
void sounds_add(const std::vector<std::filesystem::path>&); void sounds_add(const std::vector<std::filesystem::path>&);
void libraries_add(const std::vector<std::filesystem::path>&); void libraries_add(const std::vector<std::filesystem::path>&);
bool autosave(std::string* = nullptr, Options = SAVE_OPTIONS_DEFAULT); bool autosave(std::string* = nullptr, Options = {});
std::filesystem::path autosave_path_get(); std::filesystem::path autosave_path_get();
std::filesystem::path path_from_autosave_get(const std::filesystem::path&); std::filesystem::path path_from_autosave_get(const std::filesystem::path&);
+1
View File
@@ -143,5 +143,6 @@ namespace anm2ed::edit
const std::set<int>& = {}); const std::set<int>& = {});
Uids content_remove(model::Model&, ElementType, const std::set<int>&, int, const model::LibraryGet&, Uids content_remove(model::Model&, ElementType, const std::set<int>&, int, const model::LibraryGet&,
const SpritesheetPathGet&); const SpritesheetPathGet&);
model::Model isaac_bridge(model::Model);
bool file_merge(model::Model&, const std::filesystem::path&, const std::filesystem::path&, FileMergePreset); bool file_merge(model::Model&, const std::filesystem::path&, const std::filesystem::path&, FileMergePreset);
} }
+120
View File
@@ -0,0 +1,120 @@
#include "edit.hpp"
#include <algorithm>
#include <format>
#include <map>
#include "math.hpp"
#include "model/frames.hpp"
using namespace anm2ed::model;
using namespace anm2ed::util;
namespace anm2ed::edit
{
// An alpha offset joins the alpha tint: exact on opaque pixels, which the offset can only fade.
void alpha_offsets_bridge(Model& model)
{
auto is_offset = [](const Frame& frame) { return math::float_to_uint8(frame.colorOffset.a) != 0; };
for (int i = 0; i < model.animations_count_get(); ++i)
{
auto isUsed = false;
animation_tracks_each(*model.animation_get(i),
[&](const Track& track) { isUsed |= std::ranges::any_of(track.frames, is_offset); });
if (!isUsed) continue;
animation_tracks_each(*model.animation_edit(i),
[&](Track& track)
{
if (track.type == ItemType::TRIGGER) return;
for (auto& frame : track.frames)
{
frame.tint.a = std::clamp(frame.tint.a + frame.colorOffset.a, 0.0f, 1.0f);
frame.colorOffset.a = 0.0f;
}
});
}
}
// A layer frame's depth becomes a copy of its layer, named for the depth, standing where the editor draws it (the
// layer at the copy's place + depth, past the layer already there), and showing only the frames at that depth; the
// layer itself shows the rest. Groups can't stand apart in the game, so their roots go into their tracks first.
void depths_bridge(Model& model)
{
auto& content = model.content;
std::map<std::pair<int, int>, int> copyIds{};
auto copy_id_get = [&](int layerId, int depth)
{
auto [it, isNew] = copyIds.try_emplace({layerId, depth});
if (!isNew) return it->second;
auto layer = item_get(content.layers, layerId) ? *item_get(content.layers, layerId) : Layer{};
layer.id = item_next_id_get(content.layers);
layer.name = std::format("{} (depth {:+})", layer.name, depth);
content.layers.push_back(layer);
return it->second = layer.id;
};
auto is_depth = [](const Frame& frame) { return frame.depth != 0; };
for (int i = 0; i < model.animations_count_get(); ++i)
{
auto isUsed = false;
tracks_each(model.animation_get(i)->layers,
[&](const Track& track, auto*) { isUsed |= std::ranges::any_of(track.frames, is_depth); });
if (!isUsed) continue;
auto& animation = *model.animation_edit(i);
std::vector<Track> tracks{};
for (auto& entry : animation.layers)
if (auto track = std::get_if<Track>(&entry))
tracks.push_back(std::move(*track));
else
{
auto& group = std::get<TrackGroup>(entry);
for (auto& groupTrack : group.tracks)
{
track_group_root_bake(groupTrack, group.root, animation.frameNum);
groupTrack.isVisible = groupTrack.isVisible && group.isVisible;
tracks.push_back(std::move(groupTrack));
}
}
// Each track's place in drawing order: (its position + depth, depth), kept in position order when equal.
std::vector<std::pair<std::pair<int, int>, Track>> placed{};
auto shown_set = [](Track& track, int depth)
{
for (auto& frame : track.frames)
{
frame.isVisible = frame.isVisible && frame.depth == depth;
frame.depth = 0;
}
};
for (int position = 0; position < (int)tracks.size(); ++position)
{
auto& track = tracks[position];
std::set<int> depths{};
for (const auto& frame : track.frames)
if (frame.depth != 0) depths.insert(frame.depth);
for (auto depth : depths)
{
auto copy = track;
copy.id = copy_id_get(track.id, depth);
shown_set(copy, depth);
placed.push_back({{position + depth, depth}, std::move(copy)});
}
shown_set(track, 0);
placed.push_back({{position, 0}, std::move(track)});
}
std::ranges::stable_sort(placed, {}, &std::pair<std::pair<int, int>, Track>::first);
animation.layers.clear();
for (auto& [order, track] : placed)
animation.layers.emplace_back(std::move(track));
}
}
// The game's copy with what the game can't show worked around (Convert and Save).
Model isaac_bridge(Model model)
{
alpha_offsets_bridge(model);
depths_bridge(model);
return model;
}
}
+23 -6
View File
@@ -405,25 +405,42 @@ namespace anm2ed::imgui
auto issues = model::isaac_issues_get(document->model); auto issues = model::isaac_issues_get(document->model);
for (auto [count, format] : {std::pair{issues.easedFrames, FORMAT_ISAAC_EASED_FRAMES}, for (auto [count, format] : {std::pair{issues.easedFrames, FORMAT_ISAAC_EASED_FRAMES},
{issues.groupTransforms, FORMAT_ISAAC_GROUP_TRANSFORMS}, {issues.groupTransforms, FORMAT_ISAAC_GROUP_TRANSFORMS},
{issues.skewFrames, FORMAT_ISAAC_SKEW_FRAMES}, {issues.animationLayers, FORMAT_ISAAC_ANIMATION_LAYERS},
{issues.shaderFrames, FORMAT_ISAAC_SHADER_FRAMES},
{issues.depthFrames, FORMAT_ISAAC_DEPTH_FRAMES}, {issues.depthFrames, FORMAT_ISAAC_DEPTH_FRAMES},
{issues.alphaOffsetFrames, FORMAT_ISAAC_ALPHA_OFFSET_FRAMES}, {issues.alphaOffsetFrames, FORMAT_ISAAC_ALPHA_OFFSET_FRAMES},
{issues.skewFrames, FORMAT_ISAAC_SKEW_FRAMES},
{issues.blurFrames, FORMAT_ISAAC_BLUR_FRAMES}, {issues.blurFrames, FORMAT_ISAAC_BLUR_FRAMES},
{issues.shaderFrames, FORMAT_ISAAC_SHADER_FRAMES},
{issues.extraEvents, FORMAT_ISAAC_EXTRA_EVENTS}, {issues.extraEvents, FORMAT_ISAAC_EXTRA_EVENTS},
{issues.triggerSounds, FORMAT_ISAAC_TRIGGER_SOUNDS}, {issues.triggerSounds, FORMAT_ISAAC_TRIGGER_SOUNDS},
{issues.animationLayers, FORMAT_ISAAC_ANIMATION_LAYERS},
{issues.vectorSpritesheets, FORMAT_ISAAC_VECTOR_SPRITESHEETS}}) {issues.vectorSpritesheets, FORMAT_ISAAC_VECTOR_SPRITESHEETS}})
if (count > 0) ImGui::BulletText("%s", localize_format(format, count).c_str()); if (count > 0) ImGui::BulletText("%s", localize_format(format, count).c_str());
ImGui::TextWrapped("%s", localize.get(TEXT_ISAAC_CONVERT));
ImGui::TextWrapped("%s", localize.get(TEXT_ISAAC_EDITOR_COPY)); ImGui::TextWrapped("%s", localize.get(TEXT_ISAAC_EDITOR_COPY));
} }
auto widgetSize = widget_size_with_row_get(2); // Converting works around what the game can't show; the document remembers which, for saves that don't ask.
shortcut(manager.chords[SHORTCUT_CONFIRM]); auto isConvertible = !settings.fileIsJson;
if (ImGui::Button(localize.get(LABEL_SAVE_ANYWAY), widgetSize)) auto widgetSize = widget_size_with_row_get(isConvertible ? 3 : 2);
auto save = [&](std::optional<bool> isIgnored)
{ {
if (isIgnored)
manager.command_push({isaacSave.index, [isIgnored = *isIgnored](Manager&, Document& document)
{
if (document.model.info.isIsaacIgnored == isIgnored) return;
document.edit_apply(EDIT_ISAAC_COMPATIBILITY, [&](model::Model& model)
{ model.info.isIsaacIgnored = isIgnored; });
}});
save_enqueue(manager, isaacSave); save_enqueue(manager, isaacSave);
isaacPopup.close(); isaacPopup.close();
};
shortcut(manager.chords[SHORTCUT_CONFIRM]);
if (ImGui::Button(localize.get(isConvertible ? LABEL_CONVERT_AND_SAVE : LABEL_SAVE_ANYWAY), widgetSize))
save(isConvertible ? std::optional(false) : std::nullopt);
if (isConvertible)
{
ImGui::SameLine();
if (ImGui::Button(localize.get(LABEL_IGNORE_AND_SAVE), widgetSize)) save(true);
} }
ImGui::SameLine(); ImGui::SameLine();
shortcut(manager.chords[SHORTCUT_CANCEL]); shortcut(manager.chords[SHORTCUT_CANCEL]);
-3
View File
@@ -87,9 +87,6 @@ namespace anm2ed::imgui::wizard
ImGui::SetItemTooltip("%s", localize.get(TOOLTIP_ISAAC_COMPATIBILITY_WARNING)); ImGui::SetItemTooltip("%s", localize.get(TOOLTIP_ISAAC_COMPATIBILITY_WARNING));
ImGui::SeparatorText(localize.get(LABEL_SERIALIZATION)); ImGui::SeparatorText(localize.get(LABEL_SERIALIZATION));
ImGui::Checkbox(localize.get(LABEL_PURGE_DEFAULT_COLORS), &temporary.fileIsPurgeDefaultColors);
ImGui::SetItemTooltip("%s", localize.get(TOOLTIP_PURGE_DEFAULT_COLORS));
ImGui::SameLine();
ImGui::Checkbox(localize.get(LABEL_SAVE_AS_JSON), &temporary.fileIsJson); ImGui::Checkbox(localize.get(LABEL_SAVE_AS_JSON), &temporary.fileIsJson);
ImGui::SetItemTooltip("%s", localize.get(TOOLTIP_SAVE_AS_JSON)); ImGui::SetItemTooltip("%s", localize.get(TOOLTIP_SAVE_AS_JSON));
} }
+1 -1
View File
@@ -470,7 +470,7 @@ namespace anm2ed
// What the manager keeps from the settings: shortcuts, and how documents save. // What the manager keeps from the settings: shortcuts, and how documents save.
void Manager::settings_apply(Settings& settings) void Manager::settings_apply(Settings& settings)
{ {
saveOptions = {.isPurgeDefaultColors = settings.fileIsPurgeDefaultColors, .isJson = settings.fileIsJson}; saveOptions = {.isJson = settings.fileIsJson};
for (int i = 0; i < SHORTCUT_COUNT; i++) for (int i = 0; i < SHORTCUT_COUNT; i++)
chords[i] = imgui::string_to_chord(settings.*SHORTCUT_MEMBERS[i]); chords[i] = imgui::string_to_chord(settings.*SHORTCUT_MEMBERS[i]);
} }
+1 -1
View File
@@ -52,7 +52,7 @@ namespace anm2ed
bool isAbleToRecord{}; bool isAbleToRecord{};
ImGuiKeyChord chords[SHORTCUT_COUNT]{}; ImGuiKeyChord chords[SHORTCUT_COUNT]{};
Options saveOptions{SAVE_OPTIONS_DEFAULT}; Options saveOptions{};
std::vector<std::filesystem::path> anm2DragDropPaths{}; std::vector<std::filesystem::path> anm2DragDropPaths{};
bool isAnm2DragDrop{}; bool isAnm2DragDrop{};
+1 -2
View File
@@ -174,11 +174,10 @@ namespace anm2ed
// game's copy when it differs from the document (animation layers flattened). // game's copy when it differs from the document (animation layers flattened).
struct Options struct Options
{ {
bool isPurgeDefaultColors{}; // leave out tints of 255 and color offsets of 0, which readers assume
bool isJson{}; // the editor's own JSON document instead bool isJson{}; // the editor's own JSON document instead
bool isPixelBaked{true}; // what the game can't draw is baked into a spritesheet beside the file
const model::Model* gameModel{}; const model::Model* gameModel{};
}; };
constexpr Options SAVE_OPTIONS_DEFAULT{.isPurgeDefaultColors = true};
#define FRAME_CHANGE_SCALARS \ #define FRAME_CHANGE_SCALARS \
X(cropX, crop.x, true, false, changeIsCropX, changeCrop.x) \ X(cropX, crop.x, true, false, changeIsCropX, changeCrop.x) \
+17
View File
@@ -66,6 +66,23 @@ namespace anm2ed::model
if (isRoundRotation) frame.rotation = std::round(frame.rotation); if (isRoundRotation) frame.rotation = std::round(frame.rotation);
} }
// For the game, a group root's transform is baked into its tracks one frame at a time.
void track_group_root_bake(Track& track, const Track& root, int frameNum)
{
auto trackLength = track_length_get(track);
if (trackLength <= 0) return;
auto length = std::max({trackLength, track_length_get(root), frameNum, FRAME_DURATION_MIN});
std::vector<Frame> frames{};
for (int time = 0; time < length; ++time)
{
auto& frame = frames.emplace_back(frame_generate(track, (float)time));
frame_root_transform_apply(frame, frame_generate(root, (float)time), false, false, false);
frame.duration = FRAME_DURATION_MIN;
frame.interpolation = Interpolation::NONE;
}
track.frames = std::move(frames);
}
// The track's state at a time: the frame playing then, mixed toward the next one when interpolated. A trigger is // The track's state at a time: the frame playing then, mixed toward the next one when interpolated. A trigger is
// returned only on its exact frame; otherwise the result is invisible. // returned only on its exact frame; otherwise the result is invisible.
Frame frame_generate(const Track& track, float time) Frame frame_generate(const Track& track, float time)
+1
View File
@@ -12,6 +12,7 @@ namespace anm2ed::model
glm::mat4 frame_parent_model_get(const Frame&); glm::mat4 frame_parent_model_get(const Frame&);
void frame_root_transform_apply(Frame&, const Frame&, bool, bool, bool); void frame_root_transform_apply(Frame&, const Frame&, bool, bool, bool);
Frame frame_generate(const Track&, float); Frame frame_generate(const Track&, float);
void track_group_root_bake(Track&, const Track&, int);
int frame_index_from_at_frame_get(const Track&, int); int frame_index_from_at_frame_get(const Track&, int);
int frame_index_from_time_get(const Track&, float); int frame_index_from_time_get(const Track&, float);
float frame_time_from_index_get(const Track&, int); float frame_time_from_index_get(const Track&, int);
+6 -5
View File
@@ -193,7 +193,7 @@ namespace anm2ed::model
} }
template <int L, class T, glm::qualifier Q> void value(const glm::vec<L, T, Q>& value) { array(value, L); } template <int L, class T, glm::qualifier Q> void value(const glm::vec<L, T, Q>& value) { array(value, L); }
void value(const std::vector<int>& value) { array(value, (int)value.size()); } template <class T> void value(const std::vector<T>& value) { array(value, (int)value.size()); }
template <class T> void field(std::string_view name, const T& value) template <class T> void field(std::string_view name, const T& value)
{ {
@@ -321,13 +321,13 @@ namespace anm2ed::model
return {}; return {};
} }
std::string_view value_read(dom::element element, std::vector<int>& value) template <class T> std::string_view value_read(dom::element element, std::vector<T>& value)
{ {
dom::array array{}; dom::array array{};
if (element.get(array)) return "an array of numbers"; if (element.get(array)) return "an array";
std::vector<int> read{}; std::vector<T> read{};
for (auto item : array) for (auto item : array)
if (!value_read(item, read.emplace_back()).empty()) return "an array of numbers"; if (auto expected = value_read(item, read.emplace_back()); !expected.empty()) return expected;
value = std::move(read); value = std::move(read);
return {}; return {};
} }
@@ -687,6 +687,7 @@ namespace anm2ed::model
infoIo.field("createdOn", model.info.createdOn, {}, date_to_iso, date_from_iso); infoIo.field("createdOn", model.info.createdOn, {}, date_to_iso, date_from_iso);
infoIo.field("fps", model.info.fps, Info{}.fps); infoIo.field("fps", model.info.fps, Info{}.fps);
infoIo.field("version", model.info.version, Info{}.version); infoIo.field("version", model.info.version, Info{}.version);
infoIo.field("isaacIgnored", model.info.isIsaacIgnored, false);
}, },
true); true);
io.list( io.list(
+1
View File
@@ -260,6 +260,7 @@ namespace anm2ed::model
std::string createdOn{}; std::string createdOn{};
int fps{30}; int fps{30};
int version{}; int version{};
bool isIsaacIgnored{}; // last saved with Ignore and Save: nothing the game can't show worked around; editor-only
Extras extras{}; Extras extras{};
bool operator==(const Info&) const = default; bool operator==(const Info&) const = default;
+13 -22
View File
@@ -44,6 +44,7 @@ namespace anm2ed::model
"XPivot", "YPivot", "XCrop", "YCrop", "XPosition", "YPosition", "Width", "Height", "XScale", "YScale", "SkewX", "XPivot", "YPivot", "XCrop", "YCrop", "XPosition", "YPosition", "Width", "Height", "XScale", "YScale", "SkewX",
"SkewY", "ShearX", "ShearY", "RedTint", "GreenTint", "BlueTint", "AlphaTint", "RedOffset", "GreenOffset", "BlueOffset", "AlphaOffset", "SkewY", "ShearX", "ShearY", "RedTint", "GreenTint", "BlueTint", "AlphaTint", "RedOffset", "GreenOffset", "BlueOffset", "AlphaOffset",
"Interpolated", "Origin", "BakeInterpolation", "BakeDelay", "BakeCount", "OriginalDelay", "Library", "Animation", "Interpolated", "Origin", "BakeInterpolation", "BakeDelay", "BakeCount", "OriginalDelay", "Library", "Animation",
"IsaacIgnored",
"ChildAnimation", "ChildMode", "ChildStart", "Restart", "Blur"}; "ChildAnimation", "ChildMode", "ChildStart", "Restart", "Blur"};
// clang-format on // clang-format on
constexpr std::pair<std::string_view, bool> BOOL_WORDS[] = {{"true", true}, {"True", true}, {"TRUE", true}, constexpr std::pair<std::string_view, bool> BOOL_WORDS[] = {{"true", true}, {"True", true}, {"TRUE", true},
@@ -815,6 +816,7 @@ namespace anm2ed::model
.createdOn = string_get(child, "CreatedOn"), .createdOn = string_get(child, "CreatedOn"),
.fps = int_get(child, "Fps", Info{}.fps), .fps = int_get(child, "Fps", Info{}.fps),
.version = int_get(child, "Version", 0), .version = int_get(child, "Version", 0),
.isIsaacIgnored = bool_get(child, "IsaacIgnored", false),
.extras = extras_read(child)}; .extras = extras_read(child)};
children_each(child, [&](pugi::xml_node infoChild, ElementType, int infoPosition) children_each(child, [&](pugi::xml_node infoChild, ElementType, int infoPosition)
{ extras_child_add(model.info.extras, infoChild, infoPosition); }); { extras_child_add(model.info.extras, infoChild, infoPosition); });
@@ -1439,23 +1441,6 @@ namespace anm2ed::model
return issues; return issues;
} }
// For the game, a group root's transform is baked into its tracks one frame at a time.
void track_group_root_bake(Track& track, const Track& root, int frameNum)
{
auto trackLength = track_length_get(track);
if (trackLength <= 0) return;
auto length = std::max({trackLength, track_length_get(root), frameNum, FRAME_DURATION_MIN});
std::vector<Frame> frames{};
for (int time = 0; time < length; ++time)
{
auto& frame = frames.emplace_back(frame_generate(track, (float)time));
frame_root_transform_apply(frame, frame_generate(root, (float)time), false, false, false);
frame.duration = FRAME_DURATION_MIN;
frame.interpolation = Interpolation::NONE;
}
track.frames = std::move(frames);
}
// The game's copy: group roots baked into their tracks (originals kept in a FrameRestore node the editor reads // The game's copy: group roots baked into their tracks (originals kept in a FrameRestore node the editor reads
// back), and interpolation flattened into single-step frames. // back), and interpolation flattened into single-step frames.
Animation animation_bake(const Writer& writer, Animation animation) Animation animation_bake(const Writer& writer, Animation animation)
@@ -1760,7 +1745,8 @@ namespace anm2ed::model
sink.open(tag.empty() ? tag_get(ElementType::ANIMATED_ACTOR) : tag); sink.open(tag.empty() ? tag_get(ElementType::ANIMATED_ACTOR) : tag);
extras_write(sink, model.extras); extras_write(sink, model.extras);
Children children{sink, model.extras}; Children children{sink, model.extras};
auto isInfo = model.info.fps != Info{}.fps || model.info.createdBy != Info{}.createdBy; auto isIgnored = writer.is(SERIALIZE_EXTENSIONS) && model.info.isIsaacIgnored;
auto isInfo = model.info.fps != Info{}.fps || model.info.createdBy != Info{}.createdBy || isIgnored;
for (auto type : layout_get(model.layout, {{ElementType::INFO, isInfo}, for (auto type : layout_get(model.layout, {{ElementType::INFO, isInfo},
{ElementType::CONTENT, true}, {ElementType::CONTENT, true},
{ElementType::ANIMATIONS, !model.animations.entries.empty()}})) {ElementType::ANIMATIONS, !model.animations.entries.empty()}}))
@@ -1774,6 +1760,7 @@ namespace anm2ed::model
sink.attribute("CreatedOn", model.info.createdOn); sink.attribute("CreatedOn", model.info.createdOn);
sink.attribute("Fps", model.info.fps); sink.attribute("Fps", model.info.fps);
sink.attribute("Version", model.info.version); sink.attribute("Version", model.info.version);
if (isIgnored) sink.attribute("IsaacIgnored", true);
extras_write(sink, model.info.extras); extras_write(sink, model.info.extras);
element_close(sink, model.info.extras); element_close(sink, model.info.extras);
} }
@@ -1782,12 +1769,16 @@ namespace anm2ed::model
sink.close(); sink.close();
} }
// A save is the game's document with the editor's own copy embedded as SourceDocument. // A save is the game's document with the editor's own copy embedded as SourceDocument; neither writes tints of 255
// or color offsets of 0, which readers assume.
void document_write(Sink& sink, const Model& model, Options options) void document_write(Sink& sink, const Model& model, Options options)
{ {
Flags purge = options.isPurgeDefaultColors ? SERIALIZE_PURGE_DEFAULT_COLORS : 0; model_write(
model_write(sink, options.gameModel ? *options.gameModel : model, SERIALIZE_ISAAC_DEFAULT | purge, sink, options.gameModel ? *options.gameModel : model, SERIALIZE_ISAAC_DEFAULT | SERIALIZE_PURGE_DEFAULT_COLORS,
[&]() { model_write(sink, model, SERIALIZE_ANM2ED_DEFAULT | purge, {}, SOURCE_DOCUMENT_TAG); }); [&]()
{
model_write(sink, model, SERIALIZE_ANM2ED_DEFAULT | SERIALIZE_PURGE_DEFAULT_COLORS, {}, SOURCE_DOCUMENT_TAG);
});
} }
// The text of whatever `write` sends to a sink. // The text of whatever `write` sends to a sink.
+265
View File
@@ -6,6 +6,9 @@
#include <cstring> #include <cstring>
#include <filesystem> #include <filesystem>
#include <format> #include <format>
#include <limits>
#include <map>
#include <optional>
#include <string> #include <string>
#include <string_view> #include <string_view>
@@ -19,8 +22,10 @@
#include "file.hpp" #include "file.hpp"
#include "log.hpp" #include "log.hpp"
#include "model/frames.hpp" #include "model/frames.hpp"
#include "pack.hpp"
#include "path.hpp" #include "path.hpp"
#include "process.hpp" #include "process.hpp"
#include "texture.hpp"
#include "toast.hpp" #include "toast.hpp"
using namespace anm2ed::imgui; using namespace anm2ed::imgui;
@@ -442,4 +447,264 @@ namespace anm2ed::render
recorder.finish(document, audioStream); recorder.finish(document, audioStream);
return path::is_exist(options.path); return path::is_exist(options.path);
} }
constexpr float BAKE_MARGIN = 1.0f;
constexpr int BAKED_SIZE_MAX = 4096;
// A layer draw alone at canvas pixels, cut to what it can cover (its blur's reach too): its image (straight alpha) and
// the canvas position of the image's top-left. Its tint and color offset go into the pixels only when `isColored`.
std::optional<std::pair<Image, glm::vec2>> draw_bake(Canvas& canvas, Shader& shader, Document& document,
const model::Draw& draw, bool isColored)
{
auto image = document.draw_image_get(draw, model::draw_scale_get(draw));
if (!image || !image->is_valid() || draw.frame.size == glm::vec2()) return {};
auto quad = draw.parent * model::draw_quad_model_get(draw);
glm::vec2 low{std::numeric_limits<float>::max()};
glm::vec2 high{std::numeric_limits<float>::lowest()};
for (auto corner : {glm::vec2(0.0f), glm::vec2(1.0f, 0.0f), glm::vec2(0.0f, 1.0f), glm::vec2(1.0f)})
{
auto point = glm::vec2(quad * glm::vec4(corner, 0.0f, 1.0f));
low = glm::min(low, point);
high = glm::max(high, point);
}
auto reach = draw.frame.blur + BAKE_MARGIN;
low = glm::floor(low - reach);
high = glm::ceil(high + reach);
auto size = glm::ivec2(high - low);
canvas.size_set(glm::vec2(size));
float zoom{};
glm::vec2 pan{};
canvas.set_to_rect(zoom, pan, glm::vec4(low, glm::vec2(size)));
canvas.bind();
canvas.viewport_set();
canvas.clear(glm::vec4(0.0f));
auto custom = document.shader_get(draw.frame.shaderId);
canvas.layer_render(custom ? *custom : shader, texture::id_get(*image), image->unit_size_get(),
canvas.transform_get(zoom, pan), draw, isColored ? draw.frame.tint : glm::vec4(1.0f),
isColored ? draw.frame.colorOffset : glm::vec4(0.0f));
auto pixels = canvas.pixels_get();
canvas.unbind();
pixels_unpremultiply(pixels);
return std::pair{Image(pixels.data(), size), low};
}
// The game's copy with the layer frames it can't draw baked into images: skewed, blurred or shaded ones, and every
// layer frame under a skewed root or group root, which then goes into the images (the root becomes plain). A layer has one spritesheet in the game, so baked frames stand on a copy of their layer
// ("name (baked)") right after it, one frame per step, while the layer hides them. The images (each once) are packed
// into one spritesheet written to `path`, beside the document; when it can't be, `result` keeps its frames.
void frames_bake(Document& document, model::Model& result, const std::filesystem::path& path)
{
auto game = result;
auto is_baked = [](const model::Frame& frame)
{ return frame.skew != glm::vec2() || frame.blur > 0.0f || frame.shaderId != -1; };
auto is_skewed = [](const model::Track& root)
{ return std::ranges::any_of(root.frames, [](const model::Frame& frame) { return frame.skew != glm::vec2(); }); };
std::vector<int> indices{};
for (int i = 0; i < game.animations_count_get(); ++i)
{
auto& animation = *game.animation_get(i);
auto isNeeded = is_skewed(animation.root);
model::tracks_each(
animation.layers, [&](const model::Track& track, const model::TrackGroup* group)
{ isNeeded |= (group && is_skewed(group->root)) || std::ranges::any_of(track.frames, is_baked); });
if (isNeeded) indices.push_back(i);
}
auto pathUtf8 = path::to_utf8(path);
if (indices.empty()) return;
if (!SDL_GL_GetCurrentContext()) return toast_log(Level::WARNING, TOAST_BAKE_NO_OPENGL, pathUtf8);
auto& textureInfo = shader::SHADERS[shader::TEXTURE];
Shader shader(textureInfo.vertex, textureInfo.fragment);
Canvas canvas(glm::vec2(1.0f));
auto& content = game.content;
auto spritesheetId = model::item_next_id_get(content.spritesheets);
std::vector<Image> images{};
std::map<std::size_t, std::vector<int>> imageHashes{};
auto image_index_get = [&](Image image)
{
auto hash =
std::hash<std::string_view>{}(std::string_view((const char*)image.pixels.data(), image.pixels.size()));
for (auto index : imageHashes[hash])
if (images[index].size == image.size && images[index].pixels == image.pixels) return index;
imageHashes[hash].push_back((int)images.size());
images.push_back(std::move(image));
return (int)images.size() - 1;
};
std::map<int, int> bakedLayerIds{};
auto baked_layer_id_get = [&](int layerId)
{
auto [it, isNew] = bakedLayerIds.try_emplace(layerId);
if (!isNew) return it->second;
auto layer = model::item_get(content.layers, layerId);
it->second = model::item_next_id_get(content.layers);
content.layers.push_back({.id = it->second,
.name = (layer ? layer->name : std::string{}) + " (baked)",
.spritesheetId = spritesheetId});
return it->second;
};
// Steps alike join into one frame.
auto step_add = [](model::Track& track, model::Frame frame)
{
frame.duration = FRAME_DURATION_MIN;
frame.interpolation = Interpolation::NONE;
if (!track.frames.empty())
{
auto last = track.frames.back();
last.uid = frame.uid;
last.duration = frame.duration;
if (last == frame) return (void)++track.frames.back().duration;
}
track.frames.push_back(frame);
};
for (auto index : indices)
{
auto& animation = *game.animation_edit(index);
auto isRootFolded = is_skewed(animation.root);
// A layer track's baked copy, the track left with the rest; nothing when no frame of it bakes.
auto track_bake = [&](model::Track& track, const model::Track* groupRoot) -> std::optional<model::Track>
{
auto isForced = isRootFolded || groupRoot;
auto layer = model::item_get(content.layers, track.id);
if (!layer || (!isForced && std::ranges::none_of(track.frames, is_baked))) return {};
model::Track plain{track};
plain.frames.clear();
model::Track baked{.type = ItemType::LAYER, .id = -1, .isVisible = track.isVisible};
auto isBaked = false;
auto length = std::max(model::track_length_get(track), animation.frameNum);
for (int time = 0; time < length; ++time)
{
auto frame = model::frame_generate(track, (float)time);
std::optional<std::pair<Image, glm::vec2>> bakedImage{};
model::Draw draw{.type = model::DrawType::LAYER,
.id = track.id,
.time = (float)time,
.frame = frame,
.source = &document.model,
.spritesheetId = layer->spritesheetId};
if (frame.isVisible && (isForced || is_baked(frame)))
{
for (auto* root :
std::initializer_list<const model::Track*>{isRootFolded ? &animation.root : nullptr, groupRoot})
if (root)
{
auto rootFrame = model::frame_generate(*root, (float)time);
draw.parent *= model::frame_parent_model_get(rootFrame);
draw.frame.tint *= rootFrame.tint;
draw.frame.colorOffset += rootFrame.colorOffset;
}
bakedImage = draw_bake(canvas, shader, document, draw, draw.frame.shaderId != -1);
}
if (!bakedImage)
{
step_add(plain, frame);
step_add(baked, model::Frame{.isVisible = false});
continue;
}
// The image stands where it was drawn, its region found once the images are packed (kept in regionId).
auto step = draw.frame;
if (step.shaderId != -1)
{
step.tint = glm::vec4(1.0f);
step.colorOffset = {};
}
step.crop = {};
step.size = glm::vec2(bakedImage->first.size);
step.pivot = {};
step.position = bakedImage->second;
step.scale = model::Frame{}.scale;
step.skew = {};
step.rotation = 0.0f;
step.blur = 0.0f;
step.shaderId = -1;
step.regionId = image_index_get(std::move(bakedImage->first));
step_add(baked, step);
step_add(plain, model::Frame{.isVisible = false});
isBaked = true;
}
if (!isBaked) return {};
baked.id = baked_layer_id_get(track.id);
track = std::move(plain);
return baked;
};
std::vector<model::TrackEntry> entries{};
for (auto& entry : animation.layers)
if (auto track = std::get_if<model::Track>(&entry))
{
auto baked = track_bake(*track, nullptr);
entries.emplace_back(std::move(*track));
if (baked) entries.emplace_back(std::move(*baked));
}
else
{
auto group = std::get<model::TrackGroup>(entry);
auto isGroupFolded = is_skewed(group.root);
std::vector<model::Track> tracks{};
for (auto& groupTrack : group.tracks)
{
auto baked = track_bake(groupTrack, isGroupFolded ? &group.root : nullptr);
tracks.push_back(std::move(groupTrack));
if (baked) tracks.push_back(std::move(*baked));
}
group.tracks = std::move(tracks);
if (isGroupFolded) group.root = model::TrackGroup{}.root;
entries.emplace_back(std::move(group));
}
animation.layers = std::move(entries);
// A folded root's transform goes into the nulls too (their group roots first), and the root becomes plain.
if (!isRootFolded) continue;
for (auto& entry : animation.nulls)
if (auto track = std::get_if<model::Track>(&entry))
model::track_group_root_bake(*track, animation.root, animation.frameNum);
else
{
auto& group = std::get<model::TrackGroup>(entry);
for (auto& groupTrack : group.tracks)
{
model::track_group_root_bake(groupTrack, group.root, animation.frameNum);
model::track_group_root_bake(groupTrack, animation.root, animation.frameNum);
}
group.root = model::TrackGroup{}.root;
}
animation.root = model::Animation{}.root;
}
if (images.empty()) return;
std::vector<glm::ivec2> sizes{};
for (const auto& image : images)
sizes.push_back(image.size);
glm::ivec2 packedSize{};
std::vector<glm::ivec2> positions{};
pack::rects_pack(sizes, packedSize, positions);
std::vector<ImagePart> parts{};
for (int i = 0; i < (int)images.size(); ++i)
parts.push_back({.image = &images[i], .size = images[i].size, .destination = positions[i]});
if (!Image::compose(parts, packedSize, false).write_png(path))
return toast_log(Level::ERROR, TOAST_BAKE_WRITE_FAILED, pathUtf8);
if (packedSize.x > BAKED_SIZE_MAX || packedSize.y > BAKED_SIZE_MAX)
toast_log(Level::WARNING, TOAST_BAKE_LARGE, pathUtf8, packedSize.x, packedSize.y, BAKED_SIZE_MAX);
content.spritesheets.push_back({.id = spritesheetId, .path = path.filename()});
std::set<int> bakedIds{};
for (auto [layerId, bakedId] : bakedLayerIds)
bakedIds.insert(bakedId);
for (auto index : indices)
model::tracks_each(game.animation_edit(index)->layers,
[&](model::Track& track, auto*)
{
if (!bakedIds.contains(track.id)) return;
for (auto& frame : track.frames)
if (frame.regionId != -1)
{
frame.crop = glm::vec2(positions[frame.regionId]);
frame.regionId = -1;
}
});
result = std::move(game);
}
} }
+2
View File
@@ -21,6 +21,7 @@ namespace anm2ed
namespace anm2ed::model namespace anm2ed::model
{ {
struct Animation; struct Animation;
class Model;
} }
namespace anm2ed::resource namespace anm2ed::resource
@@ -144,6 +145,7 @@ namespace anm2ed::render
std::vector<uint8_t> animation_frame_render(Canvas&, resource::Shader&, Document&, const model::Animation&, float, std::vector<uint8_t> animation_frame_render(Canvas&, resource::Shader&, Document&, const model::Animation&, float,
glm::vec4, float, glm::vec4, bool); glm::vec4, float, glm::vec4, bool);
void pixels_unpremultiply(std::vector<uint8_t>&); void pixels_unpremultiply(std::vector<uint8_t>&);
void frames_bake(Document&, model::Model&, const std::filesystem::path&);
struct RecorderOptions struct RecorderOptions
{ {
+12 -7
View File
@@ -127,6 +127,7 @@ namespace anm2ed
X(EDIT_FRAME_CHILD, "Frame Child", "Hijo del Frame", "Дочерняя анимация кадра", "帧子动画", "프레임 자식") \ X(EDIT_FRAME_CHILD, "Frame Child", "Hijo del Frame", "Дочерняя анимация кадра", "帧子动画", "프레임 자식") \
X(EDIT_FRAME_DEPTH, "Frame Depth", "Profundidad del Frame", "Глубина кадра", "帧深度", "프레임 깊이") \ X(EDIT_FRAME_DEPTH, "Frame Depth", "Profundidad del Frame", "Глубина кадра", "帧深度", "프레임 깊이") \
X(EDIT_FRAME_BLUR, "Frame Blur", "Desenfoque del Frame", "Размытие кадра", "帧模糊", "프레임 흐림") \ X(EDIT_FRAME_BLUR, "Frame Blur", "Desenfoque del Frame", "Размытие кадра", "帧模糊", "프레임 흐림") \
X(EDIT_ISAAC_COMPATIBILITY, "Isaac Compatibility", "Compatibilidad con Isaac", "Совместимость с Isaac", "Isaac 兼容性", "Isaac 호환성") \
X(EDIT_PASTE_FRAME_PROPERTY, "Paste Frame Property", "Pegar Propiedad del Frame", "Вставка свойства кадра", "粘贴帧属性", "프레임 속성 붙여넣기") \ X(EDIT_PASTE_FRAME_PROPERTY, "Paste Frame Property", "Pegar Propiedad del Frame", "Вставка свойства кадра", "粘贴帧属性", "프레임 속성 붙여넣기") \
X(EDIT_PASTE_LIBRARIES, "Paste Libraries", "Pegar Bibliotecas", "Вставить библиотеки", "粘贴库", "라이브러리 붙여넣기") \ X(EDIT_PASTE_LIBRARIES, "Paste Libraries", "Pegar Bibliotecas", "Вставить библиотеки", "粘贴库", "라이브러리 붙여넣기") \
X(EDIT_REMOVE_MARKERS, "Remove Markers", "Quitar Marcadores", "Удаление маркеров", "移除标记", "마커 제거") \ X(EDIT_REMOVE_MARKERS, "Remove Markers", "Quitar Marcadores", "Удаление маркеров", "移除标记", "마커 제거") \
@@ -223,15 +224,15 @@ namespace anm2ed
X(FORMAT_DURATION, "Duration: {0}", "Duracion: {0}", "Продолжительность: {0}", "时长: {0}", "유지 시간: {0}") \ X(FORMAT_DURATION, "Duration: {0}", "Duracion: {0}", "Продолжительность: {0}", "时长: {0}", "유지 시간: {0}") \
X(FORMAT_EVENT_LABEL, "Event: {0}", "Evento: {0}", "Событие: {0}", "事件: {0}", "이벤트: {0}") \ X(FORMAT_EVENT_LABEL, "Event: {0}", "Evento: {0}", "Событие: {0}", "事件: {0}", "이벤트: {0}") \
X(FORMAT_ID, "ID: {0}", "ID: {0}", "ID: {0}", "ID: {0}", "ID: {0}") \ X(FORMAT_ID, "ID: {0}", "ID: {0}", "ID: {0}", "ID: {0}", "ID: {0}") \
X(FORMAT_ISAAC_ALPHA_OFFSET_FRAMES, "{} frame(s) use an alpha offset, which the game doesn't support; it will be dropped.", "{} Frame(s) usan un desplazamiento de alfa, que el juego no soporta; se descartará.", "{} кадр(ов) используют смещение альфы, которое игра не поддерживает; оно будет отброшено.", "{} 帧使用了透明度偏移,游戏不支持;将被丢弃。", "{}개의 프레임이 알파 오프셋을 사용합니다. 게임에서 지원하지 않으므로 제거됩니다.") \ X(FORMAT_ISAAC_ALPHA_OFFSET_FRAMES, "{} frame(s) use an alpha offset, which the game doesn't support.", "{} Frame(s) usan un desplazamiento de alfa, que el juego no soporta.", "{} кадр(ов) используют смещение альфы, которое игра не поддерживает.", "{} 帧使用了游戏不支持的透明度偏移。", "{}개 프레임이 게임에서 지원하지 않는 알파 오프셋을 사용합니다.") \
X(FORMAT_ISAAC_ANIMATION_LAYERS, "{} layer(s) play animations, which the game doesn't support; they will be flattened into plain layers (one per layer of the animation, a frame at a time, without skew).", "{} capa(s) reproducen animaciones, que el juego no soporta; se aplanarán en capas normales (una por capa de la animación, Frame a Frame, sin inclinación).", "{} слой(ёв) проигрывают анимации, которые игра не поддерживает; они будут развёрнуты в обычные слои (по одному на слой анимации, покадрово, без наклона).", "{} 个图层播放动画,游戏不支持;它们将被展开为普通图层(动画的每个图层一个,逐帧,无倾斜)。", "{}개의 레이어가 애니메이션을 재생합니다. 게임에서 지원하지 않으므로 일반 레이어로 펼쳐집니다(애니메이션의 레이어마다 하나씩, 프레임 단위, 기울이기 제외).") \ X(FORMAT_ISAAC_ANIMATION_LAYERS, "{} layer(s) play animations, which the game doesn't support; they will be flattened into plain layers (one per layer of the animation, a frame at a time, without skew).", "{} capa(s) reproducen animaciones, que el juego no soporta; se aplanarán en capas normales (una por capa de la animación, Frame a Frame, sin inclinación).", "{} слой(ёв) проигрывают анимации, которые игра не поддерживает; они будут развёрнуты в обычные слои (по одному на слой анимации, покадрово, без наклона).", "{} 个图层播放动画,游戏不支持;它们将被展开为普通图层(动画的每个图层一个,逐帧,无倾斜)。", "{}개의 레이어가 애니메이션을 재생합니다. 게임에서 지원하지 않으므로 일반 레이어로 펼쳐집니다(애니메이션의 레이어마다 하나씩, 프레임 단위, 기울이기 제외).") \
X(FORMAT_ISAAC_BLUR_FRAMES, "{} frame(s) blur their layer, which the game doesn't support; they will draw sharp.", "{} Frame(s) desenfocan su capa, que el juego no soporta; se dibujarán nítidos.", "{} кадр(ов) размывают слой, что игра не поддерживает; они будут нарисованы чётко.", "{} 个帧模糊了图层,游戏不支持,将清晰绘制。", "프레임 {}개가 게임이 지원하지 않는 레이어 흐림을 사용합니다. 선명하게 그려집니다.") \ X(FORMAT_ISAAC_BLUR_FRAMES, "{} frame(s) blur their layer, which the game doesn't support.", "{} Frame(s) desenfocan su capa, que el juego no soporta.", "{} кадр(ов) размывают слой, что игра не поддерживает.", "{} 帧模糊了其图层,游戏不支持。", "{}개 프레임이 레이어를 흐리게 하며, 게임에서 지원하지 않습니다.") \
X(FORMAT_ISAAC_DEPTH_FRAMES, "{} frame(s) change their layer's depth, which the game doesn't support; they will draw in timeline order.", "{} Frame(s) cambian la profundidad de su capa, que el juego no soporta; se dibujarán en el orden de la línea de tiempo.", "{} кадр(ов) меняют глубину слоя, что игра не поддерживает; они будут рисоваться в порядке таймлайна.", "{} 个帧改变了图层深度,游戏不支持,将按时间轴顺序绘制。", "프레임 {}개가 게임이 지원하지 않는 레이어 깊이를 바꿉니다. 타임라인 순서로 그려집니다.") \ X(FORMAT_ISAAC_DEPTH_FRAMES, "{} frame(s) change their layer's depth, which the game doesn't support.", "{} Frame(s) cambian la profundidad de su capa, que el juego no soporta.", "{} кадр(ов) меняют глубину слоя, что игра не поддерживает.", "{} 帧更改了其图层的深度,游戏不支持。", "{}개 프레임이 레이어 깊이를 바꾸며, 게임에서 지원하지 않습니다.") \
X(FORMAT_ISAAC_EASED_FRAMES, "{} eased frame(s) will be baked into one-frame steps.", "{} Frame(s) con suavizado se convertirán en pasos de un Frame.", "{} кадр(ов) со сглаживанием будут запечены в покадровые шаги.", "{} 个缓动帧将被烘焙为逐帧步进。", "이징 프레임 {}개가 1프레임 단위로 베이크됩니다.") \ X(FORMAT_ISAAC_EASED_FRAMES, "{} eased frame(s) will be baked into one-frame steps.", "{} Frame(s) con suavizado se convertirán en pasos de un Frame.", "{} кадр(ов) со сглаживанием будут запечены в покадровые шаги.", "{} 个缓动帧将被烘焙为逐帧步进。", "이징 프레임 {}개가 1프레임 단위로 베이크됩니다.") \
X(FORMAT_ISAAC_EXTRA_EVENTS, "{} trigger event(s) after a trigger's first, which the game doesn't support; they will be dropped.", "{} evento(s) después del primero de un trigger, que el juego no soporta; se descartarán.", "{} событие(й) после первого в триггере, что игра не поддерживает; они будут отброшены.", "{} 个触发器中第一个之后的事件,游戏不支持;将被丢弃。", "트리거의 첫 번째 이후 이벤트 {}개는 게임에서 지원하지 않으므로 제거됩니다.") \ X(FORMAT_ISAAC_EXTRA_EVENTS, "{} trigger event(s) after a trigger's first, which the game doesn't support; they will be dropped.", "{} evento(s) después del primero de un trigger, que el juego no soporta; se descartarán.", "{} событие(й) после первого в триггере, что игра не поддерживает; они будут отброшены.", "{} 个触发器中第一个之后的事件,游戏不支持;将被丢弃。", "트리거의 첫 번째 이후 이벤트 {}개는 게임에서 지원하지 않으므로 제거됩니다.") \
X(FORMAT_ISAAC_GROUP_TRANSFORMS, "{} group transform(s) will be baked into their items' frames.", "{} transformación(es) de grupo se aplicarán a los Frames de sus elementos.", "{} трансформаци(й) групп будут запечены в кадры их элементов.", "{} 个组变换将被烘焙到其项目的帧中。", "그룹 변형 {}개가 항목의 프레임에 베이크됩니다.") \ X(FORMAT_ISAAC_GROUP_TRANSFORMS, "{} group transform(s) will be baked into their items' frames.", "{} transformación(es) de grupo se aplicarán a los Frames de sus elementos.", "{} трансформаци(й) групп будут запечены в кадры их элементов.", "{} 个组变换将被烘焙到其项目的帧中。", "그룹 변형 {}개가 항목의 프레임에 베이크됩니다.") \
X(FORMAT_ISAAC_SHADER_FRAMES, "{} frame(s) use shaders, which the game doesn't support; they will be dropped.", "{} Frame(s) usan shaders, que el juego no soporta; se descartarán.", "{} кадр(ов) используют шейдеры, которые игра не поддерживает; они будут отброшены.", "{} 个帧使用了着色器,游戏不支持,将被舍弃。", "프레임 {}개가 게임이 지원하지 않는 셰이더를 사용합니다. 셰이더는 제거됩니다.") \ X(FORMAT_ISAAC_SHADER_FRAMES, "{} frame(s) use shaders, which the game doesn't support.", "{} Frame(s) usan shaders, que el juego no soporta.", "{} кадр(ов) используют шейдеры, которые игра не поддерживает.", "{} 帧使用了游戏不支持的着色器。", "{}개 프레임이 게임에서 지원하지 않는 셰이더를 사용합니다.") \
X(FORMAT_ISAAC_SKEW_FRAMES, "{} frame(s) use skew, which the game doesn't support; it will be dropped.", "{} Frame(s) usan inclinación, que el juego no soporta; se descartará.", "{} кадр(ов) используют наклон, который игра не поддерживает; он будет отброшен.", "{} 个帧使用了斜切,游戏不支持,将被舍弃。", "프레임 {}개가 게임이 지원하지 않는 기울이기를 사용합니다. 기울이기는 제거됩니다.") \ X(FORMAT_ISAAC_SKEW_FRAMES, "{} frame(s) use skew, which the game doesn't support.", "{} Frame(s) usan inclinación, que el juego no soporta.", "{} кадр(ов) используют наклон, который игра не поддерживает.", "{} 帧使用了游戏不支持的倾斜。", "{}개 프레임이 게임에서 지원하지 않는 기울이기를 사용합니다.") \
X(FORMAT_ISAAC_TRIGGER_SOUNDS, "{} trigger(s) have sounds, which the game doesn't read from animations; they will be dropped.", "{} disparador(es) tienen sonidos, que el juego no lee de las animaciones; se descartarán.", "{} триггер(ов) имеют звуки, которые игра не читает из анимаций; они будут отброшены.", "{} 个触发器带有声音,游戏不会从动画中读取,将被舍弃。", "트리거 {}개에 게임이 애니메이션에서 읽지 않는 사운드가 있습니다. 사운드는 제거됩니다.") \ X(FORMAT_ISAAC_TRIGGER_SOUNDS, "{} trigger(s) have sounds, which the game doesn't read from animations; they will be dropped.", "{} disparador(es) tienen sonidos, que el juego no lee de las animaciones; se descartarán.", "{} триггер(ов) имеют звуки, которые игра не читает из анимаций; они будут отброшены.", "{} 个触发器带有声音,游戏不会从动画中读取,将被舍弃。", "트리거 {}개에 게임이 애니메이션에서 읽지 않는 사운드가 있습니다. 사운드는 제거됩니다.") \
X(FORMAT_ISAAC_VECTOR_SPRITESHEETS, "{} spritesheet(s) are SVGs, which the game can't load; export them as PNGs for it.", "{} spritesheet(s) son SVG, que el juego no puede cargar; expórtalos como PNG para él.", "{} спрайт-лист(ов) в формате SVG, который игра не может загрузить; экспортируйте их в PNG.", "{} 个图集是 SVG,游戏无法加载;请将其导出为 PNG。", "{}개의 스프라이트 시트가 SVG라서 게임에서 불러올 수 없습니다. PNG로 내보내세요.") \ X(FORMAT_ISAAC_VECTOR_SPRITESHEETS, "{} spritesheet(s) are SVGs, which the game can't load; export them as PNGs for it.", "{} spritesheet(s) son SVG, que el juego no puede cargar; expórtalos como PNG para él.", "{} спрайт-лист(ов) в формате SVG, который игра не может загрузить; экспортируйте их в PNG.", "{} 个图集是 SVG,游戏无法加载;请将其导出为 PNG。", "{}개의 스프라이트 시트가 SVG라서 게임에서 불러올 수 없습니다. PNG로 내보내세요.") \
X(FORMAT_LAYER_ANIMATION, "#{0} {1} (Animation: {2})", "#{0} {1} (Animación: {2})", "#{0} {1} (Анимация: {2})", "#{0} {1} (动画: {2})", "#{0} {1} (애니메이션: {2})") \ X(FORMAT_LAYER_ANIMATION, "#{0} {1} (Animation: {2})", "#{0} {1} (Animación: {2})", "#{0} {1} (Анимация: {2})", "#{0} {1} (动画: {2})", "#{0} {1} (애니메이션: {2})") \
@@ -288,11 +289,13 @@ namespace anm2ed
X(LABEL_AUTO_RESOURCE_RELOAD, "Auto Resource Reload", "Recarga Automática de Recursos", "Автоперезагрузка ресурсов", "自动重新加载资源", "리소스 자동 새로고침") \ X(LABEL_AUTO_RESOURCE_RELOAD, "Auto Resource Reload", "Recarga Automática de Recursos", "Автоперезагрузка ресурсов", "自动重新加载资源", "리소스 자동 새로고침") \
X(LABEL_CHILD, "Child", "Hijo", "Дочерняя", "子动画", "자식") \ X(LABEL_CHILD, "Child", "Hijo", "Дочерняя", "子动画", "자식") \
X(LABEL_CONVERT, "Convert", "Convertir", "Преобразовать", "转换", "변환") \ X(LABEL_CONVERT, "Convert", "Convertir", "Преобразовать", "转换", "변환") \
X(LABEL_CONVERT_AND_SAVE, "Convert and Save", "Convertir y Guardar", "Преобразовать и сохранить", "转换并保存", "변환 후 저장") \
X(LABEL_CONVERT_SVG_POPUP, "Convert SVG Spritesheets", "Convertir Spritesheets SVG", "Преобразовать SVG спрайт-листы", "转换 SVG 图集", "SVG 스프라이트 시트 변환") \ X(LABEL_CONVERT_SVG_POPUP, "Convert SVG Spritesheets", "Convertir Spritesheets SVG", "Преобразовать SVG спрайт-листы", "转换 SVG 图集", "SVG 스프라이트 시트 변환") \
X(LABEL_DETACHABLE_WINDOWS, "Detachable Windows", "Ventanas Desacoplables", "Отделяемые окна", "可分离窗口", "분리 가능한 창") \ X(LABEL_DETACHABLE_WINDOWS, "Detachable Windows", "Ventanas Desacoplables", "Отделяемые окна", "可分离窗口", "분리 가능한 창") \
X(LABEL_DOCUMENTS_ADD_AS_LIBRARY, "Add as Library", "Añadir como Biblioteca", "Добавить как библиотеку", "添加为库", "라이브러리로 추가") \ X(LABEL_DOCUMENTS_ADD_AS_LIBRARY, "Add as Library", "Añadir como Biblioteca", "Добавить как библиотеку", "添加为库", "라이브러리로 추가") \
X(LABEL_EVENTS, "Events", "Eventos", "События", "事件", "이벤트") \ X(LABEL_EVENTS, "Events", "Eventos", "События", "事件", "이벤트") \
X(LABEL_HOLD, "Hold", "Mantener", "Удерживать", "保持", "유지") \ X(LABEL_HOLD, "Hold", "Mantener", "Удерживать", "保持", "유지") \
X(LABEL_IGNORE_AND_SAVE, "Ignore and Save", "Ignorar y Guardar", "Игнорировать и сохранить", "忽略并保存", "무시하고 저장") \
X(LABEL_ISAAC_COMPATIBILITY_WARNING, "Isaac Compatibility Warning", "Advertencia de Compatibilidad con Isaac", "Предупреждение о совместимости с Isaac", "Isaac 兼容性警告", "Isaac 호환성 경고") \ X(LABEL_ISAAC_COMPATIBILITY_WARNING, "Isaac Compatibility Warning", "Advertencia de Compatibilidad con Isaac", "Предупреждение о совместимости с Isaac", "Isaac 兼容性警告", "Isaac 호환성 경고") \
X(LABEL_KEEP_SVG, "Keep SVG", "Mantener SVG", "Оставить SVG", "保留 SVG", "SVG 유지") \ X(LABEL_KEEP_SVG, "Keep SVG", "Mantener SVG", "Оставить SVG", "保留 SVG", "SVG 유지") \
X(LABEL_LAYER_SOURCE, "Source", "Fuente", "Источник", "来源", "소스") \ X(LABEL_LAYER_SOURCE, "Source", "Fuente", "Источник", "来源", "소스") \
@@ -302,7 +305,6 @@ namespace anm2ed
X(LABEL_ONLY_SELECTED_ITEM, "Only Selected Item", "Solo el Elemento Seleccionado", "Только выбранный элемент", "仅选中项目", "선택한 항목만") \ X(LABEL_ONLY_SELECTED_ITEM, "Only Selected Item", "Solo el Elemento Seleccionado", "Только выбранный элемент", "仅选中项目", "선택한 항목만") \
X(LABEL_PIVOT_PATH, "Pivot Path", "Trayectoria del Pivote", "Путь опорной точки", "枢轴路径", "피벗 경로") \ X(LABEL_PIVOT_PATH, "Pivot Path", "Trayectoria del Pivote", "Путь опорной точки", "枢轴路径", "피벗 경로") \
X(LABEL_PROPERTY, "Property", "Propiedad", "Свойство", "属性", "속성") \ X(LABEL_PROPERTY, "Property", "Propiedad", "Свойство", "属性", "속성") \
X(LABEL_PURGE_DEFAULT_COLORS, "Purge Default Color Values", "Omitir Valores de Color por Defecto", "Убирать цвета по умолчанию", "清除默认颜色值", "기본 색상 값 제거") \
X(LABEL_RANDOM, "Random", "Aleatorio", "Случайно", "随机", "무작위") \ X(LABEL_RANDOM, "Random", "Aleatorio", "Случайно", "随机", "무작위") \
X(LABEL_RASTERIZE, "Rasterize", "Rasterizar", "Растеризовать", "栅格化", "래스터화") \ X(LABEL_RASTERIZE, "Rasterize", "Rasterizar", "Растеризовать", "栅格化", "래스터화") \
X(LABEL_REMOVE_IN_USE, "Remove Items in Use", "Remover Elementos en Uso", "Удалить используемые элементы", "删除正在使用的项目", "사용 중인 항목 제거") \ X(LABEL_REMOVE_IN_USE, "Remove Items in Use", "Remover Elementos en Uso", "Удалить используемые элементы", "删除正在使用的项目", "사용 중인 항목 제거") \
@@ -569,6 +571,7 @@ namespace anm2ed
X(SHORTCUT_STRING_ZOOM_OUT, "Zoom Out", "Zoom Out", "Уменьшить", "视图缩小", "축소") \ X(SHORTCUT_STRING_ZOOM_OUT, "Zoom Out", "Zoom Out", "Уменьшить", "视图缩小", "축소") \
X(SNAPSHOT_RENAME_ANIMATION, "Rename Animation", "Renombrar Animacion", "Переименовать анимацию", "重命名动画", "애니메이션 이름 바꾸기") \ X(SNAPSHOT_RENAME_ANIMATION, "Rename Animation", "Renombrar Animacion", "Переименовать анимацию", "重命名动画", "애니메이션 이름 바꾸기") \
X(TEXT_CONVERT_SVG, "Rebirth can't load SVG spritesheets. Convert the ones layers use into PNGs beside them, and use those instead?", "Rebirth no puede cargar spritesheets SVG. ¿Convertir los que usan las capas en PNG junto a ellos y usar esos?", "Rebirth не может загружать SVG спрайт-листы. Преобразовать используемые слоями в PNG рядом с ними и использовать их?", "Rebirth 无法加载 SVG 图集。要将图层使用的图集转换为旁边的 PNG 并改用它们吗?", "Rebirth는 SVG 스프라이트 시트를 불러올 수 없습니다. 레이어가 사용하는 시트를 옆에 PNG로 변환해 대신 사용할까요?") \ X(TEXT_CONVERT_SVG, "Rebirth can't load SVG spritesheets. Convert the ones layers use into PNGs beside them, and use those instead?", "Rebirth no puede cargar spritesheets SVG. ¿Convertir los que usan las capas en PNG junto a ellos y usar esos?", "Rebirth не может загружать SVG спрайт-листы. Преобразовать используемые слоями в PNG рядом с ними и использовать их?", "Rebirth 无法加载 SVG 图集。要将图层使用的图集转换为旁边的 PNG 并改用它们吗?", "Rebirth는 SVG 스프라이트 시트를 불러올 수 없습니다. 레이어가 사용하는 시트를 옆에 PNG로 변환해 대신 사용할까요?") \
X(TEXT_ISAAC_CONVERT, "Convert and Save works around depth, alpha offsets, skew, blur and shaders in the game's copy (layer copies, the alpha tint, and images baked into a spritesheet beside the file). Ignore and Save leaves them out.", "Convertir y Guardar resuelve profundidad, desplazamientos de alfa, inclinación, desenfoque y shaders en la copia del juego (copias de capas, el tinte de alfa e imágenes horneadas en un spritesheet junto al archivo). Ignorar y Guardar los deja fuera.", "«Преобразовать и сохранить» обходит глубину, смещения альфы, наклон, размытие и шейдеры в копии для игры (копии слоёв, оттенок альфы и изображения, запечённые в спрайт-лист рядом с файлом). «Игнорировать и сохранить» их отбрасывает.", "“转换并保存”会在游戏副本中变通处理深度、透明度偏移、倾斜、模糊和着色器(图层副本、透明度色调,以及烘焙到文件旁图集中的图像)。“忽略并保存”则将其舍弃。", "변환 후 저장은 게임용 사본에서 깊이, 알파 오프셋, 기울이기, 흐림, 셰이더를 우회합니다 (레이어 복사본, 알파 틴트, 파일 옆 스프라이트 시트에 구운 이미지). 무시하고 저장은 이를 빼고 저장합니다.") \
X(TEXT_ISAAC_EDITOR_COPY, "The editor's own copy inside the file keeps everything.", "La copia del editor dentro del archivo lo conserva todo.", "Копия редактора внутри файла сохраняет всё.", "文件内的编辑器副本会保留所有内容。", "파일 안의 편집기 사본에는 모든 것이 그대로 남습니다.") \ X(TEXT_ISAAC_EDITOR_COPY, "The editor's own copy inside the file keeps everything.", "La copia del editor dentro del archivo lo conserva todo.", "Копия редактора внутри файла сохраняет всё.", "文件内的编辑器副本会保留所有内容。", "파일 안의 편집기 사본에는 모든 것이 그대로 남습니다.") \
X(TEXT_ISAAC_ISSUES, "Some of this file won't work in the game as it is:", "Parte de este archivo no funcionará tal cual en el juego:", "Часть этого файла не будет работать в игре как есть:", "此文件的部分内容在游戏中无法按原样工作:", "이 파일의 일부는 게임에서 그대로 작동하지 않습니다:") \ X(TEXT_ISAAC_ISSUES, "Some of this file won't work in the game as it is:", "Parte de este archivo no funcionará tal cual en el juego:", "Часть этого файла не будет работать в игре как есть:", "此文件的部分内容在游戏中无法按原样工作:", "이 파일의 일부는 게임에서 그대로 작동하지 않습니다:") \
X(TEXT_ISAAC_JSON, "Save as JSON is on: the game only reads XML, so it won't be able to load this file. Turn it off in Configure to save a copy the game can read.", "Guardar como JSON está activado: el juego solo lee XML, así que no podrá cargar este archivo. Desactívalo en Configurar para guardar una copia que el juego pueda leer.", "Включено сохранение в JSON: игра читает только XML, поэтому не сможет загрузить этот файл. Отключите это в настройках, чтобы сохранить копию, которую игра сможет прочитать.", "已启用保存为 JSON:游戏只读取 XML,因此无法加载此文件。在配置中关闭此选项以保存游戏可读取的副本。", "JSON으로 저장이 켜져 있습니다: 게임은 XML만 읽으므로 이 파일을 불러올 수 없습니다. 게임이 읽을 수 있는 사본을 저장하려면 설정에서 끄세요.") \ X(TEXT_ISAAC_JSON, "Save as JSON is on: the game only reads XML, so it won't be able to load this file. Turn it off in Configure to save a copy the game can read.", "Guardar como JSON está activado: el juego solo lee XML, así que no podrá cargar este archivo. Desactívalo en Configurar para guardar una copia que el juego pueda leer.", "Включено сохранение в JSON: игра читает только XML, поэтому не сможет загрузить этот файл. Отключите это в настройках, чтобы сохранить копию, которую игра сможет прочитать.", "已启用保存为 JSON:游戏只读取 XML,因此无法加载此文件。在配置中关闭此选项以保存游戏可读取的副本。", "JSON으로 저장이 켜져 있습니다: 게임은 XML만 읽으므로 이 파일을 불러올 수 없습니다. 게임이 읽을 수 있는 사본을 저장하려면 설정에서 끄세요.") \
@@ -611,6 +614,9 @@ namespace anm2ed
X(TEXT_OPEN_DIRECTORY, "Double-click to open directory in file explorer.", "Haz doble click para abrir el directiorio en el buscador de archivos.", "Дважды нажмите, чтобы открыть директорию в проводнике.", "双击以在文件管理器中打开目录。", "더블 클릭하여 파일 탐색기로 디렉터리를 엽니다.") \ X(TEXT_OPEN_DIRECTORY, "Double-click to open directory in file explorer.", "Haz doble click para abrir el directiorio en el buscador de archivos.", "Дважды нажмите, чтобы открыть директорию в проводнике.", "双击以在文件管理器中打开目录。", "더블 클릭하여 파일 탐색기로 디렉터리를 엽니다.") \
X(TOAST_AUTOSAVE_FAILED, "Could not autosave document to: {0} ({1})", "No se pudo autoguardar el documento en: {0} ({1})", "Не получилось автосохранить документ в: {0} ({1})", "自动保存到 {0} ({1}) 失败", "{0}에 파일을 자동저장할 수 없습니다. ({1})") \ X(TOAST_AUTOSAVE_FAILED, "Could not autosave document to: {0} ({1})", "No se pudo autoguardar el documento en: {0} ({1})", "Не получилось автосохранить документ в: {0} ({1})", "自动保存到 {0} ({1}) 失败", "{0}에 파일을 자동저장할 수 없습니다. ({1})") \
X(TOAST_AUTOSAVING, "Autosaving...", "Autoguardando...", "Автосохранение...", "自动保存中...", "자동저장 중...") \ X(TOAST_AUTOSAVING, "Autosaving...", "Autoguardando...", "Автосохранение...", "自动保存中...", "자동저장 중...") \
X(TOAST_BAKE_LARGE, "Baked spritesheet {0} is {1}x{2}, past the {3}x{3} the game may load.", "El spritesheet horneado {0} mide {1}x{2}, más de los {3}x{3} que el juego puede cargar.", "Запечённый спрайт-лист {0} размером {1}x{2} больше {3}x{3}, которые может загрузить игра.", "烘焙的图集 {0} 为 {1}x{2},超过了游戏可能加载的 {3}x{3}。", "구운 스프라이트 시트 {0}의 크기는 {1}x{2}로, 게임이 불러올 수 있는 {3}x{3}보다 큽니다.") \
X(TOAST_BAKE_NO_OPENGL, "Couldn't bake skew, blur or shaders for the game ({0}): no OpenGL; they were dropped.", "No se pudo hornear inclinación, desenfoque o shaders para el juego ({0}): sin OpenGL; se descartaron.", "Не удалось запечь наклон, размытие или шейдеры для игры ({0}): нет OpenGL; они отброшены.", "无法为游戏烘焙倾斜、模糊或着色器({0}):没有 OpenGL;已丢弃。", "게임용으로 기울이기, 흐림, 셰이더를 구울 수 없습니다 ({0}): OpenGL이 없어 버려졌습니다.") \
X(TOAST_BAKE_WRITE_FAILED, "Couldn't write baked spritesheet {0}; skew, blur and shaders were dropped.", "No se pudo escribir el spritesheet horneado {0}; se descartaron inclinación, desenfoque y shaders.", "Не удалось записать запечённый спрайт-лист {0}; наклон, размытие и шейдеры отброшены.", "无法写入烘焙的图集 {0};已丢弃倾斜、模糊和着色器。", "구운 스프라이트 시트 {0}를 쓸 수 없어 기울이기, 흐림, 셰이더가 버려졌습니다.") \
X(TOAST_CONVERT_SVG_SPRITESHEET, "Converted spritesheet #{0} to {1}", "Spritesheet #{0} convertido a {1}", "Спрайт-лист #{0} преобразован в {1}", "已将图集 #{0} 转换为 {1}", "{0}번 스프라이트 시트를 {1}(으)로 변환함") \ X(TOAST_CONVERT_SVG_SPRITESHEET, "Converted spritesheet #{0} to {1}", "Spritesheet #{0} convertido a {1}", "Спрайт-лист #{0} преобразован в {1}", "已将图集 #{0} 转换为 {1}", "{0}번 스프라이트 시트를 {1}(으)로 변환함") \
X(TOAST_DESERIALIZE_ANIMATIONS_FAILED, "Failed to deserialize animation(s): {0}", "Falla al deserializar animacion(es): {0}", "Не удалось десериализировать анимации: {0}", "反序列化动画失败: {0}", "애니메이션 역직렬화 실패: {0}") \ X(TOAST_DESERIALIZE_ANIMATIONS_FAILED, "Failed to deserialize animation(s): {0}", "Falla al deserializar animacion(es): {0}", "Не удалось десериализировать анимации: {0}", "反序列化动画失败: {0}", "애니메이션 역직렬화 실패: {0}") \
X(TOAST_DESERIALIZE_EVENTS_FAILED, "Failed to deserialize event(s): {0}", "Falla al deserializar evento(s): {0}", "Не удалось десериализировать события: {0}", "反序列化事件失败: {0}", "이벤트 역직렬화 실패: {0}") \ X(TOAST_DESERIALIZE_EVENTS_FAILED, "Failed to deserialize event(s): {0}", "Falla al deserializar evento(s): {0}", "Не удалось десериализировать события: {0}", "反序列化事件失败: {0}", "이벤트 역직렬화 실패: {0}") \
@@ -708,7 +714,6 @@ namespace anm2ed
X(TOOLTIP_COLOR_OFFSET, "Change the color added onto the frame.\n(Alpha is editor only; the game ignores it.)", "Cambia el color añadido al Frame.\n(El alfa es solo del editor; el juego lo ignora.)", "Изменить цвет, который добавлен на кадр.\n(Альфа только для редактора; игра её игнорирует.)", "更改添加到帧上的颜色。\n(透明度仅限编辑器;游戏会忽略它。)", "프레임에 더해지는 색상을 변경합니다.\n(알파는 에디터 전용이며 게임에서는 무시됩니다.)") \ X(TOOLTIP_COLOR_OFFSET, "Change the color added onto the frame.\n(Alpha is editor only; the game ignores it.)", "Cambia el color añadido al Frame.\n(El alfa es solo del editor; el juego lo ignora.)", "Изменить цвет, который добавлен на кадр.\n(Альфа только для редактора; игра её игнорирует.)", "更改添加到帧上的颜色。\n(透明度仅限编辑器;游戏会忽略它。)", "프레임에 더해지는 색상을 변경합니다.\n(알파는 에디터 전용이며 게임에서는 무시됩니다.)") \
X(TOOLTIP_ONLY_SELECTED_ITEM, "Only the selected item (root, layer or null) is onionskinned and shows its pivot path.", "Solo el elemento seleccionado (raíz, capa o null) usa papel cebolla y muestra la trayectoria de su pivote.", "Оньонскин и путь опорной точки показываются только для выбранного элемента (корень, слой или null).", "仅对选中的项目(根、图层或空节点)显示洋葱皮和枢轴路径。", "선택한 항목(루트, 레이어 또는 널)에만 전후 비교와 피벗 경로를 표시합니다.") \ X(TOOLTIP_ONLY_SELECTED_ITEM, "Only the selected item (root, layer or null) is onionskinned and shows its pivot path.", "Solo el elemento seleccionado (raíz, capa o null) usa papel cebolla y muestra la trayectoria de su pivote.", "Оньонскин и путь опорной точки показываются только для выбранного элемента (корень, слой или null).", "仅对选中的项目(根、图层或空节点)显示洋葱皮和枢轴路径。", "선택한 항목(루트, 레이어 또는 널)에만 전후 비교와 피벗 경로를 표시합니다.") \
X(TOOLTIP_PIVOT_PATH, "Show the path each item's pivot travels through the animation, with a dot on every frame.", "Muestra la trayectoria que recorre el pivote de cada elemento durante la animación, con un punto en cada Frame.", "Показать путь опорной точки каждого элемента в анимации, с точкой на каждом кадре.", "显示每个项目的枢轴在动画中移动的路径,每帧一个点。", "애니메이션 동안 각 항목의 피벗이 지나는 경로를 프레임마다 점으로 표시합니다.") \ X(TOOLTIP_PIVOT_PATH, "Show the path each item's pivot travels through the animation, with a dot on every frame.", "Muestra la trayectoria que recorre el pivote de cada elemento durante la animación, con un punto en cada Frame.", "Показать путь опорной точки каждого элемента в анимации, с точкой на каждом кадре.", "显示每个项目的枢轴在动画中移动的路径,每帧一个点。", "애니메이션 동안 각 항목의 피벗이 지나는 경로를 프레임마다 점으로 표시합니다.") \
X(TOOLTIP_PURGE_DEFAULT_COLORS, "Leave tints of 255 and color offsets of 0 out of saved frames; the game and the editor read missing ones as those defaults, so files get much smaller.", "Omite de los Frames guardados los tintes de 255 y los desplazamientos de color de 0; el juego y el editor leen los que faltan como esos valores, así que los archivos son mucho más pequeños.", "Не записывать в кадры оттенки 255 и смещения цвета 0; игра и редактор считают отсутствующие значения такими же, поэтому файлы становятся намного меньше.", "保存帧时省略为 255 的色调和为 0 的颜色偏移;游戏和编辑器会将缺失值读作这些默认值,因此文件会小得多。", "저장되는 프레임에서 255인 틴트와 0인 색상 오프셋을 생략합니다. 게임과 에디터는 빠진 값을 기본값으로 읽으므로 파일이 훨씬 작아집니다.") \
X(TOOLTIP_RASTERIZE_SPRITESHEETS, "Turn the selected SVG spritesheets into PNGs beside them (same name), drawn at 100%.", "Convierte los spritesheets SVG seleccionados en PNG junto a ellos (mismo nombre), dibujados al 100%.", "Превратить выбранные SVG спрайт-листы в PNG рядом с ними (с тем же именем), отрисованные в масштабе 100%.", "将所选 SVG 图集转换为旁边的同名 PNG,按 100% 绘制。", "선택한 SVG 스프라이트 시트를 옆에 같은 이름의 PNG로 바꿉니다(100%로 그림).") \ X(TOOLTIP_RASTERIZE_SPRITESHEETS, "Turn the selected SVG spritesheets into PNGs beside them (same name), drawn at 100%.", "Convierte los spritesheets SVG seleccionados en PNG junto a ellos (mismo nombre), dibujados al 100%.", "Превратить выбранные SVG спрайт-листы в PNG рядом с ними (с тем же именем), отрисованные в масштабе 100%.", "将所选 SVG 图集转换为旁边的同名 PNG,按 100% 绘制。", "선택한 SVG 스프라이트 시트를 옆에 같은 이름의 PNG로 바꿉니다(100%로 그림).") \
X(TOOLTIP_REGION, "Set the spritesheet region the frame will use.", "Establece la región del spritesheet que usará el frame.", "Установить регион спрайт-листа, который будет использовать кадр.", "设置帧将使用的图集区域.", "프레임이 사용할 스프라이트 시트 영역을 설정합니다.") \ X(TOOLTIP_REGION, "Set the spritesheet region the frame will use.", "Establece la región del spritesheet que usará el frame.", "Установить регион спрайт-листа, который будет использовать кадр.", "设置帧将使用的图集区域.", "프레임이 사용할 스프라이트 시트 영역을 설정합니다.") \
X(TOOLTIP_FRAME_SHADER, "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.") \ X(TOOLTIP_FRAME_SHADER, "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.", "Set the shader this frame uses. None uses the default shader.") \
-1
View File
@@ -65,7 +65,6 @@ namespace anm2ed
X(FILE_IS_WARN_OVERWRITE, fileIsWarnOverwrite, STRING_UNDEFINED, BOOL, true) \ X(FILE_IS_WARN_OVERWRITE, fileIsWarnOverwrite, STRING_UNDEFINED, BOOL, true) \
X(FILE_IS_WARN_ISAAC, fileIsWarnIsaac, STRING_UNDEFINED, BOOL, true) \ X(FILE_IS_WARN_ISAAC, fileIsWarnIsaac, STRING_UNDEFINED, BOOL, true) \
X(FILE_IS_AUTO_RELOAD_RESOURCES, fileIsAutoReloadResources, STRING_UNDEFINED, BOOL, true) \ X(FILE_IS_AUTO_RELOAD_RESOURCES, fileIsAutoReloadResources, STRING_UNDEFINED, BOOL, true) \
X(FILE_IS_PURGE_DEFAULT_COLORS, fileIsPurgeDefaultColors, STRING_UNDEFINED, BOOL, true) \
X(FILE_IS_JSON, fileIsJson, STRING_UNDEFINED, BOOL, false) \ X(FILE_IS_JSON, fileIsJson, STRING_UNDEFINED, BOOL, false) \
X(FILE_SNAPSHOT_STACK_SIZE, fileSnapshotStackSize, STRING_UNDEFINED, INT, 50) \ X(FILE_SNAPSHOT_STACK_SIZE, fileSnapshotStackSize, STRING_UNDEFINED, INT, 50) \
\ \
+1 -1
View File
@@ -100,7 +100,7 @@ namespace anm2ed::test
// Loading only the game's view and re-saving it for the game must not change it. // Loading only the game's view and re-saving it for the game must not change it.
auto game = game_document_get(model::model_to_string(model)); auto game = game_document_get(model::model_to_string(model));
CHECK(model::model_serialize(model_load(game), SERIALIZE_ISAAC_DEFAULT) == game); CHECK(model::model_serialize(model_load(game), SERIALIZE_ISAAC_DEFAULT | SERIALIZE_PURGE_DEFAULT_COLORS) == game);
} }
// Compares against a stored golden; ANM2ED_UPDATE_GOLDEN (or a missing golden when isBootstrap) rewrites it. // Compares against a stored golden; ANM2ED_UPDATE_GOLDEN (or a missing golden when isBootstrap) rewrites it.
+39
View File
@@ -1,5 +1,6 @@
#include "common.hpp" #include "common.hpp"
#include "math.hpp"
#include "model/draw.hpp" #include "model/draw.hpp"
#include "model/frames.hpp" #include "model/frames.hpp"
@@ -208,3 +209,41 @@ TEST_CASE("an animation layer's child sits where the layer's frame puts it")
CHECK(glm::vec2(*placement * glm::vec4(16.0f, 0.0f, 0.0f, 1.0f)) == glm::vec2(48.0f, 0.0f)); CHECK(glm::vec2(*placement * glm::vec4(16.0f, 0.0f, 0.0f, 1.0f)) == glm::vec2(48.0f, 0.0f));
CHECK_FALSE(model::layer_child_transform_get(*anm2.animation_get(0), 99, 0.0f, true)); CHECK_FALSE(model::layer_child_transform_get(*anm2.animation_get(0), 99, 0.0f, true));
} }
TEST_CASE("the game's copy stands in for depth and alpha offsets")
{
auto anm2 = model_load(R"({ "anm2ed": 1, "spritesheets": [ { "path": "a.png" } ],
"layers": [ { "name": "a" }, { "name": "b" }, { "name": "c" } ],
"animations": { "A": { "length": 6, "layers": [
{ "layer": 0, "frames": [ { "crop": [0, 0], "size": [1, 1], "delay": 2 },
{ "crop": [1, 0], "size": [1, 1], "delay": 2, "depth": 2, "interpolation": "linear" },
{ "crop": [1, 0], "size": [1, 1], "pos": [8, 0], "delay": 2, "depth": -1 } ] },
{ "layer": 1, "frames": [ { "crop": [2, 0], "size": [1, 1], "delay": 6, "depth": -1 } ] },
{ "layer": 2, "frames": [ { "crop": [3, 0], "size": [1, 1], "delay": 6, "offset": [0, 0, 0, -64] } ] } ] } } })");
auto game = edit::isaac_bridge(anm2);
// Every frame, the same crops draw in the same order and places, with no depth left.
auto draws_get = [](const model::Model& model, float time)
{
std::vector<std::pair<glm::vec2, glm::vec2>> draws{};
for (const auto& draw : model::animation_draws_get(model, *model.animation_get(0), {.time = time}))
if (draw.type == model::DrawType::LAYER && draw.frame.isVisible)
draws.emplace_back(draw.frame.crop, draw.frame.position);
return draws;
};
for (float time = 0.0f; time < 6.0f; time += 0.5f)
CHECK(draws_get(game, time) == draws_get(anm2, time));
CHECK(model::isaac_issues_get(game).depthFrames == 0);
CHECK(
std::ranges::any_of(game.content.layers, [](const model::Layer& layer) { return layer.name == "a (depth +2)"; }));
// The alpha offset joins the alpha tint.
auto& offsetFrame = *game.frame_get({0, LAYER, 2, 0});
CHECK(offsetFrame.colorOffset.a == 0.0f);
CHECK(util::math::float_to_uint8(offsetFrame.tint.a) == 255 - 64);
// A document saved with Ignore and Save remembers it, in either format.
anm2.info.isIsaacIgnored = true;
CHECK(model_load(model::model_to_string(anm2)).info.isIsaacIgnored);
CHECK(model_load(model::model_to_json(anm2)).info.isIsaacIgnored);
}
+4 -4
View File
@@ -13,11 +13,11 @@
<Animations DefaultAnimation="Idle"> <Animations DefaultAnimation="Idle">
<Animation Name="Idle" FrameNum="2" Loop="true"> <Animation Name="Idle" FrameNum="2" Loop="true">
<RootAnimation> <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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -39,11 +39,11 @@
<Animations DefaultAnimation="Idle"> <Animations DefaultAnimation="Idle">
<Animation Name="Idle" FrameNum="2" Loop="true"> <Animation Name="Idle" FrameNum="2" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
+20 -20
View File
@@ -21,27 +21,27 @@
<Animations DefaultAnimation="Walk"> <Animations DefaultAnimation="Walk">
<Animation Name="Walk" FrameNum="8" Loop="true"> <Animation Name="Walk" FrameNum="8" Loop="true">
<RootAnimation> <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"/> <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" AlphaTint="255" RedOffset="2" GreenOffset="5" BlueOffset="7" Rotation="11.25" 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" AlphaTint="255" RedOffset="5" GreenOffset="10" BlueOffset="15" Rotation="22.5" 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" AlphaTint="255" RedOffset="7" GreenOffset="15" BlueOffset="22" Rotation="33.75" 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" AlphaTint="255" RedOffset="10" GreenOffset="20" BlueOffset="30" Rotation="45" 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> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="223" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="-2.5" 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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="191" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="-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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="159" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="-7.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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="128" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="-10" 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>
<LayerAnimation LayerId="1" Visible="false"> <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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="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> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="3" YPosition="4" Delay="8" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="3" YPosition="4" Delay="8" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
<NullAnimation NullId="1" Visible="true"/> <NullAnimation NullId="1" Visible="true"/>
</NullAnimations> </NullAnimations>
@@ -53,7 +53,7 @@
</Animation> </Animation>
<Animation Name="Empty" FrameNum="1" Loop="false"> <Animation Name="Empty" FrameNum="1" Loop="false">
<RootAnimation> <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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations/> <LayerAnimations/>
<NullAnimations/> <NullAnimations/>
@@ -87,21 +87,21 @@
<Animations DefaultAnimation="Walk"> <Animations DefaultAnimation="Walk">
<Animation Name="Walk" FrameNum="8" Loop="true"> <Animation Name="Walk" FrameNum="8" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="true"/> <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" AlphaTint="255" RedOffset="10" GreenOffset="20" BlueOffset="30" Rotation="45" Interpolated="false"/> <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> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="128" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="-10" 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" SkewX="0" SkewY="0" AlphaTint="128" Rotation="-10" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="false"> <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" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="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> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="3" YPosition="4" Delay="8" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="3" YPosition="4" Delay="8" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
<NullAnimation NullId="1" Visible="true"/> <NullAnimation NullId="1" Visible="true"/>
</NullAnimations> </NullAnimations>
@@ -120,7 +120,7 @@
</Animation> </Animation>
<Animation Name="Empty" FrameNum="1" Loop="false"> <Animation Name="Empty" FrameNum="1" Loop="false">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations/> <LayerAnimations/>
<NullAnimations/> <NullAnimations/>
+17 -17
View File
@@ -18,22 +18,22 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="4" Loop="true"> <Animation Name="A" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="2" Visible="true"> <LayerAnimation LayerId="2" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
<NullAnimation NullId="1" Visible="true"/> <NullAnimation NullId="1" Visible="true"/>
</NullAnimations> </NullAnimations>
@@ -41,11 +41,11 @@
</Animation> </Animation>
<Animation Name="B" FrameNum="4" Loop="false"> <Animation Name="B" FrameNum="4" Loop="false">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="9" YPosition="9" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="9" YPosition="9" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -73,31 +73,31 @@
<Group Name="Moves" IsExpanded="true" Visible="true"> <Group Name="Moves" IsExpanded="true" Visible="true">
<Animation Name="A" FrameNum="4" Loop="true"> <Animation Name="A" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<Group Name="Main" IsExpanded="true" Visible="true"> <Group Name="Main" IsExpanded="true" Visible="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</Group> </Group>
<LayerAnimation LayerId="2" Visible="true"> <LayerAnimation LayerId="2" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<Group Name="Hidden" IsExpanded="false" Visible="false"> <Group Name="Hidden" IsExpanded="false" Visible="false">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
</Group> </Group>
<NullAnimation NullId="1" Visible="true"/> <NullAnimation NullId="1" Visible="true"/>
@@ -107,15 +107,15 @@
</Group> </Group>
<Animation Name="B" FrameNum="4" Loop="false"> <Animation Name="B" FrameNum="4" Loop="false">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<Group Name="Main" IsExpanded="true" Visible="true"> <Group Name="Main" IsExpanded="true" Visible="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="9" YPosition="9" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="9" YPosition="9" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</Group> </Group>
</LayerAnimations> </LayerAnimations>
+12 -12
View File
@@ -18,22 +18,22 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="4" Loop="true"> <Animation Name="A" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="2" Visible="true"> <LayerAnimation LayerId="2" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
<NullAnimation NullId="1" Visible="true"/> <NullAnimation NullId="1" Visible="true"/>
</NullAnimations> </NullAnimations>
@@ -60,31 +60,31 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="4" Loop="true"> <Animation Name="A" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<Group Name="Main" IsExpanded="true" Visible="true"> <Group Name="Main" IsExpanded="true" Visible="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</Group> </Group>
<LayerAnimation LayerId="2" Visible="true"> <LayerAnimation LayerId="2" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5" YPosition="6" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<Group Name="Sparse" IsExpanded="false" Visible="true"> <Group Name="Sparse" IsExpanded="false" Visible="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="7" YPosition="8" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
</Group> </Group>
<NullAnimation NullId="1" Visible="true"/> <NullAnimation NullId="1" Visible="true"/>
+35 -35
View File
@@ -18,43 +18,43 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="8" Loop="true"> <Animation Name="A" FrameNum="8" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="10" YPosition="13" Delay="1" Visible="true" XScale="200" YScale="50" RedTint="255" GreenTint="128" BlueTint="255" AlphaTint="200" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="90" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="10" YPosition="13" Delay="1" Visible="true" XScale="200" YScale="50" GreenTint="128" AlphaTint="200" Rotation="90" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="7.6787839" YPosition="10.217156" Delay="1" Visible="true" XScale="175" YScale="62.5" RedTint="255" GreenTint="159" BlueTint="255" AlphaTint="213" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="67.5" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="7.6787839" YPosition="10.217156" Delay="1" Visible="true" XScale="175" YScale="62.5" GreenTint="159" AlphaTint="213" Rotation="67.5" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="4.2426405" YPosition="6.7426405" Delay="1" Visible="true" XScale="150" YScale="75" RedTint="255" GreenTint="191" BlueTint="255" AlphaTint="227" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="45" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="4.2426405" YPosition="6.7426405" Delay="1" Visible="true" XScale="150" YScale="75" GreenTint="191" AlphaTint="227" Rotation="45" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-0.38060236" YPosition="3.1634173" Delay="1" Visible="true" XScale="125" YScale="87.5" RedTint="255" GreenTint="223" BlueTint="255" AlphaTint="241" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="22.5" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-0.38060236" YPosition="3.1634173" Delay="1" Visible="true" XScale="125" YScale="87.5" GreenTint="223" AlphaTint="241" Rotation="22.5" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-10" YPosition="4" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-10" YPosition="4" 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="-10" YPosition="4" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-10" YPosition="4" 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="-10" YPosition="4" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-10" YPosition="4" 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="-10" YPosition="4" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-10" YPosition="4" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="9.5" YPosition="7" Delay="1" Visible="true" XScale="200" YScale="50" RedTint="255" GreenTint="128" BlueTint="255" AlphaTint="200" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="90" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="9.5" YPosition="7" Delay="1" Visible="true" XScale="200" YScale="50" GreenTint="128" AlphaTint="200" Rotation="90" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5.0922713" YPosition="5.6059661" Delay="1" Visible="true" XScale="175" YScale="62.5" RedTint="255" GreenTint="159" BlueTint="255" AlphaTint="213" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="67.5" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="5.0922713" YPosition="5.6059661" Delay="1" Visible="true" XScale="175" YScale="62.5" GreenTint="159" AlphaTint="213" Rotation="67.5" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.53033006" YPosition="4.0909901" Delay="1" Visible="true" XScale="150" YScale="75" RedTint="255" GreenTint="191" BlueTint="255" AlphaTint="227" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="45" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.53033006" YPosition="4.0909901" Delay="1" Visible="true" XScale="150" YScale="75" GreenTint="191" AlphaTint="227" Rotation="45" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-4.1799984" YPosition="2.5367489" Delay="1" Visible="true" XScale="125" YScale="87.5" RedTint="255" GreenTint="223" BlueTint="255" AlphaTint="241" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="22.5" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-4.1799984" YPosition="2.5367489" Delay="1" Visible="true" XScale="125" YScale="87.5" GreenTint="223" AlphaTint="241" Rotation="22.5" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-9" YPosition="1" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-9" YPosition="1" 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="-9" YPosition="1" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-9" YPosition="1" 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="-9" YPosition="1" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-9" YPosition="1" 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="-9" YPosition="1" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="-9" YPosition="1" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="2" Visible="true"> <LayerAnimation LayerId="2" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
<Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3.7320509" YPosition="5.7320509" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="30" Interpolated="false"/>
</NullAnimation> </NullAnimation>
</NullAnimations> </NullAnimations>
<Triggers/> <Triggers/>
@@ -80,33 +80,33 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="8" Loop="true"> <Animation Name="A" FrameNum="8" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<Group Name="Arm" IsExpanded="true" Visible="true"> <Group Name="Arm" IsExpanded="true" Visible="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="10" YPosition="5" Delay="4" Visible="true" XScale="200" YScale="50" SkewX="0" SkewY="0" RedTint="255" GreenTint="128" BlueTint="255" AlphaTint="200" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="90" Interpolated="true"/> <Frame XPosition="10" YPosition="5" Delay="4" Visible="true" XScale="200" YScale="50" SkewX="0" SkewY="0" GreenTint="128" AlphaTint="200" Rotation="90" Interpolated="true"/>
<Frame XPosition="-10" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="-10" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="4" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="4" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="4" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="1" Delay="8" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="true"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1" YPosition="1" Delay="8" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="true"/>
</LayerAnimation> </LayerAnimation>
</Group> </Group>
<LayerAnimation LayerId="2" Visible="true"> <LayerAnimation LayerId="2" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<Group Name="NullGroup" IsExpanded="true" Visible="true"> <Group Name="NullGroup" IsExpanded="true" Visible="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="3" YPosition="3" Delay="8" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="30" Interpolated="false"/> <Frame XPosition="3" YPosition="3" Delay="8" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="30" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="2" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="2" YPosition="2" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
</Group> </Group>
</NullAnimations> </NullAnimations>
+14 -14
View File
@@ -15,18 +15,18 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="20" Loop="true"> <Animation Name="A" FrameNum="20" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="3" YPivot="5" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="3" YPivot="5" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPivot="0" YPivot="0" XCrop="16" YCrop="0" Width="16" Height="32" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="0" YPivot="0" XCrop="16" YCrop="0" Width="16" Height="32" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPivot="5" YPivot="10" XCrop="32" YCrop="0" Width="10" Height="20" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="5" YPivot="10" XCrop="32" YCrop="0" Width="10" Height="20" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPivot="1" YPivot="1" XCrop="2" YCrop="2" Width="4" Height="4" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="1" YPivot="1" XCrop="2" YCrop="2" Width="4" Height="4" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPivot="0" YPivot="0" XCrop="0" YCrop="32" Width="8" Height="8" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="0" YPivot="0" XCrop="0" YCrop="32" Width="8" Height="8" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -55,18 +55,18 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="20" Loop="true"> <Animation Name="A" FrameNum="20" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame RegionId="0" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame RegionId="0" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
<Frame RegionId="1" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame RegionId="1" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
<Frame RegionId="2" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame RegionId="2" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
<Frame XPivot="1" YPivot="1" XCrop="2" YCrop="2" Width="4" Height="4" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="1" YPivot="1" XCrop="2" YCrop="2" Width="4" Height="4" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
<Frame RegionId="3" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame RegionId="3" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
+8 -8
View File
@@ -13,13 +13,13 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="12" Loop="true"> <Animation Name="A" FrameNum="12" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" 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" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" 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" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -51,13 +51,13 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="12" Loop="true"> <Animation Name="A" FrameNum="12" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="15" SkewY="-5" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false" ShaderId="0"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="15" SkewY="-5" Rotation="0" Interpolated="false" ShaderId="0"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false" ShaderId="1"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false" ShaderId="1"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
+29 -29
View File
@@ -15,35 +15,35 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="16" Loop="true"> <Animation Name="A" FrameNum="16" Loop="true">
<RootAnimation> <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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPosition="2.5" 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"/> <Frame XPosition="2.5" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPosition="10" 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"/> <Frame XPosition="10" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPosition="17.5" 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"/> <Frame XPosition="17.5" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPosition="20" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="20" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" 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.40000004" YPosition="0.40000004" Delay="1" Visible="true" XScale="98" YScale="102" RedTint="244" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="7.2000003" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.40000004" YPosition="0.40000004" Delay="1" Visible="true" XScale="98" YScale="102" RedTint="244" Rotation="7.2000003" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1.6000001" YPosition="1.6000001" Delay="1" Visible="true" XScale="92" YScale="108" RedTint="214" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="28.800001" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1.6000001" YPosition="1.6000001" Delay="1" Visible="true" XScale="92" YScale="108" RedTint="214" Rotation="28.800001" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3.6000001" YPosition="3.6000001" Delay="1" Visible="true" XScale="82" YScale="118" RedTint="163" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="64.800003" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="3.6000001" YPosition="3.6000001" Delay="1" Visible="true" XScale="82" YScale="118" RedTint="163" Rotation="64.800003" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="6.4000006" YPosition="6.4000006" Delay="1" Visible="true" XScale="68" YScale="132" RedTint="91" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="115.2" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="6.4000006" YPosition="6.4000006" Delay="1" Visible="true" XScale="68" YScale="132" RedTint="91" Rotation="115.2" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="10" YPosition="10" Delay="1" Visible="true" XScale="50" YScale="150" RedTint="0" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="180" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="10" YPosition="10" Delay="1" Visible="true" XScale="50" YScale="150" RedTint="0" Rotation="180" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="4.4444442" YPosition="4.4444442" Delay="1" Visible="true" XScale="77.777779" YScale="122.22222" RedTint="141" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="79.999992" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="4.4444442" YPosition="4.4444442" Delay="1" Visible="true" XScale="77.777779" YScale="122.22222" RedTint="141" Rotation="79.999992" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1.111111" YPosition="1.111111" Delay="1" Visible="true" XScale="94.44445" YScale="105.55556" RedTint="226" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="19.999998" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="1.111111" YPosition="1.111111" Delay="1" Visible="true" XScale="94.44445" YScale="105.55556" RedTint="226" Rotation="19.999998" Interpolated="false"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" 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" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" 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" 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"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<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"/> <Frame XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</NullAnimation> </NullAnimation>
</NullAnimations> </NullAnimations>
<Triggers/> <Triggers/>
@@ -66,20 +66,20 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="16" Loop="true"> <Animation Name="A" FrameNum="16" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="EaseInOut"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="EaseInOut"/>
<Frame XPosition="20" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="20" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="5" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="EaseIn"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="5" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="EaseIn"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="10" YPosition="10" Delay="3" Visible="true" XScale="50" YScale="150" SkewX="0" SkewY="0" RedTint="0" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="180" Interpolated="EaseOut"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="10" YPosition="10" Delay="3" Visible="true" XScale="50" YScale="150" SkewX="0" SkewY="0" RedTint="0" Rotation="180" Interpolated="EaseOut"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="EaseIn"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="EaseIn"/>
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="true"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="true"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations> <NullAnimations>
<NullAnimation NullId="0" Visible="true"> <NullAnimation NullId="0" Visible="true">
<Frame XPosition="0" YPosition="0" Delay="6" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="EaseOut"/> <Frame XPosition="0" YPosition="0" Delay="6" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="EaseOut"/>
</NullAnimation> </NullAnimation>
</NullAnimations> </NullAnimations>
<Triggers/> <Triggers/>
+7 -7
View File
@@ -13,13 +13,13 @@
<Animations DefaultAnimation="Idle"> <Animations DefaultAnimation="Idle">
<Animation Name="Idle" FrameNum="4" Loop="true"> <Animation Name="Idle" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" 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"/> <Frame XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XPosition="0" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XPosition="0.5" 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"/> <Frame XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XPosition="0.5" YPosition="0" Delay="1" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
<Frame XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XPosition="2" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XPosition="2" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -43,12 +43,12 @@
<Animations DefaultAnimation="Idle"> <Animations DefaultAnimation="Idle">
<Animation Name="Idle" FrameNum="4" Loop="true"> <Animation Name="Idle" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame RegionId="0" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="EaseIn"/> <Frame RegionId="0" XPosition="0" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="EaseIn"/>
<Frame RegionId="0" XPosition="2" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame RegionId="0" XPosition="2" YPosition="0" Delay="2" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
+6 -6
View File
@@ -18,14 +18,14 @@
<Animations DefaultAnimation="Missing"> <Animations DefaultAnimation="Missing">
<Animation Name="A" FrameNum="4" Loop="true"> <Animation Name="A" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="99" Visible="true"/> <LayerAnimation LayerId="99" Visible="true"/>
</LayerAnimations> </LayerAnimations>
@@ -59,14 +59,14 @@
<Animations DefaultAnimation="Missing"> <Animations DefaultAnimation="Missing">
<Animation Name="A" FrameNum="4" Loop="true"> <Animation Name="A" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"> <LayerAnimation LayerId="1" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
<LayerAnimation LayerId="99" Visible="true"/> <LayerAnimation LayerId="99" Visible="true"/>
</LayerAnimations> </LayerAnimations>
+4 -4
View File
@@ -18,11 +18,11 @@
<Animations DefaultAnimation="Ånim"> <Animations DefaultAnimation="Ånim">
<Animation Name="Ånim" FrameNum="4" Loop="true"> <Animation Name="Ånim" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.5" YPosition="-0.25" Delay="4" Visible="true" XScale="33.333" YScale="66.667" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="359.98999" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.5" YPosition="-0.25" Delay="4" Visible="true" XScale="33.333" YScale="66.667" Rotation="359.98999" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -55,11 +55,11 @@
<Animations DefaultAnimation="Ånim"> <Animations DefaultAnimation="Ånim">
<Animation Name="Ånim" FrameNum="4" Loop="true"> <Animation Name="Ånim" FrameNum="4" Loop="true">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.5" YPosition="-0.25" Delay="4" Visible="true" XScale="33.333" YScale="66.667" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="359.98999" Interpolated="false"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0.5" YPosition="-0.25" Delay="4" Visible="true" XScale="33.333" YScale="66.667" SkewX="0" SkewY="0" Rotation="359.98999" Interpolated="false"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
+4 -4
View File
@@ -17,11 +17,11 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="4" Loop="true" Speed="2"> <Animation Name="A" FrameNum="4" Loop="true" Speed="2">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false" Unknown="9"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" Rotation="0" Interpolated="false" Unknown="9"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
@@ -49,11 +49,11 @@
<Animations DefaultAnimation="A"> <Animations DefaultAnimation="A">
<Animation Name="A" FrameNum="4" Loop="true" Speed="2"> <Animation Name="A" FrameNum="4" Loop="true" Speed="2">
<RootAnimation> <RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/> <Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false"/>
</RootAnimation> </RootAnimation>
<LayerAnimations> <LayerAnimations>
<LayerAnimation LayerId="0" Visible="true"> <LayerAnimation LayerId="0" Visible="true">
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false" Unknown="9"/> <Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" SkewX="0" SkewY="0" Rotation="0" Interpolated="false" Unknown="9"/>
</LayerAnimation> </LayerAnimation>
</LayerAnimations> </LayerAnimations>
<NullAnimations/> <NullAnimations/>
+2 -3
View File
@@ -29,16 +29,15 @@ TEST_CASE("saved text escapes what it holds, and reads back the same")
CHECK(note->second == model.extras.children.back().second); CHECK(note->second == model.extras.children.back().second);
} }
TEST_CASE("purged default colors read back the same") TEST_CASE("saves leave out default colors, which read back the same")
{ {
for (const auto& fixture : fixtures_get()) for (const auto& fixture : fixtures_get())
{ {
INFO("fixture: ", fixture.string()); INFO("fixture: ", fixture.string());
auto model = model_load(file_load(fixture)); auto model = model_load(file_load(fixture));
auto text = model::model_to_string(model, {.isPurgeDefaultColors = true}); auto text = model::model_to_string(model);
CHECK(text.find("Tint=\"255\"") == std::string::npos); CHECK(text.find("Tint=\"255\"") == std::string::npos);
CHECK(text.find("Offset=\"0\"") == std::string::npos); CHECK(text.find("Offset=\"0\"") == std::string::npos);
CHECK(text.size() <= model::model_to_string(model).size());
CHECK(model::model_hash(model_load(text)) == model::model_hash(model)); CHECK(model::model_hash(model_load(text)) == model::model_hash(model));
} }
} }
+75
View File
@@ -3,6 +3,7 @@
#include <doctest.h> #include <doctest.h>
#include <algorithm>
#include <cstdlib> #include <cstdlib>
#include <format> #include <format>
#include <fstream> #include <fstream>
@@ -257,3 +258,77 @@ TEST_CASE("a Rebirth save flattens animation layers for the game")
CHECK(saved.find(" Animation=\"Spin\"") != std::string::npos); CHECK(saved.find(" Animation=\"Spin\"") != std::string::npos);
std::filesystem::remove_all(directory); std::filesystem::remove_all(directory);
} }
// The game's copy draws what the editor does: skew, blur and a skewed root baked into a spritesheet beside the save.
TEST_CASE("the game's copy bakes skew and blur into a spritesheet that draws the same")
{
render::HeadlessGL gl{};
if (!gl.is_valid()) return;
auto directory = std::filesystem::temp_directory_path() / "anm2ed_bake";
std::filesystem::remove_all(directory);
std::filesystem::create_directories(directory);
std::filesystem::copy_file(RENDER_TEST_DIR / "sheet.png", directory / "sheet.png");
std::ofstream(directory / "bake.anm2") << R"({ "anm2ed": 1, "spritesheets": [ { "path": "sheet.png" } ],
"layers": [ { "name": "skewed" }, { "name": "blurred" } ],
"animations": {
"Layers": { "length": 6, "layers": [
{ "layer": 0, "frames": [
{ "size": [16, 16], "pivot": [8, 8], "pos": [-12, 0], "skew": [40, 0], "delay": 3, "interpolation": "linear" },
{ "size": [16, 16], "pivot": [8, 8], "pos": [-12, 4], "skew": [0, 30], "rotation": 45, "delay": 3 } ] },
{ "layer": 1, "frames": [
{ "crop": [16, 0], "size": [16, 16], "pivot": [8, 8], "pos": [12, 0], "blur": 4, "delay": 6 } ] } ] },
"Root": { "length": 2,
"root": [ { "pos": [2, 3], "skew": [25, 10], "scale": [150, 100], "delay": 2 } ],
"layers": [ { "layer": 1, "frames": [ { "crop": [16, 0], "size": [16, 16], "pivot": [8, 8], "delay": 2 } ] } ] } } })";
Document document(directory / "bake.anm2", false);
REQUIRE(document.is_valid());
REQUIRE(document.save(directory / "saved.anm2"));
CHECK(std::filesystem::exists(directory / "saved.baked.png"));
std::string saved{};
{
std::ifstream file(directory / "saved.anm2");
saved.assign(std::istreambuf_iterator<char>(file), {});
}
auto game = saved.substr(0, saved.find(" <SourceDocument")) + "</AnimatedActor>\n";
CHECK(game.find("SkewX") == std::string::npos);
CHECK(game.find("Blur") == std::string::npos);
std::ofstream(directory / "game.anm2") << game;
Document gameDocument(directory / "game.anm2", false);
REQUIRE(gameDocument.is_valid());
auto& info = resource::shader::SHADERS[resource::shader::TEXTURE];
resource::Shader shader(info.vertex, info.fragment);
Canvas canvas(glm::vec2(1.0f));
for (int index = 0; index < document.model.animations_count_get(); ++index)
{
auto& animation = *document.model.animation_get(index);
auto& gameAnimation = *gameDocument.model.animation_get(index);
INFO("animation: ", animation.name);
// On whole pixels, so the baked images land on the pixels they were drawn on.
auto bounds = render::animation_bounds_get(document, animation, true);
bounds = glm::vec4(glm::floor(glm::vec2(bounds)) - 8.0f, glm::ceil(glm::vec2(bounds.z, bounds.w)) + 16.0f);
for (int time = 0; time < animation.frameNum; ++time)
{
INFO("time: ", time);
auto expected = render::animation_frame_render(canvas, shader, document, animation, (float)time, bounds, 1.0f,
glm::vec4(0.0f), true);
auto actual = render::animation_frame_render(canvas, shader, gameDocument, gameAnimation, (float)time, bounds,
1.0f, glm::vec4(0.0f), true);
REQUIRE(actual.size() == expected.size());
CHECK(std::ranges::any_of(expected, [](uint8_t channel) { return channel != 0; }));
int mismatches{};
for (std::size_t i = 0; i < actual.size(); ++i)
mismatches += std::abs((int)actual[i] - (int)expected[i]) > CHANNEL_TOLERANCE;
CHECK((double)mismatches / (double)actual.size() <= MISMATCH_RATIO_MAX);
}
}
// Ignore and Save leaves them out: no baked layers or spritesheet.
document.model.info.isIsaacIgnored = true;
REQUIRE(document.save(directory / "ignored.anm2"));
CHECK_FALSE(std::filesystem::exists(directory / "ignored.baked.png"));
std::ifstream ignored(directory / "ignored.anm2");
CHECK(std::string(std::istreambuf_iterator<char>(ignored), {}).find("(baked)") == std::string::npos);
if (!std::getenv("ANM2ED_KEEP")) std::filesystem::remove_all(directory);
}