Zoom camera in field (ACE Request)

Soul Tech

Time Traveler
Veteran
Joined
Mar 20, 2015
Messages
68
Reaction score
186
First Language
Spanish
Primarily Uses
RMVXA
hello everyone, i don,t know if this request is already done but i don't find it on the browser.

I need zoom a little the view of player on the field...maybe a 20% i don't want change the resolution, just know if is possible bring on the camera, don't matter the pixellation.

A script would be the best.

Thanks for read!
 

Broyi

Veteran
Veteran
Joined
Jun 30, 2014
Messages
95
Reaction score
45
First Language
Spanish
Primarily Uses
RMVXA
Try this script >> http://forums.rpgmakerweb.com/index.php?/topic/13941-map-effects/

After you install it, put a event, and in tab 3 at the end, in Script..., copy, paste and edit this:

map_effects.set_zoom(##, duration)Change ## for what you need to zoom. 100% is default. (So, change the ## with 120.)

Duration is the transition time in number of frames. (60 = 1 second). If you want it without effects, just simply put a 0.

Note that it will stay like that until you put

map_effects.clearin the same way you did the pixellate (third tab, Script).

If you have any questions or need it in Spanish, just ask away! ^_^
 
Last edited by a moderator:

Soul Tech

Time Traveler
Veteran
Joined
Mar 20, 2015
Messages
68
Reaction score
186
First Language
Spanish
Primarily Uses
RMVXA
i will try it! Look promising, thanks Broyi
 

Broyi

Veteran
Veteran
Joined
Jun 30, 2014
Messages
95
Reaction score
45
First Language
Spanish
Primarily Uses
RMVXA
No problem! :)
 

Soul Tech

Time Traveler
Veteran
Joined
Mar 20, 2015
Messages
68
Reaction score
186
First Language
Spanish
Primarily Uses
RMVXA
Works perfect so far! Thanks again!
 

Broyi

Veteran
Veteran
Joined
Jun 30, 2014
Messages
95
Reaction score
45
First Language
Spanish
Primarily Uses
RMVXA
Glad to help! :)
 

Merp

Warper
Member
Joined
Apr 14, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I need help guys! I tried putting in the script Broyi put and it's not working. My game is black when it starts up and this message pops up.


Script 'Game_Interpreter' line 1409: NameError occured.


undefined local variable or method 'map_effects' for #<Game_Interpreter:0x69db3bc>
 

Broyi

Veteran
Veteran
Joined
Jun 30, 2014
Messages
95
Reaction score
45
First Language
Spanish
Primarily Uses
RMVXA
I think you need to install the script.


The snippet is used in an event:


map_effects.set_zoom(amount, duration)


After that, please change the amount and the duration. The amount must be more than 100, and keep in mind that for the duration, 1 second is 60 frames.


If it is another thing, or if it doesn't work, just write and I'll try to help. :)
 
Last edited by a moderator:

Merp

Warper
Member
Joined
Apr 14, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Thanks for the reply! And sorry for the late post, I was preoccupied with a lot of other stuff. I basically want my game to look like the RPG Oneshot. Here's what it looks like: https://rpgmaker.net/media/content/games/6560/screenshots/screen2.png


I intend on making my own graphics similar to Oneshot. I'm not sure if importing them will change how my game looks but RPG Maker is zoomed out too much right now. If you have any other solutions besides zooming in the whole game with this script, please let me know. Otherwise, here's what I did to get the error message.


First I installed the script into the Main section, under rgss_main. Not sure if this is right or if I'm supposed to put it in a different section. 


Then I made the event and here is what the line looks like: @> Script: map_effects.set_zoom(200,0) 
I put 0 because I want it to zoom in the whole game.
 

Broyi

Veteran
Veteran
Joined
Jun 30, 2014
Messages
95
Reaction score
45
First Language
Spanish
Primarily Uses
RMVXA
Thanks for the reply! And sorry for the late post, I was preoccupied with a lot of other stuff. I basically want my game to look like the RPG Oneshot. Here's what it looks like: https://rpgmaker.net/media/content/games/6560/screenshots/screen2.png


I intend on making my own graphics similar to Oneshot. I'm not sure if importing them will change how my game looks but RPG Maker is zoomed out too much right now. If you have any other solutions besides zooming in the whole game with this script, please let me know. Otherwise, here's what I did to get the error message.


First I installed the script into the Main section, under rgss_main. Not sure if this is right or if I'm supposed to put it in a different section. 


Then I made the event and here is what the line looks like: @> Script: map_effects.set_zoom(200,0) 
I put 0 because I want it to zoom in the whole game.


First things first, the scripts are placed below Materials.


The script call is okay though.


map_effects.set_zoom(amount, duration)


Amount is the amount of zoom that you want. 100 is the game without zoom.


Duration is the time you want the zoom to "transition".
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top