problem with different sprite properties

Started by menaze, Thu 21/08/2003 14:48:58

Previous topic - Next topic

menaze

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 ?  ???



TerranRich

Why would you want to do that? Why not just use character scaling to use differently-sized characters in your game?
Status: Trying to come up with some ideas...

Scummbuddy

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.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Timosity

#3
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


menaze

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.

menaze

It works! I just centered the character and it functions all well.
Thanks a lot , people

SMF spam blocked by CleanTalk