Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: whitespirits on March 08, 2014, 08:31:33 am

Title: zoom perminantly script
Post by: whitespirits on March 08, 2014, 08:31:33 am
im looking for a script to literally zoom in to make everything seem bigger and be closer in, is this possible? if so can any 1 help?


ok so i found this which works perfect for sprites! i just wondering if it can be edited so the tileset moves aswell??

class Sprite_Character #von Neo-Bahamut >:3
  # Alle Charaktere (true) oder nur der Spieler (false) ?
  Zoom_AllChars = true

  # Zoom-Stufe am oberen Bildschirmrand (in Prozent)
  Zoom_Top = 200
  # Zoom-Stufe am unteren Bildschirmrand
  Zoom_Down = 200

  # -------------------------

  alias_method :nb_aliasmethod_smallzoomaddon_spritecharacter_update, :update
  def update
nb_aliasmethod_smallzoomaddon_spritecharacter_update
update_nb_zoom
  end

  def update_nb_zoom
return if !(Zoom_AllChars or self.character.is_a?(Game_Player))
y = self.y
dif = Zoom_Down - Zoom_Top
per = y / 480.0
zoom = (Zoom_Top + (dif*per)) / 100.0
self.zoom_x = self.zoom_y = zoom
  end
end
Title: Re: zoom perminantly script
Post by: whitespirits on March 10, 2014, 10:14:47 am
BUMP
Title: Re: zoom perminantly script
Post by: MetalZelda on March 15, 2014, 01:28:39 pm
Hmmmm, have you tried with King's reworked Tilemap ? Drago modified one to be non-SDK, but I don't know what engine you're using, so try this one ^^ :

Thanks to LittleDrago for this work
King's Tilemap (edited) : _http://pastebin.com/raw.php?i=183DGStA
Trebor777's Map Zoom (edited) : _http://pastebin.com/raw.php?i=cgQFzCf3
Title: Re: zoom perminantly script
Post by: ForeverZer0 on March 15, 2014, 07:35:22 pm
I don't know if it's possible to achieve what you want by doing this, but could you simply resize the tileset graphics to be larger?
Title: Re: zoom perminantly script
Post by: Zexion on March 16, 2014, 01:48:31 am
^ as well as charsets.
I thought this would cause a bunch of problems with passability, but to my surprise, it was almost better than the small sprites.