Rycochet 9 Posted September 15, 2013 (edited) I've only just learnt Ruby (2 days and counting), so please point out if anything could be done "better", started playing with this idea since I couldn't see it out there, and the thought of a group of tiny npcs following Gulliver was amusing ;-) Introduction Allows you to change the zoom level on sprites depending on what they are on a per-map basis. This can be used to do things like making the character smaller on the main map, or creating a Lilliput village where the character is twice the size of the villagers. http://pastebin.com/jLVvpFRH Screenshot Character is at 25%, as are the two doors on the castle (compare with the castle to the right that has no door events), the chest and fountains are at 50%, balloon at 150%, and dragon at 200%... Map Notetags It is possible (and suggested) to have all the notetags for this in a single entry, simply put them all within a single set of brackets (the "zoom" is only required at the beginning). Set the zoom level for all sprites: <zoom all=x ...> Set the zoom level for the player *and* followers: <zoom player=x ...> Set the zoom level for followers only: <zoom follower=x ...> Set the zoom level for any vehicles: <zoom vehicle=x ...> Set the zoom level for npcs, these are classed as any event that can move: <zoom npc=x ...> Set the zoom level for any event that has a fixed position: <zoom event=x ...> Event Comments Set the zoom for this specific event (overrides map notetags): ZOOM x TODO Event script commands? Edited September 15, 2013 by Rycochet 5 KayDgirl91, Wren, dbchest and 2 others reacted to this Share this post Link to post Share on other sites
+ dbchest 160 Posted September 15, 2013 screenshots? Share this post Link to post Share on other sites
Rycochet 9 Posted September 15, 2013 (edited) Added a screenshot, there's not much to really see, though as it zooms full sprites - the fountains are actually animated, as is your character walking etc. Edited September 15, 2013 by Rycochet Share this post Link to post Share on other sites
KayDgirl91 99 Posted September 15, 2013 I love it! Very awesome! I'll give it a test! Share this post Link to post Share on other sites
+ dbchest 160 Posted September 16, 2013 (edited) agreed. i like this very much. in your script, what does $imported do? could you explain those two lines (65, 66)? Edited September 16, 2013 by Calintz Share this post Link to post Share on other sites
Rycochet 9 Posted September 16, 2013 I've copied the layout from Yanfly's scripts, and that is part of it - basically it's there for other coders to access to check if a certain script is already running. Several other scripts and coders use similar things, I just felt that was the most logical one out there - it's not required, but as I intend to be coding more scripts, and potentially having some interdependence I've added it ;-) Share this post Link to post Share on other sites
Wren 179 Posted September 16, 2013 This is super cool. I like the idea, and I like how you set this up. Now we can make a distinctly overworld type map. Good job! Share this post Link to post Share on other sites