My artist is giving me different sprite sizes (PNG FILES) for each character. So let's say a character is 1000x1000 whilst the other one is 850x1000. This, when I use the following code, gives me undesirable results:
Code: Select all
#Cold Eyes, Cold Mouth 1
image Taka coco1 = LiveComposite(
(291,618),
(0,0),"char/taka/body.png",
(0,0),"char/taka/Cold/cold_0000s_0000_eyebrows.png",
(0,0),"Taka Eyes Cold",
(0,0),WhileSpeaking("t","Taka Mouth Cold","char/taka/Cold/cold_0000s_0004_mouth.png"),
(0,0),ConditionSwitch(
"t_blush == True","char/taka/blush.png",
"t_blush == False","blank.png"))
Code: Select all
image Taka Eyes Cold:
"char/taka/Cold/cold_0000s_0001_eyes.png"
choice:
2.0
choice:
3.1
choice:
4.2
choice:
3.3
"char/taka/eyesclosed.png"
.13
repeat
Code: Select all
image Taka Mouth Cold:
"char/taka/Cold/cold_0000s_0002_mouth.png"
.2
"char/taka/Cold/cold_0000s_0003_mouth.png"
.2
"char/taka/Cold/cold_0000s_0004_mouth.png"
.2
repeat
So, since I am receiving differently sized sprites from the artist, some of the sprites float, some sprites are not in the right position at all.
How to fix this? I can't find any resources on the matter.