Moving two characters at once?
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.
- lking22
- Regular
- Posts: 50
- Joined: Sun Dec 03, 2017 3:33 am
- Projects: Grey Feather
- itch: freefall-games
- Contact:
Moving two characters at once?
Sorry, I know that this is a total n00b question, but I really can't figure out how to move two character sprites at once unless they're using the exact same transition. For example I can have two characters enter the scene at once with easeinleft or something, but if I have two characters and I want one to easeinright and the other to easeinleft, I can't figure out how to make them move at the same time.
- wyverngem
- Miko-Class Veteran
- Posts: 615
- Joined: Mon Oct 03, 2011 7:27 pm
- Completed: Simple as Snow, Lady Luck's Due,
- Projects: Aether Skies, Of the Waterfall
- Tumblr: casting-dreams
- itch: castingdreams
- Location: USA
- Contact:
Re: Moving two characters at once?
Code: Select all
label start:
show character1:
xalign -1.0 #Placed off screen.
show character2:
xalign 2.0 xanchor 0.0 #Placed off screen.
with None #Hidden from view,
$ renpy.pause(1.0)
show character1:
xalign 0.0 xanchor 0.0# Images of characters will be moved towards one another at the same time.
show character2:
xalign 1.0
with move# will change positions at the same time.
"Hello world."
Who is online
Users browsing this forum: Ahrefs [Bot]