- Jan 13, 2018
- 1,385
- 6,071
I create these gallery MODs using Renpy and I use the same basic code for all of my Gallery MODs.
Recently, one of my MODs has been acting funny. It is the same code I have been using for the VN since the VN launched and it has been working fine. Two updates ago, one of my lines of code stopped working.
Specifically, the Blur attribute. I got the following error:
I could not figure out what was causing this. I checked Renpy documentation and it had not been depricated or anything and it was working fine in my other mods. Interestingly, if I launched it from the Renpy SDK, it would work fine, but on a fresh install it would not work and I would get the error. So I created blurred images as a work around.
On this update, I had to add a page to the gallery. This is the code I used and is the same code I use for all my other MODs.
This time, I got this error message:
SetLocalVariable is part of Renpy and should be built in so how can it not be defined!
Again, launches fine from the Renpy SDK but on a fresh install, it gives this error. WTH? I have no idea what to do or what is causing this. Any suggestions would be appreciated.
Recently, one of my MODs has been acting funny. It is the same code I have been using for the VN since the VN launched and it has been working fine. Two updates ago, one of my lines of code stopped working.
Code:
hover im.Blur("images/thumbnails/scenes/scene4.png", 1.5)
Code:
AttributeError: 'module' object has no attribute 'Blur'
On this update, I had to add a page to the gallery. This is the code I used and is the same code I use for all my other MODs.
Code:
textbutton ("Pages") text_style "my_button_page_text"
textbutton ("1") action SetScreenVariable("cg_spage_a", 1) text_style "my_button_page_text"
textbutton ("2") action SetScreenVariable("cg_spage_a", 2) text_style "my_button_page_text"
Code:
NameError: name 'SetLocalVariable' is not defined
Again, launches fine from the Renpy SDK but on a fresh install, it gives this error. WTH? I have no idea what to do or what is causing this. Any suggestions would be appreciated.