From 1a5e6322ca6cd96162cf78b1b447bddb4884ce13 Mon Sep 17 00:00:00 2001 From: Dylan Wilson Date: Fri, 21 Aug 2015 17:59:54 +1000 Subject: [PATCH] started working on texture atlas importer --- .../MonoGame.Extended.Content.Pipeline.csproj | 8 ++ .../TextureAtlases/TexturePackerFile.cs | 14 +++ .../TextureAtlases/TexturePackerFrame.cs | 28 ++++++ .../TexturePackerJsonImporter.cs | 19 ++++ .../TextureAtlases/TexturePackerMeta.cs | 28 ++++++ .../TextureAtlases/TexturePackerPoint.cs | 13 +++ .../TextureAtlases/TexturePackerRectangle.cs | 19 ++++ .../TextureAtlases/TexturePackerSize.cs | 13 +++ Source/Sandbox/Content/test-tileset.json | 93 +++++++++++++++++++ Source/Sandbox/SandboxGame.cs | 2 +- 10 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerFile.cs create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerFrame.cs create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerJsonImporter.cs create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerMeta.cs create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerPoint.cs create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerRectangle.cs create mode 100644 Source/MonoGame.Extended.Content.Pipeline/TextureAtlases/TexturePackerSize.cs create mode 100644 Source/Sandbox/Content/test-tileset.json diff --git a/Source/MonoGame.Extended.Content.Pipeline/MonoGame.Extended.Content.Pipeline.csproj b/Source/MonoGame.Extended.Content.Pipeline/MonoGame.Extended.Content.Pipeline.csproj index 84d977b4..8e3490d7 100644 --- a/Source/MonoGame.Extended.Content.Pipeline/MonoGame.Extended.Content.Pipeline.csproj +++ b/Source/MonoGame.Extended.Content.Pipeline/MonoGame.Extended.Content.Pipeline.csproj @@ -62,6 +62,13 @@ + + + + + + + @@ -92,6 +99,7 @@ MonoGame.Extended +