Script: ecchivelo qui
# - Window_MapName2
#------------------------------------------------------------------------------
# E' la finestra che mostra il nome della mappa in cui ci si trova
#==============================================================================
class Game_Map
def name
$map_infos[$game_temp.player_new_map_id]
end
end
class Window_MapName2 < Window_Base
#--------------------------------------------------------------------------
# - Inizializzazione dell'oggetto
#--------------------------------------------------------------------------
def initialize
super(0, 0, 640, 200)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
#--------------------------------------------------------------------------
# - Aggiornamento
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.name = "Kingdom Hearts"
self.contents.font.size = 60
self.contents.font.color = normal_color
self.contents.draw_text(64, 6, 480, 136, $game_map.name, 1)
end
end
Questo
Messaggio modificato da Tio, 03 settembre 2007 - 01:57