Keep It Zoomed And Working Fine!

I thought this might be the appropriate place to post before perhaps posting in a JS request thread. Oh, and I'm new to the forums. Hi! 🙂

I'm wondering if there is a way to keep the game zoomed, correctly following the character, with the mouse click options and events working properly, but not change window resolutions or battle resolutions.

I tried using the script:
$gameScreen.setZoom(1.5)

But the camera doesn't stick to the character. I

An example of it working would be using YEP_CoreEngine and lowering the resolution, but that messes up the battle resolution and windows resolutions which I want to keep. Ideally if $gameScreen.setZoom w
hi friend , i dont know if if because i have a specific plugin, but i have a prototype and proprety call.
_zoomScale
fffffffffffffffffff.jpg


You can set this to new valur , or _zoomScale
use
https://forums.rpgmakerweb.com/index.php?threads/iavra-animate-everything-easing-library.46826/
for make easing zoom
is work with decimal

If you need more help , tell me
ex:
$gameScreen._zoomScale = 1.215
work for me
1 === 100%
0.1 === 10%
0.01 === 1%
2.5 === 250%

inset $gameScreen in your console debug (F8)
Wow, thanks for the reply Jonforum (so sfast too)! I plan to look into your suggestions and try this out in between some work today!

Thanks again!
So, I tried a few different things out, to no prevail.

I set triggered events for the following scripts:
$gameScreen._zoomScale = 1
//Default zoom. Works great. Clicking/touch works great. If I reach a maps edge it works fine. Note that I extended the map to try to get rid of map edges to see if I could find a workaround with other zooms. I also like the look of always being centered.

$gameScreen._zoomScale = 1.5
//Zooms in, but does not stay centered on character. Loses character if I reach edge of map. It seems the click/touch map is different, and clicking and touching can no longer be used for proper navigation. Messages in GALV_MessageStyles lose their proper location.

$gameScreen._zoomScale = 1.545
//Decimal test. Works but same problems. Zooms in, but does not stay centered on character. Loses character if I reach edge of map. It seems the click/touch map is different, and clicking and touching can no longer be used for proper navigation. Messages in GALV_MessageStyles lose their proper location.

$gameScreen._zoomScale = 2
//Works but same problems. Zooms in, but does not stay centered on character. Loses character if I reach edge of map. It seems the click/touch map is different, and clicking and touching can no longer be used for proper navigation. Messages in GALV_MessageStyles lose their proper location.

var xPos = $gamePlayer.screenX();
var yPos = $gamePlayer.screenY();

$gameScreen.startZoom(xPos, yPos, 2, 1)
//Zooms onto character, just how I want. Problems near map edges (loses character) but I do not mind because I can extend map to keep character always center. However, the click/touch map still seems different, and clicking and touching can no longer be used for proper navigation. Messages in GALV_MessageStyles lose their proper location. Compatibility with android and the clicking is a high priority for me, so this is not yet a solution.

//Also note, which was NOT CLEARLY SHOWN in the videos that the battle screens DO remain at the original resolution, which I WANT... it is really just the clicking/touch that seems to be the prevalent issue. The animation before battle isn't at the resolution I want with zoom, but that may just require some image changes, which is not a concern of mine.

Video 1:


Low resolution works exactly how I want on map. The click/touch map still works. If I leave maps small, the camera still works with the character flawlessly instead of losing him. However, the titles screen and battle screen loses the resolution I want.

Video 2:



I love how it looks zoomed in (maybe about 1.5 to 2.0) so if you or anyone else can help, please do!

Original thread: https://forums.rpgmakerweb.com/threads/keep-it-zoomed-and-working-fine.77649/