I've been keeping eyes, mouths, eyebrows etc. facial parts in separate layers so that it's easier to change facial expressions than saving every combination for different expressions.
I just took the picture 1's coordinates as variables and inserted that into other picture's coordinates. So to change the position of the entire character, I will just have to change the position of the base layer which is picture 1 instead of manually changing everything which is a real pain.
I want to do this for scale too.
So like $gameScreen.picture(1).x() is there something for scale too?
EDIT: It's $gameScreen.picture(ID).scaleX() and $gameScreen.picture(ID).scaleY()
I just took the picture 1's coordinates as variables and inserted that into other picture's coordinates. So to change the position of the entire character, I will just have to change the position of the base layer which is picture 1 instead of manually changing everything which is a real pain.
I want to do this for scale too.
So like $gameScreen.picture(1).x() is there something for scale too?
EDIT: It's $gameScreen.picture(ID).scaleX() and $gameScreen.picture(ID).scaleY()