Hi everyone.
I need an automated way of rotating bitmaps.
I am working on a 2D RTS... my engine is more or less working... but there's a problem when it comes to the art...
I not an artist by I can draw pretty well, and pixel art is interesting... so, I decided to make the sprites for my game all by myself.,, the results so far are pretty nice... but I've encountered a problem...
In my game, each unit can turn to 8 directions. I need a different animation for the following modes:
idle - 1 frame of animation
shootting/attacking - about 6 frames of animation
dead - 5 frames of animation (different levels for corpse rotting)
sneaking...
and so on and on...
I have no problem making my frames... but rotating each frame 8 times and then putting it in its right spot in the bitmap grid is quite annoying!!!! don't forget that for some directions I must rotate by 45, 135 or so degrees... and paintbrush simply doesn't do it.
details:
each bitmap holds a a grid of squares, each square is a different frame... during runtime my sprite manager knows which column and row it needs from the sprite map and it clips that...
So basicaly... I need my program no to just rotate each "square" in the bitmap by itself... but also to keep the correct order and direction of squares in the resulting bitmap...
WHAT TOOL CAN I USE?! I AM GETTING NUTS LOOKING IT UP!
HELP!