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
38,831
Reaction score
12,239
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

Pft... people think the moon landing is fake. Nonsense. The moon doesnt even exist in the first place, it's just the reflection of the earth on the surface of space.
I don't know if anyone will get my old pop culture references. Item: Empty Basket. Description: Don't worry. Yogi Bear won't try to steal it.
My second childrens book is finally uploaded and approved and available to buy! I am so happy!
I just realized I passed 1,000 likes. I'm amazed you people actually like this crap. It's no surprise you'd like my high quality content. :kaopride:
Running on a creative high right now. Expanding my Redwood tile D with doors, windows, and some other odds and ends today.

Forum statistics

Threads
95,751
Messages
931,595
Members
126,142
Latest member
KRinlock
Top