Where is the .rpy file for the Animation tutorial?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
ViRiX Dreamcore
Regular
Posts: 49
Joined: Sun Jan 20, 2013 10:58 pm
Projects: Lost Girl
Contact:

Where is the .rpy file for the Animation tutorial?

#1 Post 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

_______________________
Project Lost Girl
Image
---------------------
Music and sound effects
SoundCloud | YouTube | Facebook
Free SFX and music
OpenGameArt
Let me know if you'd like some help.

philat
Eileen-Class Veteran
Posts: 1926
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

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

#2 Post by philat »

Always indent after a colon. Delete the last colon after repeat.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1962
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

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

#3 Post by Donmai »

Are you looking for 'tutorial_atl.rpy'?
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
ViRiX Dreamcore
Regular
Posts: 49
Joined: Sun Jan 20, 2013 10:58 pm
Projects: Lost Girl
Contact:

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

#4 Post 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.
_______________________
Project Lost Girl
Image
---------------------
Music and sound effects
SoundCloud | YouTube | Facebook
Free SFX and music
OpenGameArt
Let me know if you'd like some help.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Qchosis