Ran into a problem using custom warpers in Ren'Py 8.0.3
Posted: Mon Oct 31, 2022 3:25 pm
I tried to make a custom warper for my ATL code and gave them a clever name.
This resulted in a runtime error. After I choose an existing name like linear or easein_cubic the problem was solved.
Is there a limitation on warper names? My warper is a really specific one so I don't feel like overriding the original ones.
The documentation didn't warn about such a limitation:
Code: Select all
@renpy.atl_warper
def mywarper(t):
# tweaning goes brrr
Code: Select all
@renpy.atl_warper
def easein_cubic(t):
# tweaning goes brrr
The documentation didn't warn about such a limitation:
Any ideas?New warpers can be defined using the renpy.atl_warper decorator, in a python early block. It should be placed in a file that is parsed before any file that uses the warper.