Zoom char VXVersion: 0.5
By: Falcao
Introduction
Here i bring you a script that allow you to increase or reduce the characters size
Screenshots

RPG Maker VX script
RPG Maker XP script
Instructions
Copy and paste the script to your project and call the script using the following 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)"
Compatibility
Sprite_Character aliased
Credits and Thanks
By Falcao
Author's Notes
Enjoy
Terms and Conditions
This script can be posted in every forums but you have to give credits to the author
By: Falcao
Introduction
Here i bring you a script that allow you to increase or reduce the characters size
Screenshots

RPG Maker VX script
Content Hidden
Spoiler
- #==================================================================#
- # #*****************# 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
- 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
- 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
- class Game_Player < Game_Character
- def zoom(x,y)
- self.zoom_x = x
- self.zoom_y = y
- end
- end
Expand to see the code.
RPG Maker XP script
Content Hidden
Spoiler
- #==================================================================#
- # #*****************# Zoom char V 0.5 , Falcao script #
- # #*** By Falcao ***# allow you to increse the chara size #
- # #*****************# making zoom effect. #
- # RMXP #
- # 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
- 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
- if self.is_a?(Game_Player)
- self.zoom_x = x
- self.zoom_y = y
- end
- end
- end
- class Sprite_Character < RPG::Sprite
- alias character_zoom_update update
- 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
Expand to see the code.
Instructions
Copy and paste the script to your project and call the script using the following 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)"
Compatibility
Sprite_Character aliased
Credits and Thanks
By Falcao
Author's Notes
Enjoy
Terms and Conditions
This script can be posted in every forums but you have to give credits to the author