RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Zoomed Look!!

Started by abitsicamica, December 13, 2012, 12:10:29 AM

0 Members and 1 Guest are viewing this topic.

abitsicamica

Hello RMRK community, I was wondering, can any of you wonderful guys/gals out there make a script to where the game is viewed to give the player a better view of everything such as a 1:2 ratio view? I'm asking this of you guys/gals because whenever I'm in the overworld map, it seems as if though the view is very limited. Just a nice little zoomed out look should suffice perfectly!

I've tried this demo right here:
http://www.rgss-factory.net/ace-map-zoom-ace-zoom-de-la-carte/

And I don't like how you have to press F8 to view a 1:2 ratio. It should be automatic from the start.

Thanks in advance you guys!

modern algebra

#1
Are you aware that with that script, you can just use the following code in a script call:


MGC.map_zoom = 0.5


And that will instantly change the zoom. You could put that as a parallel process event in your overworld, and then change it back whenever you go to a new map (you would change it back by setting it to 1).

The F5-F8 stuff was just added by the creator for testing purposes. You are supposed to delete the whole "TEST - à ne pas reprendre" if you are using it in a game.

abitsicamica

Alright, well it worked, the only problem is that it conflicts with one of the other scripts that allow for custom damage pop-ups during battle. When the ZOOM script is active, the damage pop-ups appear scrunched up in the top-right corner of the screen when battling. Is there a way to just show more of the map while keeping the 1:1 ratio view?

modern algebra

Yes, the code Graphics.resize(640, 480) will change the resolution. However, you will need a script if you want to correspondingly change the size of scenes or to increase the resolution beyond that. Try doing a search for Screen Resolution scripts. I know there are a couple out there.