Nikos Kastellanos 7b044ce71f update Framework (v4.1) 5 giorni fa
..
Atlas 3ba9fa94ec rename namespace 2 anni fa
ContentReaders ea3ea950ef types 1 anno fa
Properties 9b51f6f06e v1.5.0.0 6 mesi fa
Aether.Atlas.NET4.XNA.csproj 0751af5991 update XNA outputPath 6 mesi fa
Aether.Atlas.csproj 7b044ce71f update Framework (v4.1) 5 giorni fa
README.md 4ef3422ea0 readme files 6 mesi fa

README.md

Aether.Graphics

Graphics library for Kni framework.

Graphics

  • 'TextureAtlas' - A TextureAtlas with a collection of sprites.

example:

// Initialize
textureAtlas = Content.Load<TextureAtlas>("atlas");

// Draw
Sprite sprite0 = textureAtlas.Sprites["spriteName0"];
spriteBatch.Draw(sprite0, new Vector2(128, 128), Color.White);
Sprite sprite1 = textureAtlas.Sprites["spriteName1"];
spriteBatch.Draw(sprite1, new Vector2(256 , 128), Color.White);