rolling text with {color}{/color} label in move() has unexpected line feed result

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
Li yuanlin
Regular
Posts: 83
Joined: Sat Aug 04, 2018 8:42 pm
Location: Hong Kong
Contact:

rolling text with {color}{/color} label in move() has unexpected line feed result

#1 Post by Li yuanlin »

Code: Select all

$rolling_info=“{color=#d60000}textextextextexte{/color}textextext{color=#d60000}textextextextexte{/color}textextext{color=#d60000}textextextextexte{/color}textextext{color=#d60000}textextextextexte{/color}textextext{color=#d60000}textextextextexte{/color}textextext{color=#d60000}textextextextexte{/color}textextext{color=#d60000}textextextextexte{/color}”
$ rolling_time=20
show text rolling_info at Move((1.2,0.05),(-1.0,0.05), rolling_time, repeat=True, bounce=False, xanchor="left", yanchor="top") zorder 991
stay hungry,stay foolish.

User avatar
emz911
Regular
Posts: 103
Joined: Fri Jun 23, 2017 2:23 pm
Contact:

Re: rolling text with {color}{/color} label in move() has unexpected line feed result

#2 Post by emz911 »

Not quite sure what the question is but maybe defining it as ParamaterizedText would be cleaner:
https://www.renpy.org/doc/html/text.htm ... splayables

User avatar
Li yuanlin
Regular
Posts: 83
Joined: Sat Aug 04, 2018 8:42 pm
Location: Hong Kong
Contact:

Re: rolling text with {color}{/color} label in move() has unexpected line feed result

#3 Post by Li yuanlin »

thank all of the replys,the problem has been solved.
stay hungry,stay foolish.

Post Reply

Who is online

Users browsing this forum: Google [Bot]