- Jul 23, 2017
- 548
- 896
Hey folks!
So I've started writing my first Renpy adult game and so far it has been going quite well except I am having a few issues that I've not been able to resolve by looking guides/videos and stuff online.
Issue 1;
I have a stats screen like below;
But as you see as soon as I put a long text as the variable the text goes out of line, I could solve this by simplifying this and just putting it so it would be a single line but I really wanted for the stats screen to keep track of the event that happened so you always have it there as a mini-journal
This is the code for the stats screen;
Then my second issue which is related to the stats screen again, I have defined character names as below;
And I know that if you put for example as text in dialogue "%(f)s says hello to you" it would convert that to the name defined as f so in-game it would read as "Henry says hello to you"
But when in variables this doesn't seem to work and I can't find the code to reference a character name within a variable (players can input the names themselves thus why I need it to be linked to the defined name and not just write out the name myself)
So at the moment the line of code that links to that variable is;
Thanks in advance!
So I've started writing my first Renpy adult game and so far it has been going quite well except I am having a few issues that I've not been able to resolve by looking guides/videos and stuff online.
Issue 1;
I have a stats screen like below;
You don't have permission to view the spoiler content.
Log in or register now.
But as you see as soon as I put a long text as the variable the text goes out of line, I could solve this by simplifying this and just putting it so it would be a single line but I really wanted for the stats screen to keep track of the event that happened so you always have it there as a mini-journal
This is the code for the stats screen;
You don't have permission to view the spoiler content.
Log in or register now.
Then my second issue which is related to the stats screen again, I have defined character names as below;
You don't have permission to view the spoiler content.
Log in or register now.
And I know that if you put for example as text in dialogue "%(f)s says hello to you" it would convert that to the name defined as f so in-game it would read as "Henry says hello to you"
But when in variables this doesn't seem to work and I can't find the code to reference a character name within a variable (players can input the names themselves thus why I need it to be linked to the defined name and not just write out the name myself)
So at the moment the line of code that links to that variable is;
You don't have permission to view the spoiler content.
Log in or register now.
Thanks in advance!