Jump to content


Photo

SpriteSheet Animation Plugin


  • Please log in to reply
13 replies to this topic

#1 SeriousSam

SeriousSam
  • Members
  • 19 posts
  • Reputation:0

Posted 19 May 2009 - 11:32 AM

V1.3

Posted Image

Here is a little something for the hobby game programmers and artist out there, including myself. It is a plugin to test and design Sprite Sheets. For those that do not know a Sprite Sheet is a collection of images arranged in a grid used to make animations. This is done instead of having a bunch of image files.

Hidden Content:



Hidden Content:

Attached Files



#2 david.atwell

david.atwell

    Former Moderator

  • Members
  • 627 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:18

Posted 20 May 2009 - 02:39 AM

This is mad cool! Nice job with the UI. Excellent work! Looking forward to subsequent releases.

Posted Image

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.


#3 SeriousSam

SeriousSam
  • Members
  • 19 posts
  • Reputation:0

Posted 20 May 2009 - 03:57 AM

Thanks david, a majority of work was doing the GUI. The actual animation and grid drawing were fairly easy. Expect to see some updates soon!

#4 Kemaru

Kemaru

    2012 Howard Huges Award Winner

  • Members
  • 3,208 posts
  • LocationFinland.
  • Reputation:15

Posted 26 May 2009 - 07:36 PM

WOW!! You are amazing, thanks! I have one question, though. After composing the animation, what does it do? Does it save as .pdn or as .gif?

Hatred does not cease by hatred, but only by love; this is the eternal rule.
musicbar.php?username=Kemaru&color=green
|portfolio|flickr|


#5 SeriousSam

SeriousSam
  • Members
  • 19 posts
  • Reputation:0

Posted 27 May 2009 - 04:07 AM

Thanks Kemaru. It is very common in 2D games, like super mario brothers on snes for example to use sprites sheets. They are simple and easy to use. What this plugin will do is help create different animation sequences from them. It saves the animation sequences created as a text file that could be loaded into a game. No image data is saved; only the sequence info is saved. So with this tool the user must open the same image to do the animation again.

I realize not every one is a hobby game designer but would like animations for web sites so I have been looking into saving alternatively as an animated GIF. So far I have looked over the file format and at some different existing code libraries. If I get it working I will include it into an update :D In the mean time I believe there is a plugin that uses different layers to save a animated gif.

#6 Simon Brown

Simon Brown
  • Members
  • 10,186 posts
  • Reputation:15

Posted 27 May 2009 - 11:32 AM

I'll consider adding code into the GIF/APNG plugin to allow the user to choose to have sequences detected in the image and use them as the animation instead of layers.
Posted Image

#7 barkbark00

barkbark00
  • Members
  • 3,336 posts
  • Reputation:2

Posted 27 May 2009 - 02:39 PM

^that would be really cool!
Posted Image
Take responsibility for your own intelligence. ;) -Rick Brewster

#8 david.atwell

david.atwell

    Former Moderator

  • Members
  • 627 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:18

Posted 28 May 2009 - 12:03 PM

Excellent job. This should be the gold standard in animation.

Posted Image

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.


#9 Kamala

Kamala
  • Members
  • 70 posts
  • LocationFlorida, USA
  • Reputation:0

Posted 28 May 2009 - 12:17 PM

Holy Cow, this is going to be a great feature!

I had one question - I already understand what to do with the .dll file, but what file should the skin file go, as it does not say dll? (Can you tell I'm still painfully new?) :oops: :shock:

Thanks so much for this.

#10 Simon Brown

Simon Brown
  • Members
  • 10,186 posts
  • Reputation:15

Posted 28 May 2009 - 12:52 PM

If you mean the SLN download, that's only of use to other plugin authors.
Posted Image

#11 Kamala

Kamala
  • Members
  • 70 posts
  • LocationFlorida, USA
  • Reputation:0

Posted 28 May 2009 - 01:41 PM

Thank you, Simon 8)

I had it saved to my desktop in the interim - I'll go ahead and discard. Thanks for your time and kind help.

#12 wiirus

wiirus
  • Members
  • 48 posts
  • LocationGermany
  • Reputation:0

Posted 18 July 2009 - 08:23 AM

[...]
GIFs must use a palette. I choose to use the gdi, Window's graphic application interface to generate palette and image data for convenience. It is most likely using the window's system palette. As a result detailed images do not look that great. I noticed detailed images get dithered/halftoned. I am looking into some more advanced techniques on generating an optimized palette. I would also like to add an option to use PDN's palette or a web safe palette may also be included.


First, thank you very much. I like it.
Would that mean that I have to use the windows pallette to avoid results like this?
Posted Image
Right?

I'm still learning, trying to get better.
Critics, even bad ones, help me.
Posted Image
Join Premium Renders!


#13 Mike Ryan

Mike Ryan
  • Competition Hosts
  • 4,263 posts
  • Reputation:9

Posted 18 July 2009 - 10:30 PM

Crazy awesome! While that hobby died down for me a few months ago, this is almost reason enough to jump back in. UI is excellent, it is fast, and it all makes sense. Well done ;)

Posted Image


#14 rtargo20

rtargo20
  • Members
  • 210 posts
  • LocationSouthwest Missouri, USA
  • Reputation:0

Posted 19 July 2009 - 12:38 AM

SeriousSam , I have your plugin installed under Effects and I can't get
any file loaded or how/where do I draw a stick man? I have used "Pivot Stickfigure Animator" ,
made some stickmen which are .stk files and they will not load into your plugin. I'm at a
loss as to what file type it will load. Will you please give me some guidance to get started?
Thanks, Robert


Edit: I didn't download >>>>File comment: VS2008 C# Solution
PdnAnimateControlSln.zip [134.14 KiB]
Downloaded 535 times <<<<
Should this be downloaded?

Posted Image

Is it me --or do buffalo wings taste like chicken?