Yes, with RotoZoom I almost reached the desired result - look at the script below.
Maybe you want to look at the wagging hand
, therefore I attached the script with the correponding pics.
By the way: I had to fit the picture of the arm too, because RotoZoom alway uses the midpoint when rotating the image.
Nevertheless, the script shows 3 separate animations, and unfortunately I didn't find yet a method to combine them to only 1 animation. With 3 animations, the user can interrupt the whole animation at all times.
Code: Select all
# You can place the script of your game in this file.
init:
# Declare images below this line, using the image statement.
image bg dachbodenfenster = "Dachbodenfenster.jpg"
image hand boese = "Hand_boese.png"
image mecki sr_böse = "M_sitzt_Ruecken_böse.png"
$ p = Character('Peter', color="#c8c8ff")
label start:
scene bg dachbodenfenster
show mecki sr_böse at Position(xalign=0.3, yalign=0.4)
$ renpy.pause(delay=1)
# # move the arm in
show hand boese at Move(
(1.0, 0.9, 0.0, 0.5),
(0.7, 0.6, 0.0, 0.5),
0.4,
)
$ renpy.pause(delay=0.5)
# # wag the arm
show hand boese at RotoZoom(0, -15, 0.6, 1, 1, 1, rot_repeat=True, rot_bounce=True, rot_anim_timebase=True, opaque=False,
xpos=0.7, ypos=0.6, xanchor=0.0, yanchor=0.5)
p "bad cat!"
# # move the arm out
show hand boese at Move(
(0.7, 0.6, 0.0, 0.5),
(1.0, 0.9, 0.0, 0.5),
0.5,
)
$ renpy.pause(delay=1)