The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: abitsicamica on December 13, 2012, 12:10:29 AM

Title: Zoomed Look!!
Post by: abitsicamica on December 13, 2012, 12:10:29 AM
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!
Title: Re: Zoomed Look!!
Post by: modern algebra on December 13, 2012, 03:28:40 AM
Are you aware that with that script, you can just use the following code in a script call:

Code: [Select]
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.
Title: Re: Zoomed Look!!
Post by: abitsicamica on December 13, 2012, 03:56:41 AM
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?
Title: Re: Zoomed Look!!
Post by: modern algebra on December 14, 2012, 12:36:20 AM
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.