Page 1 of 1

Where is the .rpy file for the Animation tutorial?

Posted: Mon Mar 09, 2015 6:22 pm
by ViRiX Dreamcore
Hi everyone.

I'm trying to get a few ATL lines working, but it keeps gicing me an error with a red arrow pointing to the numbers next to xalign, yalign... well really anything under the block.

So I figured I'd open the animation tutorial script and see exactly how it was done, but I can't tell which one it is. It's not the Transform one.

This is the block I'm trying to run.

Code: Select all

label camfight:
     show camfight:
     xalign 0.7 yalign 0.7
     linear 0.2 xalign 0.4
     pause 1
     linear 0.2 xalign .7
     repeat:
I've defined the imagebefore the game starts.

I've gotten this to work in the console however, that's the really odd part.

Any suggestions? Thanks.

Oh, and here is the error I get.

Code: Select all

 I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 335: expected statement.
    xalign 0.7 yalign 0.7
           ^

File "game/script.rpy", line 336: expected statement.
    linear 0.2 xalign 0.4
           ^

File "game/script.rpy", line 338: expected statement.
    linear 0.2 xalign .7
           ^

File "game/script.rpy", line 339: expected statement.
    repeat
          ^

Ren'Py Version: Ren'Py 6.18.3.761


Re: Where is the .rpy file for the Animation tutorial?

Posted: Mon Mar 09, 2015 7:47 pm
by philat
Always indent after a colon. Delete the last colon after repeat.

Re: Where is the .rpy file for the Animation tutorial?

Posted: Mon Mar 09, 2015 9:10 pm
by Donmai
Are you looking for 'tutorial_atl.rpy'?

Re: Where is the .rpy file for the Animation tutorial?

Posted: Mon Mar 09, 2015 11:58 pm
by ViRiX Dreamcore
Hm yes I believe I am looking for that one! Thanks! I found it. Just didn't know the name of it.