Author Topic: Sprite Assembly Tutorial!  (Read 3396 times)

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Sprite Assembly Tutorial!
« on: July 30, 2007, 02:37:35 pm »
(Ugh, I really hate my keyboard.  I had the whole tutorial written and then it went psycho and closed the page so now I'm rewriting this tutorial for the 2nd time.)

Ok, this is my second tutorial and hopefully this will help you understand how to work Sprite Assembly.

- This is a screenshot of Guile's sprite and the SA program that Chickenlump I believe created.  (Thank you for that xD!)  Your probably wondering, "WTF IS WITH ALL THE NUMBERS DX!" but it's actually really easy once you work with it a bit.

00|00   00|00 (I use hex terms for double 0's)
02|00   01|00 - These numbers represent the hair of Crono's front view stand.  AKA just standing idly facing front.  The numbers you see 2 and 1 represent the hair of him.  Here's a screenshot to help you understand.  - That whole spot of Crono's sprites is 255 8x8 sprites.  16*16 = 256 but you have to minus 1 because one of them is 0 thus you get 255.  As Vehek's screenshot shows, each 8x8 sprite is labeled as number.  The empty spot (2|0) is the slot shown for the Left side of his hair, and 1|0 is for the Right.  Changing the 0's on the top row make up body parts that are way out of normal reach.  But they can be used to create a bigger character.

2|0 and 1|0 - The 0's represent which block of 255 sprites to use.  0 = The first 255, 1 = the next, 2 and 3 are Crono's sprites.  64, 65, 66 and 67 are also used for this as you can see on the bottom of the first Screenshot.

The next set of numbers 0|0 x2 32|0 and 33|0 are for the halves of the torso.  48|0 and 48|64 are for the feet.

Now for the numbers on the far right.

248|0 - This represents the X/Y of the hair
248|224  - This represents the face and neck

245|208 = Torso
248|240 = Legs/Feet

That explains those pieces.

You might be wondering what would happen if I changed the 1|0 to 2|0, well here's a screenshot. - As you can see now, his hair is odd looking because you just changed the right side of his hair to look the same as left.  This really helps alot to organize these sprites.

That's about it, if there's any questions (Which there probably is) just post it and i'll answer them as best as I can.
« Last Edit: September 20, 2007, 09:15:39 pm by justin3009 »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Sprite Assembly Tutorial!
« Reply #1 on: August 12, 2007, 11:56:27 am »
It seems I made a slight error.  Of course, 64-67 = the same tiles, but it FLIPS it horizontally.  So 01 would be flipped if you put 1 64.

The numbers on the side I made an error as well.  The first 4 numbers represent the top half of his body's X/Y
The next 4 numbers represent the bottom half's X/Y.  In some cases, just the head and torso/legs.
« Last Edit: August 12, 2007, 12:15:31 pm by justin3009 »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Sprite Assembly Tutorial!
« Reply #2 on: September 20, 2007, 09:16:30 pm »
I'm planning to rewrite this tutorial with more detail so it's much easier to understand, especially for people that are just getting started.