recursor

Sprite Animation Helper (v 0.94 updated October 28, 2016)

Recommended Posts

desirez    0

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

Still crashes for me. Here's the error:

Exception details:

System.NullReferenceException: Object reference not set to an instance of an object.

at AnimationEffect.AnimationHelper.SetFrameNumber(Int32 frame)

at AnimationEffect.AnimationHelper.timer_Tick(Object sender, EventArgs e)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Share this post


Link to post
Share on other sites
recursor    3

Still crashes for me. Here's the error:

Exception details:

System.NullReferenceException: Object reference not set to an instance of an object.

at AnimationEffect.AnimationHelper.SetFrameNumber(Int32 frame)

at AnimationEffect.AnimationHelper.timer_Tick(Object sender, EventArgs e)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Sorry I took so long to respond. I just saw this today. While I have been unable to reproduce this, I think I

see what might have caused it. Version 0.83 should fix the problem.

Edited by recursor

Share this post


Link to post
Share on other sites
amitsri    0

I have downloaded your latest plugin dll. Everything is working fine, except one error when pressing Save frames without entering the Target folder path. This cause paint.net to crashed and closed.

Please fix this issue by validating the target folder path on clicking Save Frames. I have also attached the crash log.

Thanks

pdncrash.zip

Share this post


Link to post
Share on other sites

I'm using it now! Thanks for sharing.

EDIT: one thing that I'd find useful is buttons next to "Offset" that increases the offset in X or Y by the current width or height of the cell. That is, if the cells are set to be 32x64, the "Next" button next to "Offset X" would increase the current X offset by 32 (and the "Next" button next to "Offset Y" would increase the current Y offset by 64).

Edited by NisseBosseLasse

Share this post


Link to post
Share on other sites

<snip - no need to quote the whole first post >

When i use this my image is always small. If i make it larger in the plugin it starts to show other images from other sprites around it. Please help me.

Edited by Ego Eram Reputo

Share this post


Link to post
Share on other sites
recursor    3

I have downloaded your latest plugin dll. Everything is working fine, except one error when pressing Save frames without entering the Target folder path. This cause paint.net to crashed and closed.

Please fix this issue by validating the target folder path on clicking Save Frames. I have also attached the crash log.

Thanks

Thanks for the report. I'll get that fixed in the next release.

I'm using it now! Thanks for sharing.

EDIT: one thing that I'd find useful is buttons next to "Offset" that increases the offset in X or Y by the current width or height of the cell. That is, if the cells are set to be 32x64, the "Next" button next to "Offset X" would increase the current X offset by 32 (and the "Next" button next to "Offset Y" would increase the current Y offset by 64).

I like that Idea. Look for it in the next release.

<snip - no need to quote the whole first post >

When i use this my image is always small. If i make it larger in the plugin it starts to show other images from other sprites around it. Please help me.

I'll look into it.

Share this post


Link to post
Share on other sites
daroou    0

Hi recursor,

First of all, great plugin! I've been thinking of writing one like this for a while - you saved me the trouble :)

One feature request: it would be cool to control the "loop behaviour" as in:

Cycle: 0,1,2,0,1,2 (currently what you have)

PingPong: 0,1,2,1,0,1,2,1,0

Lots of sprite animations "ping-pong" back and forth through the sprite frames (at least in my own experience).

Thoughts?

Thanks again!

Edited by daroou

Share this post


Link to post
Share on other sites
sasti    0

Hi. Would it be possible to add a new feature to this plugin?

It would be very helpful if the plugin could show images of different layers as an animation. With this it would be much easer to find breaks in between the different stages during the creation process.

Despite that its a very useful little helper ;).

Share this post


Link to post
Share on other sites
pdnnoob    257

Hi. Would it be possible to add a new feature to this plugin?

It would be very helpful if the plugin could show images of different layers as an animation. With this it would be much easer to find breaks in between the different stages during the creation process.

Despite that its a very useful little helper ;).

Plugins can only modify/interact with the current layer.

Share this post


Link to post
Share on other sites
smk    0

