Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
525
Reaction score
1,532
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,532
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,532
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 Posts

Latest Profile Posts

Sales Goal of Learn RPG Maker MV at 64% now! :kaopride:
When I was in the hospital I did actually have a nurse that was funny, did all these extra nice things for me and said she liked me. So you know what that means. That will be the last time I'll hear from her.
Anyone here ever confronted a never-ending loading screen? Took me 3 hours to realize the problem was the font format :yswt:
Ah, the problems a noob runs into...
WOOHOO!! FIXED A MAJOR SHOP PROBLEM I HAD FOR MONTHS, WHAT A WAY TO END MY STAY-CATION!

Forum statistics

Threads
118,802
Messages
1,118,800
Members
155,980
Latest member
imdemari
Top