Code: Select all
image begin = "image1.png"
Code: Select all
show begin
Code: Select all
File "game/script.rpy", line 0: encoding declaration in Unicode string
Ren'Py Version: Ren'Py 7.4.8.1895
Code: Select all
image begin = "image1.png"
Code: Select all
show begin
Code: Select all
File "game/script.rpy", line 0: encoding declaration in Unicode string
Ren'Py Version: Ren'Py 7.4.8.1895
PastelWolf88 wrote: ↑Thu Mar 10, 2022 3:45 am I've been trying to put in an image like this in the beginning of script.rpy:
And call that image.Code: Select all
image begin = "image1.png"
But this throws an error:Code: Select all
show begin
What does that mean? What's wrong with my picture? How can I fix it?Code: Select all
File "game/script.rpy", line 0: encoding declaration in Unicode string Ren'Py Version: Ren'Py 7.4.8.1895
I changed the picture and apparently the picture is not the problem. I can put that picture into previous projects... But for some reason I can't put background pictures into this one. Maybe this is an OS problem, this didn't happen before I switched to Linux Ubuntu. Or maybe a problem with Atom. Maybe I'll try with Windows 10 before I start pointing fingers.Per K Grok wrote: ↑Thu Mar 10, 2022 8:27 amPastelWolf88 wrote: ↑Thu Mar 10, 2022 3:45 am I've been trying to put in an image like this in the beginning of script.rpy:
And call that image.Code: Select all
image begin = "image1.png"
But this throws an error:Code: Select all
show begin
What does that mean? What's wrong with my picture? How can I fix it?Code: Select all
File "game/script.rpy", line 0: encoding declaration in Unicode string Ren'Py Version: Ren'Py 7.4.8.1895
Are you sure it is a problem with the image?
If you remove the code defining and showing that image, does the script work then?
If so. If you put the code back but with a different image, does it work then?
Users browsing this forum: No registered users