Jumping effect characters ? (solved)

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
Frimetime
Newbie
Posts: 20
Joined: Fri Dec 27, 2013 1:54 pm
Contact:

Jumping effect characters ? (solved)

#1 Post by Frimetime »

Hello ! I would know if it's possible to create a jumping effect like Dangan Ronpa with characters ?

https://www.youtube.com/watch?v=c6K84Vf118o

Link there if you don't see what I mean ;).

Thank you in advance !
Last edited by Frimetime on Sun Apr 20, 2014 4:39 am, edited 1 time in total.

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Jumping effect characters ?

#2 Post by Asceai »

Code: Select all

    show eileen happy:
      yoffset 0
      easein 0.25 yoffset -100
      easeout 0.25 yoffset 0
      easein 0.2 yoffset -30
      easeout 0.2 yoffset 0
      easein 0.15 yoffset -10
      easeout 0.15 yoffset 0
      easein 0.1 yoffset -4
      easeout 0.1 yoffset 0
There's probably better, more mathematically-derived numbers you can shove in there. I was just throwing anything in and seeing what worked.

Frimetime
Newbie
Posts: 20
Joined: Fri Dec 27, 2013 1:54 pm
Contact:

Re: Jumping effect characters ?

#3 Post by Frimetime »

Whoaa it's working Oo !

I don't know very well how working easein and easeout so, do you know where is the page that speak about it on Ren'py ?

Thank you a lot ^^ !

For people who want do the same, there are lines with screen position. You can change it at your convenience ;).

Code: Select all

show Eileen happy:
      xpos 0.25  ypos 0.17
      yoffset 0
      easein 0.25 yoffset -100
      easeout 0.25 yoffset 0
      easein 0.2 yoffset -30
      easeout 0.2 yoffset 0
      easein 0.15 yoffset -10
      easeout 0.15 yoffset 0
      easein 0.1 yoffset -4
      easeout 0.1 yoffset 0

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Jumping effect characters ?

#4 Post by Asceai »

Frimetime wrote:I don't know very well how working easein and easeout so, do you know where is the page that speak about it on Ren'py ?
They're ATL warpers.

Frimetime
Newbie
Posts: 20
Joined: Fri Dec 27, 2013 1:54 pm
Contact:

Re: Jumping effect characters ? (solved)

#5 Post by Frimetime »

Ok ! Than you very much 8D !

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Yone28