scaling & sprite handles

Started by Quintaros, Tue 18/11/2003 02:13:56

Previous topic - Next topic

Quintaros

Is there any way to script a change in a character's scaling without using walkable area scaling?  Something like character[CHARID].scale?

Is there a way to specify which of the sprite's coordinates act as the handle?

MrColossal

"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Quintaros

Right...I remember that thread now.  Okay what about the handle question, then?

MrColossal

#3
i don't think something like this is even close to possible with ags yet and setting a handle to scale by could be a suggestion for that thread maybe CJ can add in a corner to choose or an extra function like SetCharacterViewEx()



i hate leaving whole words off of important sentences
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Timosity

Quote from: MrColossal on Tue 18/11/2003 05:30:17
or an extra function like SetCharacterViewEx()

There is SetCharacterViewEx (CHARID, int view, int loop, align)

but you can only  ALIGN_LEFT, ALIGN_CENTRE or ALIGN_RIGHT

You probably mean another function within this function though, cause I don't think this would help in this particular situation.

Quintaros

Well as I understand it the ALIGN_LEFT, CENTRE, RIGHT only applies to the bottom left, centre, or right pixels of a sprite but I'm looking for something that would allow you to select any pixel.  Additionally when you use flipped frames in a view and say ALIGN_LEFT does that mean the handle is the left pixel of the flipped frame or the original frame?

SMF spam blocked by CleanTalk