From 27f7983aaf2ad518b1126c96b3ed6d4e796e1bee Mon Sep 17 00:00:00 2001 From: Andreas Loew Date: Thu, 24 Jul 2025 21:29:04 +0200 Subject: [PATCH] don't remove subdirectories from atlas image, this makes sprite management more flexible; (#999) example: json data can be stored in sheetdata/player.json, texture can be stored in textures/player.png; player.json contains relative path to texture: image=../textures/player.png don't remove subdirectories from atlas region names, to be able to load multiple animations from one texture atlas without conflicting region names; example: walk/01.png, walk/02.png, ... turn/01.png, turn/02.png, ... --- .../TextureAtlases/TexturePackerWriter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerWriter.cs b/source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerWriter.cs index eceb015a..9ee763cf 100644 --- a/source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerWriter.cs +++ b/source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerWriter.cs @@ -15,14 +15,14 @@ public class TexturePackerWriter : ContentTypeWriter