puubutt

Villager
Member
Joined
Jun 18, 2017
Messages
27
Reaction score
6
First Language
English
Primarily Uses
RM2k3
Hello~
I was trying to have my game zoomed in throughout the whole run of the game because I feel like the game feels too far away with my pixel art- so I used the plugin that RPG maker itself gives you (Community_Basic) to zoom in. My problem is that the resolution I wanted 448x320 basically cuts off everything outside of that. Textboxes automatically resize to fit, but things like the menu doesn't resize which looks fairly awkward, and when I put in a choice selection, the options are off-screen no matter if I put it to the left, right, or middle.
I know Yanfly's plugin would probably fix this, but right now I can't really afford it, and assumed there was an easier in-game way of doing it.
Any help would be appreciated.
 

KillerGin

Freddie
Veteran
Joined
Dec 18, 2015
Messages
556
Reaction score
509
First Language
English
Primarily Uses
N/A
Are you using MV? If so use the built in zoom commands (you have to use script commands, they are hidden lol)

Examples:

var xPos = $gameMap.event(3).screenX();

var YPos = $gameMap.event(3).screenY();

or

var xPos = $gamePlayer.screenX();

var YPos = $gamePlayer.screenY();

$gameScreen.startZoom(xPos, YPos, 2.2, 120);
(the 2.2 is the zoom amount, less than 1 is zoom out, and the 120 is the time in frames)

and

$gameScreen.clearZoom();
 
Last edited:

puubutt

Villager
Member
Joined
Jun 18, 2017
Messages
27
Reaction score
6
First Language
English
Primarily Uses
RM2k3
Are you using MV? If so use the built in zoom commands (you have to use script commands, they are hidden lol)

Examples:

var xPos = $gameMap.event(3).screenX();

var YPos = $gameMap.event(3).screenY();

or

var xPos = $gamePlayer.screenX();

var YPos = $gamePlayer.screenY();

$gameScreen.startZoom(xPos, YPos, 2.2, 120);

and

$gameScreen.clearZoom();
Ah thank you so much!
I wasn't aware they had a Script function ; ;

Sorry to expand on my question, but when using the game's script for the zoom in, it still cuts off the character near the sides of the maps, so I can't get near the edge of a map without the player walking off screen. Is the only way to fix this just making the edges thicker?
 

KillerGin

Freddie
Veteran
Joined
Dec 18, 2015
Messages
556
Reaction score
509
First Language
English
Primarily Uses
N/A
Ah thank you so much!
I wasn't aware they had a Script function ; ;

Sorry to expand on my question, but when using the game's script for the zoom in, it still cuts off the character near the sides of the maps, so I can't get near the edge of a map without the player walking off screen. Is the only way to fix this just making the edges thicker?

I think you would just have to make the map bigger in the editor, extend them with blank space that way that engine has something to fill the space with.
 

puubutt

Villager
Member
Joined
Jun 18, 2017
Messages
27
Reaction score
6
First Language
English
Primarily Uses
RM2k3
I think you would just have to make the map bigger in the editor, extend them with blank space that way that engine has something to fill the space with.
ah alright, thank you so much for your help!
 

KillerGin

Freddie
Veteran
Joined
Dec 18, 2015
Messages
556
Reaction score
509
First Language
English
Primarily Uses
N/A
No problem, glad to help.

I'm so sorry, I forgot to explain the numbers above (I updated the post for future reference)

$gameScreen.startZoom(xPos, YPos, 2.2, 120);
(the 2.2 is the zoom amount, less than 1 is zoom out, and the 120 is the time in frames)
 

puubutt

Villager
Member
Joined
Jun 18, 2017
Messages
27
Reaction score
6
First Language
English
Primarily Uses
RM2k3
No problem, glad to help.

I'm so sorry, I forgot to explain the numbers above (I updated the post for future reference)

$gameScreen.startZoom(xPos, YPos, 2.2, 120);
(the 2.2 is the zoom amount, less than 1 is zoom out, and the 120 is the time in frames)
Oh thank you for clarifying, I played around with the numbers and figured it out~

Also I found a plugin that zooms in and fixes the edging problem.
(MBS_MapZoom by Masked)
incase anyone was following this thread for an answer~
 

KillerGin

Freddie
Veteran
Joined
Dec 18, 2015
Messages
556
Reaction score
509
First Language
English
Primarily Uses
N/A
Oh thank you for clarifying, I played around with the numbers and figured it out~

Also I found a plugin that zooms in and fixes the edging problem.
(MBS_MapZoom by Masked)
incase anyone was following this thread for an answer~

I used to use that one..... but I had issues with it..... I forgot what it was, but it made something harder/didnt work well. It may have been a compatibility issue with another script or game mechanic I created.

So I just went back to zooming manually using the built in script functions.

However, if it works well for you, then go for it.

If you just add more space to maps, I think you wont have the edging issue.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Observation Log 1 on the planet of "RPGMAKERWEB": Local RMXP community seems to have very few survivors. Their script tech-level is in the early Stone Age(about the same as 66RPG in 2007).
Some cats/wolves/squirrels are spotted, they are likely friendly. :3
Keep working on establishing more meaningful contacts.
May try to use the "I Come in Peace" protocol if encounter any hostiles.
Using hiddenone's QTE tutorial I've been able to setup a simple fishing system. Instead of just the pointer moving, the goal moves as well. Holding the action button scrolls the pointer and pressing the down arrow key hooks the fish. The speed of both is variable as well as the number of successful hooks needed for a catch.
When someone helps you solve a problem, it's good to report the thread so it can be closed, but it's also nice to go back and post in the thread to let them know their suggestion actually worked. And, you know, to say thanks for helping.

Forum statistics

Threads
108,925
Messages
1,040,632
Members
141,377
Latest member
Demonblabla
Top