I've been trying to create a custom menu system in my game in addition to the main menu, and it requires that I be able to specify the height/width of text boxes AND their position on the screen.
I tried using script to change Graphics.boxHeight and Graphics.boxWidth to change where they were positioned, which worked until I would then open the main menu. After changing the Graphics.boxHeight/-Width, even if I changed them back to what I believed the original values were (624 and 816?), all windows, whether in the main menu, or text messages, got positioned out of place AND my custom menu was misplaced. To make things worse, there's a picture I bring up that ALSO gets misplaced after this.
Does changing Graphics.boxHeight/-Width change something else I'm unaware of? Does it change padding or something? I'm still fairly novice to Javascript so I'm not sure if some other variable or class gets affected if I manually change this one variable.
Help? If you can help me figure out hot to manually position/resize boxes OR what I'm doing wrong, I'd be grateful either way!
I tried using script to change Graphics.boxHeight and Graphics.boxWidth to change where they were positioned, which worked until I would then open the main menu. After changing the Graphics.boxHeight/-Width, even if I changed them back to what I believed the original values were (624 and 816?), all windows, whether in the main menu, or text messages, got positioned out of place AND my custom menu was misplaced. To make things worse, there's a picture I bring up that ALSO gets misplaced after this.
Does changing Graphics.boxHeight/-Width change something else I'm unaware of? Does it change padding or something? I'm still fairly novice to Javascript so I'm not sure if some other variable or class gets affected if I manually change this one variable.
Help? If you can help me figure out hot to manually position/resize boxes OR what I'm doing wrong, I'd be grateful either way!