mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-25 01:39:23 +01:00
moved DataTextureAtlas to MLEM.Data
This commit is contained in:
parent
e4081be2ce
commit
f68e55ebfd
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
|
@ -6,8 +5,9 @@ using System.Text.RegularExpressions;
|
|||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Content;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using MLEM.Textures;
|
||||
|
||||
namespace MLEM.Textures {
|
||||
namespace MLEM.Data {
|
||||
/// <summary>
|
||||
/// This class represents an atlas of <see cref="TextureRegion"/> objects which are loaded from a special texture atlas file.
|
||||
/// To load a data texture atlas, you can use <see cref="DataTextureAtlasExtensions.LoadTextureAtlas"/>.
|
|
@ -1,4 +1,4 @@
|
|||
-- This is a lua script for Aseprite that allows automatically populating a MLEM Data Texture Atlas.
|
||||
-- This is a lua script for Aseprite that allows automatically populating a MLEM.Data Data Texture Atlas.
|
||||
-- To use this script, you need to select a rectangular area that should be your texture region.
|
||||
-- If you want a custom pivot point, you also need to un-select exactly one pixel, the pivot point.
|
||||
-- When you then execute the script and input the name of the texture region, it gets appended to the "SpriteName.atlas" file.
|
||||
|
@ -23,7 +23,7 @@ end
|
|||
::foundPivot::
|
||||
|
||||
-- open the name dialog
|
||||
local dialog = Dialog("Copy Texture Atlas Data")
|
||||
local dialog = Dialog("Populate Data Texture Atlas")
|
||||
:entry{ id = "name", label = "Region Name", focus = true }
|
||||
:button{ id = "ok", text="&OK" }
|
||||
:button{ text = "&Cancel" }
|
||||
|
|
Loading…
Reference in a new issue