Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.

Visit our new games list, blog aggregator, IRC channel, and Discord (new).
Activation problem? Email pytom@bishoujo.us.
It is currently Mon Jun 26, 2017 1:13 am

All times are UTC - 5 hours [ DST ]


Forum rules


This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like, and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Feb 26, 2017 8:11 am 
Newbie
User avatar

Joined: Mon Sep 22, 2014 2:00 pm
Posts: 15
Location: Spain
Projects: working on my first project "Madness in my heart"(VN)
Hi, I'm wondering how I can make this twice
Code:
show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text
and have 2 different expressions showing at the same time in the screen. Thanks for the help.

I know how to have multiple texboxes in the screen but I need it to be expressions and now I'm a bit lost.


Last edited by mihaeru on Mon Feb 27, 2017 12:20 pm, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Sun Feb 26, 2017 8:20 am 
Miko-Class Veteran
User avatar

Joined: Tue Aug 23, 2016 10:35 am
Posts: 523
Skype: miinipaa
What is wrong with
Code:
show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1
show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2


Remember: if you show a displayable with same tag, as the existing one, it will replace it.

_________________
< < insert Rick Cook quote here > >


Top
 Profile Send private message  
 
PostPosted: Mon Feb 27, 2017 12:19 pm 
Newbie
User avatar

Joined: Mon Sep 22, 2014 2:00 pm
Posts: 15
Location: Spain
Projects: working on my first project "Madness in my heart"(VN)
Ocelot wrote:
What is wrong with
Code:
show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1
show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2


Remember: if you show a displayable with same tag, as the existing one, it will replace it.



thanks I will have that in mind for the future, so the "as text" is like the name of the expression, I'm a bit lost because it seems that I can't declare everything the same way I do with variables in Javascript or C# -_-U .


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group