About the Rotozoom function

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
Amaku
Regular
Posts: 50
Joined: Thu Jun 19, 2008 9:35 pm
Contact:

About the Rotozoom function

#1 Post by Amaku »

Hi! I am using this function

init:
image eileen rotozoom = im.Rotozoom("9a_happy.png", 15, 0.9)

But it always shows at the center, is it possible to show the image rotting at right? Thanks =3

mozillauser
Newbie
Posts: 16
Joined: Mon Jun 30, 2008 4:00 pm
Contact:

Re: About the Rotozoom function

#2 Post by mozillauser »

Yes, I had the same problem, but RotoZoom has no parameter to set the center. It is always the center of the image.

Therefore I enlarged the image to the right, to make RotoZoom move the center to the right.

Amaku
Regular
Posts: 50
Joined: Thu Jun 19, 2008 9:35 pm
Contact:

Re: About the Rotozoom function

#3 Post by Amaku »

Oh Thanks! Ill try that =3

Edit: Well it didnt work xD The image was rotting from one side of the screen to another xD thanks anyway

mozillauser
Newbie
Posts: 16
Joined: Mon Jun 30, 2008 4:00 pm
Contact:

Re: About the Rotozoom function

#4 Post by mozillauser »

Maybe I didn't understand what the problem is.

I posted my solution in another post of this forum: look here.
It contains a link to a zip, that gives you a Ren'Py script and 3 images. One of the images shows an arm, wich I rotated by using RotoZoom. You also can download the zip here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]