characters "jumpy" in specific position changes

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
Settle for Pocky
Regular
Posts: 33
Joined: Sun Jul 08, 2018 8:49 am
Contact:

characters "jumpy" in specific position changes

#1 Post by Settle for Pocky »

Hey everyone,

So I may be making my code for placement of the characters too complicated but here's my situation for this instance.

This is for when a character moves slightly forward to make it look like they're talking and then move back when they're done.
When they move forward it's smooth and nice, but when they move back it's like they pop up for a second and then go back down into the correct spot.
I'm getting some of this jumpy stuff as well when a character moves really close to the camera and vise versa with similar code

o_SF_base = character moving slightly forward
o_SF_base_pause = character staying in slightly forward place
o_SB_base = character moving back to original space

Code: Select all

transform o_SF_base:
    xalign 0.32 yalign .3
    linear .1 xalign 0.32 yalign .31 zoom 1.05 
transform o_SF_base_pause:
    xalign 0.32 yalign .31 zoom 1.05 
transform o_SB_base:
    xalign 0.32 yalign .31
    linear .1 xalign 0.32 yalign .3 zoom 1

thanks again guys,
Pat

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot]