Hello! I've been playing around with the ActionEditor in Renpy 8.1.1 and I really enjoy it - but I've encountered a problem that prevents me from using the code I've copied in my game.
Here's the error itself
I'm sorry, but an uncaught exception occurred.
Executing ATL code at game/script.rpy:32
File "game/script.rpy", line 44, in script
with Pause(0.56)
File "game/ActionEditor.rpy", line 1276, in transform
perspective = get_value("perspective", scene_keyframes[scene_num][1], True)
NameError: name 'scene_keyframes' is not defined
Ren'Py 8.1.1.23060707
codexgame 1.0
Thu Aug 24 13:09:04 2023
And here's the code I have (code generated from the Action Editor is in bold):
label start:
camera:
perspective True
window auto hide
camera:
subpixel True
blur 0.0
parallel:
ypos 0
ease 0.46 ypos 207
parallel:
zpos -63.0
ease 0.46 zpos -504.0
show black:
subpixel True
function camera_blur({'focusing': [(1251.1, 0, 'ease'), (1989.1, 0.46, 'ease')], 'dof': [(400, 0, 'ease'), (1642, 0.46, 'ease')]})
show lab:
subpixel True
parallel:
zpos -198.0
ease 0.46 zpos -360.0
parallel:
function camera_blur({'focusing': [(1251.1, 0, 'ease'), (1989.1, 0.46, 'ease')], 'dof': [(400, 0, 'ease'), (1642, 0.46, 'ease')]})
show alphylab1:
subpixel True
function camera_blur({'focusing': [(1251.1, 0, 'ease'), (1989.1, 0.46, 'ease')], 'dof': [(400, 0, 'ease'), (1642, 0.46, 'ease')]})
with Pause(0.56)
camera:
ypos 207
zpos -504.0
show lab:
zpos -360.0
function camera_blur({'focusing': [(1989.1, 0.46, 'ease')], 'dof': [(1642, 0.46, 'ease')]})
window auto show
e "Hey there!"
# This ends the game.
return
Hello! I've been playing around with the ActionEditor in Renpy 8.1.1 and I really enjoy it - but I've encountered a problem that prevents me from using the code I've copied in my game.
Here's the error itself
And here's the code I have (code generated from the Action Editor is in bold):
Any help with this is appreciated!