How can I change the default map zoom in Ace?

Karbonic

Off Brand OFF
Veteran
Joined
Dec 24, 2015
Messages
57
Reaction score
20
First Language
English
Primarily Uses
RMMV
Hello.

I'm looking for a way to change the default camera setting in VX Ace.

I would like to zoom the camera in a bit more, so you can see a bit more detail on the sprites.

I'm convinced that the solution to this problem lies in the 'Game_Map' script, specifically in these lines:

 #--------------------------------------------------------------------------

  # * Set Display Position

  #--------------------------------------------------------------------------

  def set_display_pos(x, y)

    x = [0, [x, width - screen_tile_x].min].max unless loop_horizontal?

    y = [0, [y, height - screen_tile_y].min].max unless loop_vertical?

    @display_x = (x + width) % width

    @display_y = (y + height) % height

    @parallax_x = x

    @parallax_y = y

  end
However, from what I can tell, editing these values only effects camera placement, and not zoom.

Is there any way without someone else's script to edit the camera zoom?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,147
Reaction score
12,421
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


No, I don't think so - that just shows where on the map the screen is focussed. Nothing about the zoom.


For zoom to work properly, it's not just the map that you're interested in, but all the character, animation, weather sprites, etc.


Did you do a search? It would surprise me if there aren't already some zoom scripts around.
 

Karbonic

Off Brand OFF
Veteran
Joined
Dec 24, 2015
Messages
57
Reaction score
20
First Language
English
Primarily Uses
RMMV
I've been searching for some time, but all of the working scripts I find are based on Payed Liscenses,

and at the moment, I have no funds for that. For instance, that script by Zeus has a $30 liscense.

Is there any specific parts of ruby I can learn to make a similar script?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

The end is near. The end is near. The MV era will be passed and people will look the forum about new RPG maker all days. Let go people the maker is not ready to publicly display yet.
C&C Remastered comes out tomorrow! Hyped! Already have it preinstalled on Steam.
Its ironic, how often a person can have something smart to say, when their arrogance is originating from an internal vacuum where emotional intelligence belongs.
Parallax mapping is time consuming...
Let's purchase th... WAIT! Just in time ehehehe.

Forum statistics

Threads
98,149
Messages
949,727
Members
129,436
Latest member
andreiek
Top