Problem with the vpunch and traduction

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
Mirrodin
Regular
Posts: 91
Joined: Sun Mar 19, 2017 2:56 pm
Contact:

Problem with the vpunch and traduction

#1 Post by Mirrodin » Thu May 10, 2018 3:49 am

Hi guys,

A few week ago, I updated my renpy version and I think there is a minor bug with the vpunch.

Code: Select all


define n_fr = Character(' ', color="#c8c8ff", image="n", condition='lang == "francais"', who_xpos=250)
define n_en = Character(' ', color="#c8c8ff", image="n", condition='lang == "english"', who_xpos=250)


--- In label -- 

n_fr "blabla" with vpunch
n_en "blabla" with vpunch
n_fr "blabla2"

In this situation, when "francais" is set as lang, In theory, I just have first dialogue with vpunch, but in fact my second fr dialogue have vpunch to.
I guess it's because the second dialogue inherit of the english vpunch wich isn't limitated by the lang condition ?

Post Reply

Who is online

Users browsing this forum: No registered users