When I first tried it on a test game, I copied the code as if, and it worked perfectly, However when I do it on my game, it always gives me the same error.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/sidsimconvo.rpy", line 358, in script
show sids at center, Shake(None, 0.5, dist=5)
File "game/sidsimconvo.rpy", line 358, in <module>
show sids at center, Shake(None, 0.5, dist=5)
NameError: name 'Shake' is not definedThe line i talk about is:
Code: Select all
init:
$ sshake = Shake((0, 0, 0, 0), 1.0, dist=15)Sometimes i've found that some tutorials where it uses $, I have to change it for 'define', but in this case it didn't work
I use renpy 6.18.3 761
I would be really grateful for some help. It's a small detail that I would really like to be able to add to the game I'm making, if possible.

