Based on the documentation and everything I've found elsewhere online, I should just be able to use something like "with fade(1.5)". However, adding the "(1.5)" (or any other number) gives me this error:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 24, in script
with fade(1.5)
TypeError: 'MultipleTransition' object is not callable
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 24, in script
with fade(1.5)
File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\ast.py", line 1357, in execute
renpy.exports.with_statement(trans, paired)
File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\exports.py", line 1455, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 2217, in do_with
clear=clear)
File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 2662, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 3002, in interact_core
new_widget=layers_root)
TypeError: 'MultipleTransition' object is not callable
Windows-7-6.1.7601-SP1
Ren'Py 7.1.0.882
Palette Swap 1.0
Fri Sep 14 18:17:45 2018
Any help would be appreciated.[/s]
SOLVED! Thanks, philat.
Lowercase f for normal fade, uppercase F when changing the duration.