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.
I'm well new still and be trying my hardest but I can't seem to find the correct way to display variables at the end of or during a game or any info about it, for keeping game scores and such.
label after_choice1:
if choice1 == "1":
"You are such a wreckhead!"
$ waster += 1
if choice1 == "2":
"Ummm, was that a good idea?"
$ human += 1
if choice1 == "3":
"Awesomeness!"
Just to check, do I need to add the '$' later then when performing additions or subtractions to them?
I'm new to Python and it seems pretty 'plain english liberal and forgiving' haha for want of better words,so far anyhow as I've not delved much in to it yet But reading some of the post on this forum I'm quite excited to get my hands proper dirty