Camera type function (zoom and move scene)?

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
Exiscoming
Regular
Posts: 127
Joined: Tue Apr 29, 2014 5:37 pm
Contact:

Camera type function (zoom and move scene)?

#1 Post by Exiscoming » Sat Feb 16, 2019 5:50 am

I'd like to zoom in on a scene. For example:

Code: Select all

label begin:
    show background1		# Image
    show screen props		# screen
    show screen exits		# screen
    show character		# layeredimage
This will show you something like this:
Image

Now I'd like to have a camera function that zooms in on part of the scene.
Image

Now then, let's say the green square is an imagebutton, when clicking it, I'd like the camera to move all the way to the left, of the scene, thus showing the red-square.
Is something like this at all possible? I'd prefer it over having to manually zoom and transform every single element in the scene manually.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]