Your issue seems to be related to using "pause", not ATL.Lena_Borodach wrote: ↑Tue Jan 29, 2019 7:42 am Made some silly mouth animation.and it returned an exceptionCode: Select all
default preferences.text_cps = 200 image talking_mouth: 'talking_mouth_1' 1/preferences.text_cps 'talking_mouth_2' 1/preferences.text_cps 'talking_mouth_3' 1/preferences.text_cps 'talking_mouth_4' 1/preferences.text_cps 'talking_mouth_5' 1/preferences.text_cps 'talking_mouth_6' 1/preferences.text_cps 'talking_mouth_7' 1/preferences.text_cps 'talking_mouth_8' 1/preferences.text_cps repeat label main_menu: return label start: show talking_mouth: align(.5,.5) pause return
Lol whut ? I mean, sure it is infinitely looped, so what? ATL entities are often looped, what's the point to even detect it?Code: Select all
I'm sorry, but an uncaught exception occurred. Executing ATL code at game/script.rpy:19 File "game/script.rpy", line 27, in script File "renpy/common/000statements.rpy", line 416, in execute_pause renpy.pause() Exception: ATL appears to be in an infinite loop.
Oh dear...
My workaround.Code: Select all
default preferences.text_cps = 200 image talking_mouth: .0000001 'talking_mouth_1' 1/preferences.text_cps 'talking_mouth_2' 1/preferences.text_cps (........and so on)
Do you have a script something like this:
Code: Select all
label start:
show my_silly_animation
pause
return