darkFunction

darkFunction Editor

darkFunction Editor is a tool for manipulating 2D sprites. If you have any feedback about how to make it even better, leave a comment!

Screenshots:

Comments (11) Trackbacks (0)
  1. Double clicking a sprite DOES auto-select just that sprite! This is so productive! I just defined my entire sprite sheet in minutes! Thanks again.

  2. Amazingly useful and well designed tool!! The best I’ve seen!

    Here are some suggestions that could make the tool even easier. Some may just be me nit-picking, but I thought I’d at least bring them to your attention.

    It doesn’t remember your previous path you were using last session, and must navigate to it each time by hand. And/or a ‘recent file’ list would be handy. Plus it doesn’t have a ‘save’ button or option, just a ‘save as’. It seems to forget your filename.

    When adding a new sprite definition using the ‘+’ button, the selection box doesn’t allow resizing until you click off of the new sprite, then on again. It does allow moving. (This caused me 5 minutes of trying to figure out how to resize a sprite!)

    While a sprite is selected, to delete it you can either right-click it’s name in the tree and select ‘Remove’, or click the red ‘-’ button. I noticed I kept instinctively trying to hit the ‘delete’ key on the keyboard to delete a sprite. Could this be added as a third method to delete?

    To auto-detect all of the sprites you can double click the entire image. An extra bonus would be if you could double-click an actual sprite selection, and the selection box will auto-detect the current sprite’s boundary. This would be great to roughly define a sprite in the image, then double-click it to snug it’s bounds tight.

    Another method to auto-generate the sprites would be a ‘grid’ button that let’s you specify a grid size. Then it would create a new sprite for each grid location. This could be handy when there is no separation between spites, and your sprites are in a grid layout. Or when defining a bitmap font, some characters have two parts, such as a colon, but the current method would create two sprites in that case.

    Direct keyboard editing of the sprite’s location would be nice too. Plus have a live update of the new dimensions while resizing so you don’t have to keep letting go of the mouse to see if it’s what you want yet.

    Again, great tool! Considering the boom in game programming, you could probably charge for this (or a better ‘full’ version). Or a ‘donate’ option. I’d chip in $20! Thanks.

    • Thanks!

      The resizing bug has been fixed now. The delete key also works in the graphics panel and the arrow keys can be used to fine tune the position of your selection.

      ‘Grid’ functionality is supported- repeatedly click the ‘+’ sprite button and notice how the editor will automatically grid-align to the last sprite you created, and wrap around the image area. So you can just setup the first grid box and let the editor do the rest…

      Glad you found it useful and thanks for the constructive feedback, there’s plenty of work still to be done so keep an eye out for future releases :)

  3. Excellent tool. There is beauty in such simplicity.

    Question: For animation ‘delay’, what are the units? Is it just ‘frames’, or is it something time-constant?

    • It’s just frames- so you should set this to correspond with the timing in your game, and call an updateAnimation() method every time around the game loop. Hope that makes sense.

  4. It sounds like the app I need… I downloaded it, but there is no installer or executeable… So how do I install it?

    • You will need the Java Runtime Environment installed. Then just double click on the .jar file, or run it from the command line by navigating to the directory and typing java dfEditor.jar

  5. sorry, I misspoke, I wanted to know the algorithm to detect the coordinates of the sprites in a sprite sheet.

    just an idea, it would be great to be able to export sprites coordinates in different formats ​​like C, assembly , text.

    I did not know the blackpawn algorithm before.

    many thanks.

  6. great tool

    for bounding rectangle, which algorithms are you using ?


Leave a comment

* Copy this password:

* Type or paste password here:

1,109 Spam Comments Blocked so far by Spam Free Wordpress

Trackbacks are disabled.