Page 1 of 1

Help with Quest Log by jw2pfd

Posted: Fri Jan 04, 2019 5:15 pm
by Rapkannibale
Hello,

I am implementing the code that jw2pfd generously provided on these forums (viewtopic.php?t=25245).

I got it to work, however I was wondering if it is possible to add a background and change the font of the notifications that tell the player when a quest has been received/updated/completed.

I think the relevant code is this part:

Code: Select all

image notification:
    align (0.5, 0.25)

    alpha 0.0
    Text(log.message(), color="#FFFFFF")
    linear 0.5 alpha 1.0
    pause 2.0
    linear 0.5 alpha 0.0
I was able to change the color of the text via the color property, but not sure how to add a background so I can make sure the text is legible no matter the color of the background.

Any help is appreciated, thanks!