Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

Share | 
 

 [VXA] Map Resolution Glitch Fix v1.0

Topik sebelumnya Topik selanjutnya Go down 
[VXA] Map Resolution Glitch Fix v1.0 Empty2012-11-25, 15:25
Post[VXA] Map Resolution Glitch Fix v1.0
#1
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

[VXA] Map Resolution Glitch Fix v1.0 Vide
Map Resolution Glitch Fix
Versi: v1.0
Tipe: Patch


Pengenalan

Singkat aja, ini memperbaiki keanehan map yang menongolkan bagian atas mapnya dibawah mapnya kalo tinggi resolusi game janggal dari pembagian 32.



Fitur
Plug and play lah.



Screenshots
[VXA] Map Resolution Glitch Fix v1.0 HdyBu
Sebelum di fix. Resolusi gamenya 640x360.

[VXA] Map Resolution Glitch Fix v1.0 WdNum
Maknyus, ini yang beres.



Demo
Gak perlu.


Scripts
Code:
#===============================================================================
# Map Scroll Glitch Fix v1.0 by wltr3565 (RMVX ACE only)
#
# In widescreen resolution (640x360) the bottom of the map shows up some upmost
# part of the map. This one fixes this.
# But it's only for 640x360 for now, so if there's need for fixing in many
# aspects, let me know. It's rare for an RM game to have a different resolution
# other from either 544x416 or 640x480.
#
# Just paste this above main, and as above as possible above other custom
# scripts.
#===============================================================================
class Game_Map
  def scroll_down(distance)
    if loop_vertical?
      @display_y += distance
      @display_y %= @map.height
      @parallax_y += distance if @parallax_loop_y
    else
      last_y = @display_y
      @display_y = [@display_y + distance, height - screen_tile_y, height - screen_tile_y - (Graphics.height % 32 * 1.0 / 32)].min
      @parallax_y += @display_y - last_y
    end
  end
 
  def set_display_pos(x, y)
    x = [0, [x, width - screen_tile_x].min].max unless loop_horizontal?
    y = [0, [y, height - screen_tile_y].min].max unless loop_vertical?
    @display_x = (x + width) % width
    @display_y = (y + height) % height
    @display_y = (y + height) % height -  (Graphics.height % 32 * 1.0 / 32) if @display_y >= @map.height - 12
    @parallax_x = x
    @parallax_y = y
  end
end



Terms of Use
Credit aku, wltr3565, atau kagak, terserah. Tapi kumohon gamenya jadi ya :hammer:
 

[VXA] Map Resolution Glitch Fix v1.0

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Ace Scripts-