Page 1 of 1

Namebox doesn't work

Posted: Sat Oct 05, 2019 10:40 am
by rayminator
i have the side-image on my game i have moved the name of the characters to left above the side-image

turning this to True should bring the background on for the names of the char... but it doesn't

gui/namebox.png

Code: Select all

define gui.namebox_tile = True
here is the code that i configured to.

Code: Select all

## The placement of the speaking character's name, relative to the textbox.
## These can be a whole number of pixels from the left or top, or 0.5 to center.
define gui.name_xpos = 150
define gui.name_ypos = -50

## The horizontal alignment of the character's name. This can be 0.0 for left-
## aligned, 0.5 for centered, and 1.0 for right-aligned.
define gui.name_xalign = 1.0

## The width, height, and borders of the box containing the character's name, or
## None to automatically size it.
define gui.namebox_width = 50
define gui.namebox_height = 50

## The borders of the box containing the character's name, in left, top, right,
## bottom order.
define gui.namebox_borders = Borders(5, 5, 5, 5)

## If True, the background of the namebox will be tiled, if False, the
## background of the namebox will be scaled.
define gui.namebox_tile = True

Re: Namebox doesn't work

Posted: Sat Oct 05, 2019 11:10 am
by rayminator
never mind i figure it out myself