Jump to content


Photo

Sprite Animation Helper (v 0.90 updated March 08, 2014)


  • Please log in to reply
48 replies to this topic

#1 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 23 December 2009 - 01:06 PM

I often use Paint .NET to make or modify sprite sheets, and one of the things I've always wanted to do was see the animation in action without having to leave Paint .NET. This plugin will allow you to do just that. It lets you view any sequence of animations within a sprite sheet by adjusting the offset, # of columns, and the total # of frames. You can also save all the frames off to individual .png files. Saving an animation out to an animated GIF is also supported.

New version 0.90 available (3/08/2014)

See the attached file for the download

For a video tutorial on how to use it, see:



Install it into the Effects directory
Open Paint .NET and you'll find it under Effects->Animation->Animation Helper

 

v0.90 Notes
=============
1) Background color is now correctly rendered with animated GIFs
2) New checkbox to set transparent background for animated GIF.
   Note: This currently uses black as the transparent color because it is
         the only color that worked in all of my tests. The rest produced 'pixel bleed'

         I'm still working on making this better...
3) BUGFIX: Animation framerate was not correct when saving an animated GIF
4) Fixed a possible unhandled exception

5) Included a version.txt file

6) Included a copyright.txt file

7) Works with Paint .NET 4.0 (may not work with 3.5 anymore. Not sure)
 

Attached Files


Edited by recursor, 09 March 2014 - 12:33 AM.

  • 0

#2 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 23 December 2009 - 10:05 PM

Version 0.4:
1) Removed Status bar
2) Made Nearest neighbor the default for zooming. It looks much better this way.
3) The plugin is now located in the Animation category under the Effects menu

Version 0.3 Bugs fixed:
1) Cell bitmap was not being cleared before drawing the next frame
  • 0

#3 yellowman

yellowman
  • Members
  • 1,674 posts
  • Reputation:141

Posted 24 December 2009 - 04:34 AM

I didn't get what exactly it does, so it just play the animation been working on in paint.net, but you can't use it to import or export files? And the layers are the frames? Looks interesting anyways, I ll give it a try, I like the UI
EDIT: Never mind I just got it to use, looks cool, thank you very much for this plugin, I think I will never need it, but I am sure it is very important for some people to use with some applications. :)
  • 0

#4 Dataflashsabot

Dataflashsabot
  • Newbies
  • 2 posts
  • Reputation:0

Posted 02 January 2010 - 03:21 PM

Registered just to say thank you for this plugin, it's been invaluable.
One suggestion, how about an option for nearest neighbor scaling instead of blurry linear scaling in the preview window?
  • 0

#5 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 02 January 2010 - 10:20 PM

Glad it is useful to you. I have updated the plugin to use nearest neighbor for zooming as you suggested. It was something that had not occurred to me. I have also changed where it is located in the Effects drop down - it is now under Animation instead of Advanced
  • 0

#6 oblachubs

oblachubs
  • Newbies
  • 5 posts
  • Reputation:0

Posted 23 February 2010 - 11:59 PM

Thanks. Does this assist with the tedious task of cutting sprite sheets or do I still have to do that? I usually open a new doc with a 32x32 pixel, select and copy the sprite from the master sheet, Ctrl Tab back to the blank doc and paste. then I may resize or magic wand it transparent. If there is an easier way I'm all ears.

I've been trying it out and can't figure out how to use the plugin. I can't find documentation anywhere. Thanks!
  • 0

#7 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 30 May 2010 - 12:38 AM

I just released version 0.5

Version Notes:
===============
1) Added ability to export each frame to a .png file (sprite sheet cutting)


See first post in this topic for the download
  • 0

#8 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 05 June 2010 - 10:49 PM

I have released Version 0.6 of the plugin.

To see what has changed and to get the download link, check the first post in this topic.

Edited by recursor, 05 June 2010 - 10:49 PM.

  • 0

#9 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 10 June 2010 - 08:51 PM

I've released version 0.7 which now uses the current rectangular selection (if there is one) to fill in
the frame width, height and x,y values. See the first post in this topic for the new file.

Edited by recursor, 10 June 2010 - 08:51 PM.

  • 0

#10 Pangamma

Pangamma
  • Newbies
  • 1 posts
  • Reputation:0

Posted 18 June 2010 - 02:38 AM

oy. for some reason my paint.net program crashes every time I try to use it. It opens up, but then I see some of the settings get switched. BOOM! program crashes.

Any ideas on how to fix this?
  • 0

#11 Sarkut

Sarkut
  • Competition Hosts
  • 3,206 posts
  • Reputation:4

Posted 18 June 2010 - 06:16 AM

Pangamma,

