Horrorroll wrote:
Thanks, I've been over the text box tutorial's before, I guess I'll try messing around with the x and y anchors, see if I can get it to move.
Another thing you can do is simply put the textbox where you want it by making it into a png the same size as your game, then merely adjust the padding for the text.
For example:
Attachment:
File comment: from Alchemical Ink
textbox2.png [ 432.48 KiB | Viewed 296 times ]
The image is 1024x768, the size of my game, however the entire left side is transparent.
This is the code I used.
In Options:
Code:
## ------- Novel Mode ------------------------
init:
style.nvl_window.background = Frame("textbox2.png", 0, 0)
style.nvl_vbox.box_spacing = 10
menu = nvl_menu
config.window_hide_transition = dissolve
config.window_show_transition = dissolve
In Script:
Code:
init:
define narrator = Character(None,
kind=nvl,
window_left_margin = 520, #520 pixels to the Right
window_right_margin = 5, #5 px to the Left
ctc="ctc_blink", )
The results looks like this:
Attachment:
AI_07.jpg [ 306.56 KiB | Viewed 295 times ]
By doing it this way, you can have a textbox literally anywhere you like, and even have different textboxes in different locations assigned to different characters.