How to left align floating text in top left of screen?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
BlueStylus
Newbie
Posts: 1
Joined: Thu Aug 02, 2018 12:18 am
Contact:

How to left align floating text in top left of screen?

#1 Post by BlueStylus » Tue Aug 07, 2018 10:43 pm

I'm making a small text box in the top left corner of my game that says the location and background music for the current scene. The location and bgm information is on two separate lines. I can't figure out how to left align the two lines.

This is basically what I have:

label start:
show image "gui/location.png" at topleft
show text "Location- Bedroom{p}BGM- N/A" at topleft
with dissolve


This does put the text in the top left corner, but the bgm line is centered underneath the location line. Any ideas? I would appreciate any help!

The "gui/location.png" is just a background for the text, it's not the issue. Dissolve isn't an issue either.

User avatar
vollschauer
Veteran
Posts: 228
Joined: Sun Oct 11, 2015 9:38 am
Github: vollschauer
Contact:

Re: How to left align floating text in top left of screen?

#2 Post by vollschauer » Thu Aug 09, 2018 2:19 am

Wouldn't it be better to do this "info box" as screen?

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Chivone, Google [Bot], Nikel, rayminator