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
User avatar
BlueStylus
Newbie
Posts: 13
Joined: Thu Aug 02, 2018 12:18 am
Completed: Nihil: The Watcher
itch: bluestylus
Contact:

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

#1 Post by BlueStylus »

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: 231
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 »

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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Milkymalk