cool-toxic said:
KaRei i got a question how do you cut them so it gets the same number of pixel each frame and the unit still is on the same spot?
I'm using Paint Brush. Yes, the basic drawing tool of Windows. It's enough for this work and it's easiest to use. Photoshop is so complex and paradoxly the process could be there much more harder.
I always split the sprite to the separated phases. This is the most boring and time consuming work in the process. I always reduce the x-attribute so I get the phase I want to the edge of the image. Then I mirror-turn the image and reduce the x-attribute from the second side. Then I have one separate phase (150x150 pixels) which I save as something (I recommend to include number of the phase in the name). Then I reopen the sprite and separate the next phase until whole sprite is splitted. Important thing is to keep the phase size as it is designed in the sprite. This will guarantee that the center will be in the same point in every separated phase.
Now you should have 10 or 15 files with phases. Next step is finding the most distant pixel (pixel closest to the edge). Open all phase-files, turn them to same direction and zoom them to same measure. By clicking on them on your Windows START ledge switch between the phases and find the phase where the most left pixel of the unit is closest to the edge of image. Reduce the image length so that the most left pixel of the founded phase will be on the edge of image. Check the length of image looking to attributes. Then set the same length by changing x-attribute in all other phases.
If you really found the phase where the pixel is closest to the edge, only transparent green borders will be cutted in other phases.
Mirror-turn all phases and find the phase with pixel closest to the second edge. Reduce the length and check if it's even. If not, increase the length by 1 pixel. Apply the new (even) length to all phases. Turn them to correct direction if they aren't and save the changes. Phases have now the shortest length as possible.
If you are correcting attack sprite phases you must now check the x-position of center point in one of the phases and add left "distant borders" in all phases to move the center to unified position.
Now you can close the files.
Open the original sprite and clear the image. Insert there corrected phases in right order and cut the rest of strip. Cut the green borders below and above the sprite and save the final result. Again, if it is attack sprite check the y-position of center point and add top "distant border" if needed.
That's all.
IMPORTANT: Never move the unit picture in phases! Only cut and add borders. This will move the unit picture in all phases by same number of pixels, so you'll never lost the synchronization.
P.S.: If you know easier way how could be the sprite splitted, I'll welcome the information.