Code Monkey home page Code Monkey logo

alferd-spritesheet-unpacker's Introduction

Alferd-Spritesheet-Unpacker

What is this?

ASU is a simple spriting tool which takes an animation spritesheet image, with irregular sized and positioned sprites, and automatically finds the boundaries of each sprite so they can be exported as individual images.

The interesting bit

So the actual logic to find the individual sprites can be found in ASU\BO\RegionUnpacker.vb.

To use

Just double click the .sln file.

Projects

/ASU

This is the main Windows app and contains all the forms.

/ForkandBeard.Util

Contains some misc classes I've used in other projects. ASU uses to find rectangle bounds and distances.

/ForkandBeard.Logic

Again contains some misc classes I've used in other projects. ASU uses it for Exception handling and getting version numbers.

/ImageQuantizers

ASU uses this one to preserve a bitmap's palette index - which the Mugen community go crazy over if you destroy a bitmap's indexed palette. I didn't wrote this project (forget where I found it).

Code quality

When I wrote this app I was working for a company which worked in VB and one of their dev standards was Hungarian notation, so it was just easiest for me, at that time, to write to that standard for ASU. I also, originally, never planned on releasing it, so it was only ever going to be a tool for me, which will hopefully explain some of its shoddyness. Ideally I'd like to move all the code over to C# and remove all the Hungarian notation and other kak.

Updates

06/11/2014 - All VB code has now been replaced with C#

alferd-spritesheet-unpacker's People

Contributors

forkandbeard avatar nestelami avatar bitdeli-chef avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.