Huge thanks mate, this plugin has been darn helpful. Even created an account just to post my regards :)

A few requests, if I may:

Ability to drag the corner of the plugin inside the program. At a high zoom state (or with bigger images) the sprite just fills/skews with the current max plugin-windows size.

It would also be awesome if I could either choose the file type the frames save to, or that it would save in the same format as the source image. (or then just a drop down menu for png/bmp). This saves some hassle as I sometimes have to use .bmp, though mass-conversion is always an option! Also a "save to animated gif" as a third button, that would take in regard the zoom state, animation speed and bg color (defaulting to transparent.)

An addition also perhaps to the sequencing; PingPong was excellent, but perhaps, if it wouldn't be too hard, some kind of sequencer (0,1,2,1,2,3,4,1,2,3,4,4,2,1,2) for additional animation testing

Also I'd be happy to donate a few bucks via paypal, as I've been using your plugin a lot.

Anyhoo, thanks a lot once more for an awesome plugin!

Hi. Would it be possible to add a new feature to this plugin?

It would be very helpful if the plugin could show images of different layers as an animation. With this it would be much easer to find breaks in between the different stages during the creation process.

Despite that its a very useful little helper ;).

I always just merge the layers before running the plugin!

Share this post


Link to post
Share on other sites
recursor    3

@smk: For some reason I didn't get notified of your post so I only saw it yesterday. Thanks for the comments and suggestions. I had a bit of time today and was able to implement a couple of your suggestions into v0.87. Saving as animated gifs would be cool so I'll look into that and see what I can do.

Share this post


Link to post
Share on other sites
recursor    3

Version 0.88 now has support for saving animations as an animated gif. Animated gifs can be saved either using the current zoom level or using the actual size of the frame. Animated gifs can be set to either loop forever, or play once.

Edited by recursor

Share this post


Link to post
Share on other sites
recursor    3

I just uploaded version 0.89

 

Fixed an issue with animated gifs where if you used the zoom to size option you would get black bars on the right and bottom of your output.

Share this post


Link to post
Share on other sites
nick5454    0

@recursor:

 

I created a .net application for you. It's still in it's initial stage ( I spent 30 minutes on it )

 

What it does is creates a sprite sheet with 1 pixel width for rows and columns. You specify the width, height, # of columns, and number of rows and it creates a bitmap for you based on the results.

 

I'm not sure how to programtically create layers and a pdn file with multiple layers. If anyone knows post on on the project or if I need to add stuff, do that there.

 

https://spritesheetbuilder.codeplex.com/discussions/436464

Share this post


Link to post
Share on other sites

can you guys add a transparent background as an option cause i try converting the ani to png and gif and well it gives black background for something that was originally transparent not the greatest of things to see when your doing a custom html and want only the cursor to show but the black background get in the way 

post-123894-0-40257900-1382022870.gif

 

Share this post


Link to post
Share on other sites
johnnysdream    30

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...

Im so late on this but ah,I cant find any help with how to actually make an animation.The video you put up isnt really a tutorial on how to use the program.It moreso just shows the options.I know what a frame is (or do i)but I ........Hmm,not sure how to put it in words.Let me start over.Id love to use what looks like an awesome plugin but theres just not enough info.Too many people on here just assume everyone knows this stuff.Whats a cell?Whats a column?Do you make 1 layer and thats a frame?Then on to the next layer?Whats a grid?How do you put one between each cell?  In your video it shows you open up an animation/picture that was already finished.Then you uploaded it to the animation helper and showed what it looked like but there is no real instruction to be found.A step by step video.Hope im not sounding rude.But ive just started messing around with using paint.net and wmm to make movies/animations with and im sure somehow this plugin could really be useful and I want to learn it.

Share this post


Link to post
Share on other sites
ninjamax237    0

I am so glad that you've added an option to save the animated gif. However, when I save an image with no background, it always adds a black background. Is there any way around this?

Share this post


Link to post
Share on other sites
kickit    0

recursor, great plugin if I can get the background to be something other than black (agreeing with previous posts).  I tried the yellow background but still came out black.  The best would be transparent background by default.

 

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now