puubutt

Villager
Member
Joined
Jun 18, 2017
Messages
26
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
26
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
26
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
26
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

The light has gone out of my life.

About time they finally press the kill switch button for older makers.
Sorry everyone, I am here sporadically. After 6 years of delays after delays in my life, I try to do all mat once and that means that I spread thin everywhere because it just is impossible to crunch 6 years in one or even two, but I try! I wish many of that I would already given you and put behind but... well...
I'm looking for an experienced gamer who has played a few games created with RPG Maker, who knows what an alpha build is, who may remember the old days when cliché was the favorite word on Creation Asylum, who, if a reviewer, would ask for my permission before making a review to post on YouTube, or whatever, since I will be messaging you a 10 minute, or so, DEMO based on an alpha build of Effervesce Fallacy™.
No matter how many times I listen to him, I know this is Joker speaking, but my brain can only hear Dagda.

Forum statistics

Threads
108,821
Messages
1,039,830
Members
141,284
Latest member
LuckyCat
Top