In short, I have at least 2 poses per character, and every expression is tied to a specific pose. I want to optimize the total file size of my project by creating base images for poses and additional images for expressions which display at the same time as the base images. It seems ridiculous to need to call a specific pose while also calling an expression even though the two are inseparable and not interchangeable, so ideally, here is what I would want:
Let's say there are 6 images:
•x_pose1.png
•x_happy.png (tied to pose 1)
•x_content.png (tied to pose 1)
•x_pose2.png
•x_surprised.png (tied to pose 2)
•x_angry.png (tied to pose 2)
This character has no alternate appearances, so I would need to group the images accordingly while making each base+expression called and replaced by one tag. If that tag is "X", then...
Code: Select all
show X happy
Code: Select all
show X surprised
If I want to do this without typing a billion "layeredimage ___:" statements for every expression, what should my code look like?