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.
Hi there! I've stumbled upon an error today and after changing up the syntax 100 times to fix it and some research I realised I need help haha. I have this screen with an awful lot of imagebuttons. I'm still using placeholder art atm so I will have to change their positions once I get the finished GUI. To save me a lot of time I thought why not use predefined positions? Here's a snippet of the code:
TypeError: coercing to Unicode: need string or buffer, int found
I guess it's a syntax error? (My achilles' heel haha) The positions are numbers and not strings so if I understand correctly it can't convert a string to an int. But I don't know how I should write this down instead. Any thoughts?