Hello, I am trying to move a character from left screen to right screen.
Following the tutorial I keep on getting error messages, telling me to add spaces, I add spaces then the error messages say to take away the spaces, what's going on? All I want to do is transition my character to cross the screen.
Moving Characters
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.
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.
-
- Regular
- Posts: 27
- Joined: Mon Jul 29, 2013 8:36 pm
- Organization: JHernandezgames
- Location: Perth Amboy, Nj
- Contact:
- Talann
- Regular
- Posts: 132
- Joined: Thu May 09, 2013 12:02 pm
- Projects: Shooting Stars, REBORN
- Contact:
Re: Moving Characters
Pretty simple, you don't need any spaces. Just copy and paste this code into your game and see if it works.
Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image ehappy = "ehappy.png"
# Declare characters used by this game.
define e = Character('Emily', color="#c8ffc8")
# The game starts here.
label start:
show ehappy
e "I will move from centre to right, then from right to left."
show ehappy at right with dissolve
pause .2
e "I am now standing at the right position."
show ehappy at left with dissolve
pause 2
e "I am now standing at the left position."
-
- Regular
- Posts: 27
- Joined: Mon Jul 29, 2013 8:36 pm
- Organization: JHernandezgames
- Location: Perth Amboy, Nj
- Contact:
Re: Moving Characters
Ah, thanks alot man. Saved me alot of revision on my script there.
Who is online
Users browsing this forum: Ahrefs [Bot]