Yes, that did it, thanks!
Now I have a new problem I haven't accounted for. I want a character to appear at the same time as the new scene appears.
So in our ongoing goofy example, I tried:
Code: Select all
label start:
scene livingroom
show bob
b "hey steve! How are you doing?"
show kitchen at altdelay
show steve
s "yeah, I'm not bad."
s "Thanks for asking!"
...which makes Steve show up
before the kitchen fades in.
If I try writing:
Code: Select all
show kitchen at altdelay
show steve at altdelay
..then I get the follow error, claiming that altdelay isn't defined (even though I've defined it above in the init.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 24, in script
show steve at altdelay
File "game/script.rpy", line 24, in <module>
show steve at altdelay
NameError: name 'altdelay' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 24, in script
show steve at altdelay
File "/Applications/renpy-6.99.4-sdk/renpy/ast.py", line 1061, in execute
show_imspec(self.imspec, atl=getattr(self, "atl", None))
File "/Applications/renpy-6.99.4-sdk/renpy/ast.py", line 1024, in show_imspec
at_list = [ renpy.python.py_eval(i) for i in at_list ]
File "/Applications/renpy-6.99.4-sdk/renpy/python.py", line 1489, in py_eval
return py_eval_bytecode(code, globals, locals)
File "/Applications/renpy-6.99.4-sdk/renpy/python.py", line 1484, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 24, in <module>
show steve at altdelay
NameError: name 'altdelay' is not defined
Darwin-13.4.0-x86_64-i386-64bit
Ren'Py 6.99.7.858
imagemap test 0.0
So my question is, I think(?) a simple one: how do I make it so that a character is shown on screen at the same time delay as the background?