puubutt

Veteran
Veteran
Joined
Jun 18, 2017
Messages
39
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
569
Reaction score
545
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

Veteran
Veteran
Joined
Jun 18, 2017
Messages
39
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
569
Reaction score
545
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

Veteran
Veteran
Joined
Jun 18, 2017
Messages
39
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
569
Reaction score
545
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

Veteran
Veteran
Joined
Jun 18, 2017
Messages
39
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
569
Reaction score
545
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

1iVi6I.png


Continuing our countdown with Capsule Monster #13 Tomey Thomas! I loved the idea of a tiny book gaining sentience and being a little wizard. It’s a shame none of his spells are useful XD
Have to be more organised and serious. It helps that im running out of time at work :|. so much to do. Trying to make game studio proffessional. www.bmpgames.com
imgur links are back!
now I CAN keep getting away with NOT replacing them with updated renders!
yay!
I forgot RPG Maker even existed. Such good memories. Might boot up steam and download MV one more time
10 pieces of KFC chicken for US$12.30, delivery included. Cheap or expensive? :aswt:

Forum statistics

Threads
131,549
Messages
1,220,766
Members
173,220
Latest member
ZecaVn
Top