Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: [Pre]Sprite Sheet Formatter  (Read 2386 times)

0 Members and 1 Guest are viewing this topic.
[Pre]Sprite Sheet Formatter
« on: March 26, 2007, 08:25:15 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2245
Sprite Sheet Formatter

What it does
If the image below doesn't explain it too well, it basically takes a pre-existing sprite sheet, and then it attempts to put it in a form that could be considered "more usable".  This could be quite advantageous when dealing with quite large sheets and those that have a tendency to be badly formatted.

How to use it
In order to split apart separate animations, it gives you a couple of options to choose from.
  • How similar their palettes are
  • How close the images have to be to each other

It also contains options to allow you to further adjust the end result.
  • Frame Alignment
  • Frame Addition (from clipboard)
  • Frame Removal
  • Animation Preview
  • Shift Frame Position
etc...

Screenshots



Logged

Devy

Re: [Pre]Sprite Sheet Formatter
« Reply #1 on: March 26, 2007, 12:03:19 pm »
nice i dea  :P
Logged
Re: [Pre]Sprite Sheet Formatter
« Reply #2 on: April 09, 2007, 04:02:00 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 775
not bad
so its advanced?
Logged

My Child Is Student of The Month at Neverland Ranch!
  • SSEdit
Re: [Pre]Sprite Sheet Formatter
« Reply #3 on: April 14, 2007, 05:01:57 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 413
Ha, nice idea.
But we still need what I said, a tileset maker.
Basically it'd take an image, split it up into, say, 16x16 blocks, delete any repeated tiles and then allow you to format them. It'd be a tad difficult to code, especially removing duplicated tiles, but it'd help so much.
Logged
Re: [Pre]Sprite Sheet Formatter
« Reply #4 on: April 15, 2007, 09:41:05 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2245
Ha, nice idea.
But we still need what I said, a tileset maker.
Basically it'd take an image, split it up into, say, 16x16 blocks, delete any repeated tiles and then allow you to format them. It'd be a tad difficult to code, especially removing duplicated tiles, but it'd help so much.
Been done more than once, I'm trying something different.
Logged
Re: [Pre]Sprite Sheet Formatter
« Reply #5 on: April 15, 2007, 11:10:11 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
Your tools never cease to amaze me.
Logged
the a o d c
Re: [Pre]Sprite Sheet Formatter
« Reply #6 on: April 15, 2007, 11:46:13 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
Looks good! so is it written in C++?
Logged
Re: [Pre]Sprite Sheet Formatter
« Reply #7 on: April 15, 2007, 11:57:01 am »
  • (y)(;>.<;)(y)
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3293
Looks cool.

The tiler idea wouldn't be that hard to do.

Split an image into many images in a list format
Run through every item in the list and check if any items with the same pixel data exist, if you find a match remove the match from the list.
Combine the list into one image again
Save the image as a .bmp

You could do that using C++ using Allegro easily (In theory), and DirectX in theory wouldn't be any/much harder if you knew what you were doing...I'd try it if I knew how to compare Windows BITMAP structs to see if they were the same...
« Last Edit: April 15, 2007, 11:58:55 am by TheDarkJay »
Logged
Re: [Pre]Sprite Sheet Formatter
« Reply #8 on: April 15, 2007, 08:16:50 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 775
Ha, nice idea.
But we still need what I said, a tileset maker.
Basically it'd take an image, split it up into, say, 16x16 blocks, delete any repeated tiles and then allow you to format them. It'd be a tad difficult to code, especially removing duplicated tiles, but it'd help so much.

if youd explain that in more detail to me i could write it into my spriting app (ssedit)
sorry for being off topic :)
Logged

My Child Is Student of The Month at Neverland Ranch!
  • SSEdit
Re: [Pre]Sprite Sheet Formatter
« Reply #9 on: April 15, 2007, 08:22:38 pm »
  • (y)(;>.<;)(y)
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3293
I think the idea is to divide an image into many 16*16 tiles, and compare them all. Remove any duplicate tiles (any tiles which are the same) and bring them back together into a new image.
Logged
Re: [Pre]Sprite Sheet Formatter
« Reply #10 on: April 16, 2007, 12:13:45 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 413
Gonzo. I asked you to do that, but you saw no use for it...but NOW you care?! :(
Basically it'd split an image up into tiles with sizes of your choice, e.g. 16x16 or 32x32. Then it'd get rid of any tiles that are the same. It'd also help if you could move the tiles around, aligned to the grid, so you could lay out the tileset how you want.

EDIT: Sorry for the bump, but I don't think Windy has mentioned his TileSet Optimizer yet. You can find it on the Binary Phoenix website, I'm trying it out now.
« Last Edit: April 22, 2007, 12:14:58 pm by Sir Cyrus »
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.202 seconds with 56 queries.