[Solved] Zooming a character in and out slightly for emphasis?

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
JaredKHAce
Newbie
Posts: 23
Joined: Thu Oct 25, 2018 2:35 pm
Contact:

[Solved] Zooming a character in and out slightly for emphasis?

#1 Post by JaredKHAce »

Hello folks, I've come back with another question. This time, I've been working on making my characters stand out more when talking. Essentially, I'm asking how I can have characters zoom in when in focus, and back to their normal position when the focus is on someone else. Think of DDLC for reference. I have the zoom in part down:

Code: Select all

transform focus1:
    ease .1 zoom 1.03
But I can't figure out how to have a character zoom out to the default position. Any help would be greatly appreciated. Thank you!
Last edited by JaredKHAce on Tue Jan 22, 2019 11:50 am, edited 1 time in total.

DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

Re: Zooming a character in and out slightly for emphasis?

#2 Post by DragoonHP »

Something like this should work

Code: Select all

transform reset_focus:
    ease .1 zoom 1

label start:
    show eileen at focus1
    "Dialogue dialogue"

    show eileen at reset_focus

User avatar
JaredKHAce
Newbie
Posts: 23
Joined: Thu Oct 25, 2018 2:35 pm
Contact:

Re: Zooming a character in and out slightly for emphasis?

#3 Post by JaredKHAce »

Thank you so much!

Post Reply

Who is online

Users browsing this forum: No registered users