Main Menu
  • Welcome to The RPG Maker Resource Kit.

Script Request... Map Zoom

Started by J. Moreno, June 27, 2011, 11:28:57 AM

0 Members and 1 Guest are viewing this topic.

J. Moreno

Hi everyone, actually im using the Falcao´s Zoom char V 0.5 and its perfect, but this is only to zoom the character, im wandering for a script that zoom the map (like a close up), i want that script for the world map... thanks for reading!

Have a nice time!

Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account:

pacdiggity

Can you please post the Falcao script or link to it?
it's like a metaphor or something i don't know

exhydra

Also, I'm pretty sure there's already a script that zooms in on the map ... totally can't remember the name off the top of my head.


#==================================================================#
#  #*****************#         Zoom char V 0.5 , Falcao script     #
#  #*** By Falcao ***#         allow you to increse the chara size #                 
#  #*****************#         making zoom effect.                 #
#         RMVX                                                     #
# makerpalace.onlinegoo.com                                        #
#==================================================================#

#-------------------------------------------------------------------
# * Commands
#
# $game_player.zoom(x,y)      player zoom command,
# Example.  $game_player.zoom(2,2) increase double
#
# $game_map.events[Event ID].zoom(x,y)   event zoom command 
# Example  $game_map.events[1].zoom(2,2)  event ID 1 increase double
#
# Note: Zoom support decimals
# Default zoom for each character is "(1,1)"
#--------------------------------------------------------------------

class Game_Character
  attr_accessor :zoom_x
  attr_accessor :zoom_y
  alias falcaozoom_ini initialize unless $@
  def initialize
    falcaozoom_ini
    @zoom_x = 1.0
    @zoom_y = 1.0
  end
  def zoom(x,y)
    self.zoom_x = x
    self.zoom_y = y
  end
end

class Sprite_Character < Sprite_Base
alias character_zoom_update update unless $@
def update
     character_zoom_update
     if @zoom_x != @character.zoom_x or
        @zoom_y != @character.zoom_y
        @zoom_x = @character.zoom_x
        @zoom_y = @character.zoom_y     
        self.zoom_x = @character.zoom_x
        self.zoom_y = @character.zoom_y
     end 
end
end

UPDATED 05-29-14


IS YOUR PROJECT OPTIMIZED?
UPDATED 07/04/15 - v2.5

RPG MAKER TOOLBOX
UPDATED 07/04/15 - v1.5

pacdiggity

Well, if you want to look into it, Exhydra, you can. I'm doing other stuff, and it seems as though it'll take more time to do than I have.
it's like a metaphor or something i don't know

exhydra

#4
I could be wrong, but I could have sworn someone made one. Maybe it was zooming in for transitioning or something. I'm looking around for it to confirm ...

[EDIT]: I found it, but it was aimed more at transitions than actually zooming in the map for long periods of time. Ah well.

Jet's Zoom Script : http://jetruby.blogspot.com/2010/12/zoom-script.html

UPDATED 05-29-14


IS YOUR PROJECT OPTIMIZED?
UPDATED 07/04/15 - v2.5

RPG MAKER TOOLBOX
UPDATED 07/04/15 - v1.5

J. Moreno

Oh thank you! im gonna check it now.

Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account:

exhydra

That script is really only for use with transitions. I posted it on the slim chance that it was what you were after, but I was kind of thinking you were wanting to zoom in the screen and still have the player and walk around normally (much harder to pull off).

UPDATED 05-29-14


IS YOUR PROJECT OPTIMIZED?
UPDATED 07/04/15 - v2.5

RPG MAKER TOOLBOX
UPDATED 07/04/15 - v1.5