Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
281
Reaction score
136
First Language
English
Primarily Uses
I'm not a programmer, but i find out a little function in another topic.

Sets the game zoom factor (called once on scene load):$gameScreen.setZoom((SceneManager._screenWidth)/2,(SceneManager._screenHeight)/2,2.5);With this you can zoom in game, but the zoom is immediate without transition.

Anyone can made a small plugin who can Zoom IN/OUT with this features?

  • Zoom in/out (maybe with various speed for the transition)
  • Center Player on the screen
  • Set zoom region XY cooridnates
This is my idea for the definitive zoom plugin.

Best
Lakaroth
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,812
Reaction score
890
First Language
German
Primarily Uses
RMMZ
$gameScreen.startZoom(x, y, scale, duration);
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
281
Reaction score
136
First Language
English
Primarily Uses
$gameScreen.startZoom(x, y, scale, duration);
Thank you so much!

PS: There's a way to use varaibles?

For example to store PC or PNC position.
 
Last edited by a moderator:

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,812
Reaction score
890
First Language
German
Primarily Uses
RMMZ
For centering on the player, try this:

Code:
$gameScreen.startZoom($gamePlayer.screenX(), $gamePlayer.screenY() - 24, scale, duration);
Note that this doesn't seem to work at all when the player is moving around.
 

Latest Threads

Latest Profile Posts

If a person becomes voluntarily missing, does it cause the butterfly effect?
normal_water_is_fine.jpg

Just going to use stationary water for the randomized maps. Sure, particles would look cool... But this is about compromising and not spending countless hours making the perfect water particle for each set piece with water. :kaoswt:
Maybe I should get rid of the Banish ability in my game. It's a non-elemental spell that doesn't even appear in the magic chart. It's only there because my Elementalist doesn't use light or dark magic. It only effects summoned creatures.
ScreenShot_5_18_2022_0_37_0.png
I've been redoing all of the major areas in my game. starting with a place called Century Park. thankfully because all of the locations are distorted memories, I can make these places pretty abstract.

Forum statistics

Threads
121,911
Messages
1,145,122
Members
160,175
Latest member
lgh2003
Top