I want each of my characters to have a different background to their side image and figured the best way to do it (because my side images are scaled down versions of full sprites, not their own separate image) would be to change the textbox for each character. I've chosen the background for the main character as the default, and it works fine:
However, when I tried specifying another character should have a different textbox with this code...
Code: Select all
init:
image arelisprite = DynamicDisplayable(draw_areli)
define Ar = Character ("Areli", window_background="gui/textbox_areli.png", image = "areli",) # <-- important bit
image areli = "arelisprite"
image side areli = LiveCrop((0,0,286,393),"arelisprite")
As far as I know, it's supposed to take the dimensions of the default textbox without needing anything extra. Even so, I've tried manually adding xpos/ypos and xalign/yalign to move, and the textbox stays exactly where it is. How do I make it sit exactly where the default textbox is? I think (well, I hope) this has an easy fix, so any help would really be appreciated!