zoom on map (not battle)

● ARCHIVED · READ-ONLY
Started by Kes 14 posts View original ↗
  1. I am looking for a script which enables me to zoom in on a portion of a map - and, of course, then zoom back out. I know of scripts which do this just for the character sprite or in battle, but neither of those are what I am looking for, as I want to use this in cut scenes.

    Does anyone know of something which would do this?
    Thank you.
  2. @lordosthyvel Sadly no, as that is for MV and this is the Ace section.
    But thank you for taking the time to go hunting for me.
  3. Kes said:
    @lordosthyvel Sadly no, as that is for MV and this is the Ace section.
    But thank you for taking the time to go hunting for me.

    Oh deep. Sorry, I should have looked where it was posted!
  4. The only map zooming I know is zeus map effect. Other than that, idk.
  5. @TheoAllen Unfortunately that one is strictly non-commercial only.
  6. If you know exactly how the cutscene will look as when you want to do the zoom you can "cheat" by using a picture.
  7. @Zeriab While that would make the map appear to be zoomed in, the sprites would remain the default size, and when they move around there would be all sorts of problems, I think.
  8. @Kes I found this script. Hopefully it helps. Site link is in the description of the video. The site is in French, but the demo download is in the bold blue link right before the comments.

  9. @Kes It requires another script first, that rewrites the Tilemap class.
    In case you were wondering, all the scripts on that site are free to use.
    Terms of use (original French+translation)
    Conditions d’utilisation
    Tous mes scripts sont complètement libres d’utilisation. Ils peuvent être utilisés et/ou modifiés dans n’importe quel type de projet sans avoir besoin de demander mon accord.

    My own translation as a French native speaker:
    Terms of use
    All of my scripts are completely free to use. They can be used and/or modified in any project without asking for my permission.
  10. @JGreene and @cabfe Thank you both very much.

    I do have a query, and that's about the required script which rewrites the Tilemap class. Naturally I'm a bit concerned about what this will do to my existing maps. Would I be correct in thinking that if I set line 46 to false, then I can restrict the effect of the script to just the maps where I have the cut scenes? I am posting below the section about this, because there is another line at 51 and I am unsure about whether that is dealing with the same thing.
    script extract
    Code:
    [starting at line 33]
    33 # Configuration :
    34 # - NEW_TILEMAP_FOR_ALL_MAPS : alimenté à true ou false
    35 #         - true : la nouvelle Tilemap sera utilisée pour toutes les cartes
    36 #         - false : la nouvelle Tilemap ne sera utilisée que pour les
    37 #                   cartes dont l'id est dans NEW_TILEMAP_MAPS_IDS
    38 # - NEW_TILEMAP_MAPS_IDS : utilisé si NEW_TILEMAP_FOR_ALL_MAPS est à false
    39 #         Contient la liste des id des cartes pour lesquelles la nouvelle
    40 #         tilemap doit être utilisée
    41 #====================================================================
    42 module MGC
    43 #--------------------------------------------------------------------------
    44 # * CONFIGURATION
    45 #--------------------------------------------------------------------------
    46 NEW_TILEMAP_FOR_ALL_MAPS = true 
    47 NEW_TILEMAP_MAPS_IDS = [1, 2] # seules les cartes 1 et 2 utilisent cette tilemap
    48  #--------------------------------------------------------------------------
    49  # * Initialisation [1.2]
    50  #--------------------------------------------------------------------------
    51  @new_tilemap_active = false
  11. The sprites will zoom in just fine if they are part of the picture you use. Here is an example:
    There are definitely downsides and limits to this approach, but it is worth knowing about ^^

    *hugs*
  12. A little bit of translation to help understand things:
    Line 35 - True: the new Tilemap will be used on all maps
    Line 36 - False: the new Tilemap will only be used on maps whose id is in NEW_TILEMAP_MAPS_IDS

    So, yes, if you set False at line 46, it will not work on maps not included in line 47's settings.

    The setting at line 51 is another thing and since it's False by default, it won't trigger (it works it either one is True at Line 433)
  13. @cabfe That's what I hoped it meant, but I was thrown by line 51. I need to get some sleep now, but I'll test it out tomorrow.
    @Zeriab Thanks for the example, I'll have a close look at it tomorrow.