Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
525
Reaction score
1,538
First Language
Indonesia
Primarily Uses
RMMV
What is this about?
One of my experiment that allow smooth "zooming" feature via eventing. Modified to be user friendly and easy to study.



Requirement
  • Apprentice knowledge of how script call works in event.
  • Understanding of how parallel common event works.
  • A switch (Zooming Mode), 2 variables (Targeting, Scale control), and a parallel common event.
  • Difficulty level : Apprentice
Changelog
V1.1
* Use single variable to control the screen scale any time.
* Fix : Issue when trying to zoom outside screen reach.
* New : Smooth scroll to new target within screen reach.
V1.0
* Use two switches to "zoom in" and "zoom out".
* Smooth zooming.
Setup in parallel common event.
1588770608347.png
Controlling screen scaling using single variable while "Zooming Mode" is on
1588770630997.png

Download sample
DCupu - Camera Zoom V1.1 (5mb / GD) NEW!
DCupu - Camera Zoom V1.0 (5mb / GD)

Points to be noted
  • It's actually could be done with just a single line of script call :
    $gameScreen.startZoom(screenX, screenY, scale, duration);
  • It's designed to be neat, convenient, and user friendly. You only need to use a variable to control the scale.
  • It's designed to be "smooth". Thus explaining why it had to use parallel process.
  • Recommended usage for temporary use, such as mid cutscene or map transfer.
  • In the end this is done using only eventing. If you want real camera plugin, there are lots of them out there. Unless you participate in certain rpg maker challenge where plugins are unallowed.
  • This one is free to use. I made it for study purpose.

At last, let me know if there's something you don't understand or what would you like to suggest to improve it.

Thank you ~
 
Last edited:
Joined
May 5, 2020
Messages
1
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi. I tried your script. However, there was a problem when I was trying to talk to the actor in the first map of your game. If a player were to talk to the actor while zooming out, the zoom event would break.
In the video I linked, the top right actor becomes visible while the switch 'zoom out' is on. The top left is while 'zoom in' is on.

EDIT: Also, it wasn't show in the video, but after the zoom event breaks, the 'zoom in' actor would appear on the screen for a frame when 'zoom in' switch is on.
 
Last edited:

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
525
Reaction score
1,538
First Language
Indonesia
Primarily Uses
RMMV
Hi. I tried your script. However, there was a problem when I was trying to talk to the actor in the first map of your game. If a player were to talk to the actor while zooming out, the zoom event would break.
In the video I linked, the top right actor becomes visible while the switch 'zoom out' is on. The top left is while 'zoom in' is on.

EDIT: Also, it wasn't show in the video, but after the zoom event breaks, the 'zoom in' actor would appear on the screen for a frame when 'zoom in' switch is on.


Thank you for your feedback!
I'm aware of such issue.
Curently you may fix the issue by :
Removing this script check condition :
1588668834620.png
So it should've looked like this :
1588668927861.png
But in exchange, only the zoom out will be no longer smooth...

I'm working on improving this zooming feature to be more flexible, yet maintain its user friendly.
For that, I've prepared an upgraded version.
Perhaps I will publish it tonight.
 

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
525
Reaction score
1,538
First Language
Indonesia
Primarily Uses
RMMV
UPDATE!
Eventing camera zoom are now real-time on scene map. It's better, but risky. For safety measure, you may also turn ON / OFF the feature anytime.

* Use single variable to control the screen scale any time. Better than using 2 switches.
* Fix : Issue when trying to zoom outside screen reach.
* New : Smooth scroll to new target within screen reach.
 

Latest Threads

Latest Profile Posts

RE4make almost had me with their demo until I got to the dog stuck in a bear trap and realized that he was dead and could no longer be saved. Just not the kind of reimagining I'm interested in.
Here's some dudes that I'm drawing for Jimmy's Quest!
autredo.png
Autism Acceptance Month 2023!


Did this randomly in my free time, I guess today is a good day to show it.
If I were to not exaggerate, I would say that I have changed my damage formula about a million times by now. Give or take 1 or 2.

Forum statistics

Threads
130,021
Messages
1,207,083
Members
171,285
Latest member
sads
Top