Hm, just tested and the original code worked for me in 8.1.0.
What version of Ren'Py do you use? Could you provide the part of the code where you using this shake effect?
Upd: original code worked in 8.2.1 (no errors).
Hm, just tested and the original code worked for me in 8.1.0.
Not tested, but try to convert the result of calculation to integer, likeneometalero wrote: ↑Sat Apr 13, 2024 7:18 pm ...It's an old project so I dont feel like creating a new transformation and apply it in all cases. Any way to salvage this old code?
Code: Select all
nx = xpos + int(self.dist * (renpy.random.random() * 2 - 1))
Do you have any code after line that tried to scene or show your video?
Code: Select all
label start:
scene alarm
"?!"
So, what about size of those 'forest' images?
What's the size of your imagebuttons - any chance that they are overlap each other (as Ocelot pointed)?Hikari_Kaitou wrote: ↑Tue Sep 19, 2023 4:34 pm Every time I create a second button, it overwrites the first button's function. ...