Kuro DCupu

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

Been away for awhile, but here's some new free music. This one is kind of weird or experimental and not sure how I'd classify it. But, hopefully someone will find it useful!

I'm working with Excel today, and I just hate VBA so much. It's like the designers said "How can we make a programming language that works as obtusely and inefficiently as possible?"
Beep-Beep-Motha-facka.gif

Just finished and uploaded the delivery truck base/sprite sheet. I've been steadily replacing the default assets with early modern alternatives. The air-ship for a biplane, horse-drawn wagon for a delivery truck, and next a sailboat for a steam-powered passenger liner (think of the SS Olympic and RMS Titanic).
I caught a shiny magikarp on pokemonGO today AND finally saw Detective Pikachu and it was so cute and I'm still so hype AHHHHH!!!
one of the coolest things I've learned from the forums is the ability to give yourself a hitbox. I have a move you can do on the fields. shoulder tackle. thanks to the forums, that tackle triggers self A switches on some events. NPC's and the environment now react to the tackle. awesome.

Forum statistics

Threads
121,947
Messages
1,145,377
Members
160,220
Latest member
Trex1930
Top