zoom perminantly script

Started by whitespirits, March 08, 2014, 08:31:33 am

Previous topic - Next topic

whitespirits

March 08, 2014, 08:31:33 am Last Edit: March 09, 2014, 09:59:40 pm by whitespirits
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

whitespirits


MetalZelda

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

ForeverZer0

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?
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Zexion

^ 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.