Is it possible to add examples to everything in new documentation? Most of the time I'm looking something up and then after trying to implement it in Ren'py I need to go back to forums and search how exactly it should look like (with brackets or without etc.). Can I update this myself? I'd like to at least update everything that I've checked out.
Example:
Code: Select all
SetVariable(variable, value)
Causes variable to be set to value.
Ok seems easy enough... Attempt 1:
Code: Select all
key "d" action SetVariable(p1_xpos, p1_xpos += 1)
Syntax error. Ok one more time. Attempt 2:
Code: Select all
key "d" action SetVariable("p1_xpos", p1_xpos += 1)
Syntax error. (Checks forums). Ooooh this is how. Attempt 3
Code: Select all
key "d" action SetVariable("p1_xpos", += 1)
It would really help a lot if we could have examples. I love Ren'py but unfortunately quite often you can find something that's not too intuitive (another example: implementing images in frames is not add imagename like in show but add "imagepath"