Is there a pdncrash.log on your Desktop that you can post?
  • 0

Posted Image


#12 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 18 June 2010 - 08:57 PM

Pangamma,

Is there a pdncrash.log on your Desktop that you can post?



Indeed. That would be helpful in determining what the problem might be.
  • 0

#13 TxTARUNTxT

TxTARUNTxT
  • Newbies
  • 4 posts
  • Reputation:0

Posted 09 July 2010 - 11:35 AM

I don't think mine seems to work can you explain to me the steps on how to use it.

A thousand thank yousPosted Image
  • 0

#14 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 10 July 2010 - 08:53 PM

I don't think mine seems to work can you explain to me the steps on how to use it.

A thousand thank yousPosted Image



Certainly, Check out the tutorial video:


  • 0

#15 MerlinJones

MerlinJones
  • Newbies
  • 4 posts
  • Reputation:0

Posted 12 August 2010 - 05:00 PM

Recursor-
Thanks for this, I was hoping to make something very similar. What are the chances you'd be willing to share the source so that I can make some updates for my own tastes? Giving you full credit for what you've already done, of course.
  • 0

#16 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 08 December 2010 - 06:04 PM

Sprite Sheet Animation Helper Version 0.8 released

V0.8 Notes:
=============
1) Fixed bug where if your selection rectangle was either as wide as or as tall as the original image, then the selection rectangle was ignored.
2) Added a frame counter
3) Changed the Directory label to a textbox so you can modify the save directory in the textBox instead of having to use the Folder dialog box every time
4) Also if you type in a directory that does not exist into the TextBox, then it will try to create it (note I'm not yet catching any exceptions that might occur here so if you screw up the directory, it could close Paint .NET)

See first post in this topic for the download

Edited by recursor, 08 December 2010 - 06:08 PM.

  • 0

#17 lolgg

lolgg
  • Newbies
  • 1 posts
  • Reputation:0

Posted 09 December 2010 - 04:43 AM

Hi recursor, Just wanted to say thanks for the plugin, and also ask about it. The video tutorial didn't really specify how to actually create an animation, could you give me some help with that? I don't really understand the column thing - it says the number of columns per row to use for the anim, but I only want to use the images from 1 row. Is it just going to take the number of images I specify from that row? When I put the column as 1, and frames as 2, should I be expecting a static image? Because I'm getting the same image moving up and down.

I randomly tried some settings and the animation kept making the guy go off the image. Is there any way to make it just a walking animation like in your video? I don't want him to go off screen.

Edited by lolgg, 09 December 2010 - 04:46 AM.

  • 0

#18 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 11 December 2010 - 08:25 PM

Hi recursor, Just wanted to say thanks for the plugin, and also ask about it. The video tutorial didn't really specify how to actually create an animation, could you give me some help with that? I don't really understand the column thing - it says the number of columns per row to use for the anim, but I only want to use the images from 1 row. Is it just going to take the number of images I specify from that row? When I put the column as 1, and frames as 2, should I be expecting a static image? Because I'm getting the same image moving up and down.

I randomly tried some settings and the animation kept making the guy go off the image. Is there any way to make it just a walking animation like in your video? I don't want him to go off screen.


If you only have one row then all you need to do is make sure that the # of columns specified is equal to or greater than the number of frames you have and you'll be ok. If however, your animation spans more than 1 row, then you can use the columns to indicate when the program should go to the next row.

Ex:

Let's say I have 7 frames in my animation, but I have 4 on the 1st row and 3 on the next row as shown below:

[1] [2] [3] [4]
[5] [6] [7]

In this case, you would set columns = 4 and the frames=7. When the program goes to get the 5th frame it knows that there are only 4 frames per row so it goes to the next row to get the 5th, 6th, and 7th frames.

Also, if you have a grid between each cell as shown in my video, then you will want to set the Border equal to the width of those pixels so that they will be skipped. If you have no borders on your frames then be sure to set Border=0.

If your animation moves left or right, then any of the following may be the culprit:

Your cell width/height (the size of each frame)
Your starting offset in the image
Your border size may be wrong

This may require another video to explain more clearly...
  • 0

#19 dsv101

dsv101
  • Newbies
  • 3 posts
  • Reputation:0

Posted 15 December 2010 - 04:43 AM

Paint dot net crashes when i try to use this add on.
It shows the Animation helper right before an error message/crash

heres a link to the crash report file, the forum says im not permitted to attach text files, probably because its a log, luckily i have dropbox.
  • 0

#20 recursor

recursor
  • Members
  • 16 posts
  • Reputation:0

Posted 15 December 2010 - 12:24 PM

Ok. I think I've fixed that bug. See The first post in this topic for version 0.81 or the plugin.
  • 0