Code: Select all
play sound shoop_in
show field 01 at holdleft
with dissolveleftCurrent working code:
Code: Select all
init python:
def shoop(image):
renpy.sound.play("sfx/shoop_in.ogg") #play sound
renpy.show(image) #Show image
renpy.with_statement(dissolveleft) #with dissolveleft
label start:
$ shoop("field 01")
"test"https://www.renpy.org/doc/html/statemen ... renpy.show
So I thought I should do the following
Code: Select all
init python:
def shoop(image):
renpy.sound.play("sfx/shoop_in.ogg")
renpy.show(image, at_list=holdleft) #Added ,at_list=holdleft
renpy.with_statement(dissolveleft)
label start:
$ shoop("field 01")
"test"Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/chapter2.rpy", line 117, in script
$ shoop_in("field 01")
File "game/chapter2.rpy", line 117, in <module>
$ shoop_in("field 01")
File "game/trialscreens.rpy", line 545, in shoop
renpy.show(image)
TypeError: 'Curry' object is not iterable
This is what holdleft is:
Code: Select all
init:
$ holdleft = Position(xalign=0.05, yalign=0.5)