Skip to content

Chris95Hua/spriten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spriten

spriten is a sprite editor and a generative tool for simple sprite generation. The key features include:

  • Procedural sprite generation using masks
  • Texture generation using texture synthesis

Since this project is supposed to be nothing more but a prototype and proof of concept that generative tool can be useful when integrated into a sprite editor, it lacks a lot of features found in some popular paint or sprite editor. However, I do plan to add more features in somewhere down the road (see To-Do List). Also, see Frequently Asked Questions for more information.

Disclaimer: While I did my best to squash all the bugs I could find, by no means that this software is production-ready (see Known Issues). Therefore I will not be held responsible in any way if you lose your progress while using this software.

Software Requirement

Microsoft .NET Framework 4.5.2

Frequently Asked Questions

Is there a Linux or macOS release?

Sadly, this is Windows only. However, porting it to Mono shouldn't be too hard, but then I don't have the time to do it myself.

Where are the user guide and help documents?

There are none to begin with but the learning curve should be low if you have some experience with Adobe Photoshop, Krita or similar paint editor in the past. In case you are looking for tutorial or explanations of the mask used for procedural generation, check here.

Can you add [feature]?

No.

Will you maintain and continue the development of this project in future?

Short answer: Unlikely. Long answer: I'll most likely stop after clearing all the things in the to-do list below, unless I really have an awful lot of free time on my hands. However, feel free to fork this project and contribute if you wish to see this project in a more complete state.

Why WinForms instead of WPF?

While WPF is generally superior, it is not exactly as lightweight as I wanted after having experimented with a version build using WPF in early development stages. Indeed, spriten will benefit a lot from the hardware acceleration offered by WPF, but GDI+ isn't that slow to begin with. Also, I doubt I can actually meet the tight deadline if I were to go with WPF since I don't have much experience working with WPF.

Oi, your code is inconsistent, full of poor design choices and bad programming practices.

In my defense, I only have 3 months to work on this along with other projects so I can't be bothered with good codes.

To-Do List:

  • Undo and redo stack
  • Shortcuts
  • Color replacer tool
  • Shapes and line tool
  • Color palette (with ability to load and save)
  • Multithreading support
  • Code cleanup and optimization

Note: The development, releases and timing of any features or functionality described are depend on my personal free time and interest. Thus, this list is subject to change and does not represent a commitment, obligation or promise to deliver any features at any time.

Known Issues

  • Bucket fill will leak if the fill region is enclosed with diagonally adjacent pixels
  • Tool's opacity affects the lightness of color instead of just the alpha channel
  • Layer selection doesn't get updated when merging, moving or removing the selected layers

Credits