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.
Edit2: Solved, my issue was all due to a slightly out of date copy of ren'py. I feel dumb.
Hello there, I wanted to have the name of the Heroine to be changeable. I used the code given on the ren'py cookbook, but I can't seem to get it to work in the dialogue of the game. It shows up as the defined MC Name Area, but it won't show up in the text it only displays as %(MC)s and I'm rather lost as to why. (I'm sorry if there is a blatantly obvious reason why, I'm not very good. Learning as I go along.)
Edit: I'm also not using the newest version of Ren'py is that is an issue????
define MC = DynamicCharacter("MC", image="Bridget", color="#ffffff", ctc="ctc1", ctc_position="fixed")
That part actually worked fine. I'm only having issues with the Dialogue in game not working not with the defined name. like in the second screen where it says "pleased to meet you %(MC)s!" when it should be "Pleased to meet you yourmom!". I only showed that part of the code because it does work, hence why I'm confused.
Or wait, would that make the dialouge work too? sorry I'm a noob OTL
Thanks for the replies, after seeing you said it should work (and trying what Googaboga suggested and it still not working) I decided to Update my copy of ren'py to see if that would help. It did, it made everything work. I feel really dumb now wasting so much time. _(´ཀ`」 ∠)_ Thanks a bunch I really appreciate it.