I designed some character-sprites in MS Paint, they are all bitmaps of the same pixel size (100x140). It is not too difficult to make the charcter look smooth when animating him.
Now I want to make a character-sprite that has different properties,
lets say (100x140) and (150x140).
Question is:
How can I make an animation of different-size-sprites.
They wouldnt fit together, would they?
Is there something like a hot-spot I can use.
Does anybody know ? ???
Why would you want to do that? Why not just use character scaling to use differently-sized characters in your game?
When making an animation, the center of the bottom pixel needs to never move, meaning that you will need to add dead space to some animation frames/ sprites in order to keep the character centered for the animation.
I think I know what you're saying,
eg. in an animation where say, the character puts his arm out to the left
you have the normal character sprite croped to his size and a larger image for the one with the arm out and other sizes in between.
I think in AGS sprites are aligned bottom centre, therefore you can just work out where the centre of each sprite is, Also I think you can change this with this:
SetCharacterViewEx (CHARID, int view, int loop, align)
I think that could help, give it a go and see.
~Tim
Edit: or try what scummbuddy said
Thats it. Someone who puts his arms in the air for example.
He would need a bigger frame. Allright then, I'll try out what you suggested. thanks for your help.
It works! I just centered the character and it functions all well.
Thanks a lot , people