TextDisplayable Problem

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
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

TextDisplayable Problem

#1 Post by trooper6 »

Hello All!

I originally put this under developement as a bug...but didn't get a response, so maybe it isn't a bug...maybe it is just me?

I have some older (pre-new GUI) tester projects. One of them used Text Displayables--nothing fancy just following the documentation. Everything worked before, but checking into the tester today, I've gotten an error.

I defined a few Text Displayables like so:

Code:
image end1 = Text("And this is the first one.")
image end2 = Text("And so the ranch was saved from the Wiplash Gang.", slow=True, slow_cps=20)


In the past, both worked when I showed them. Now when I show end2, instead of the text I get an error message up on the game screen instead of the displayable that reads: 'Text' object has no attribute 'unique'

There is no note in the documentation that would indicate a change in how Text Displayables work. Anyone know what is going on with this?
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: TextDisplayable Problem

#2 Post by PyTom »

This is probably a bug. I'm tracking this here: https://github.com/renpy/renpy/issues/1217
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot], Ocelot