XP 스크립트

션:Window_Map_Main (스크립트 맨 아래 Main 위에 마우스 오른버튼 찔러서 '삽입' 누르시면
삽입할 새로 세션을 만들 수 있습니다. 이름을 입력하고 아래 소스를 전부 넣어주시면 됩니다)
-------------------------------------------------------------------------------
#==============================================================================
# ■ Window_Map_Name
#------------------------------------------------------------------------------
#  マップ名を表示するウィンドウです。
#==============================================================================
class Window_Map_Name < Window_Base
#--------------------------------------------------------------------------
# ● オブジェクト初期
#--------------------------------------------------------------------------
def initialize
super(460, 0, 180, 64)
self.contents = Bitmap.new(width-32, height-32)
@showing_time = 0
@text_color = Color.new(255,255, 0,255) # 地名:描?文字色
end
#--------------------------------------------------------------------------
# ● テキスト設定
# text : ウィンドウに表示する文字列
# align : アラインメント (0..左?え、1..中央?え、2..右?え)
#--------------------------------------------------------------------------
def set_text(text, align = 2)
# テキストとアラインメントの少なくとも一方が前回と違っている場合
if text != @text or align != @align
# テキストを再描?
self.contents.clear
@showing_time = 100
@text = text
@align = align
@actor = nil
self.contents_opacity = 255
x = 4
y = 0
self.contents.font.color = Color.new( 0, 0, 0, 192)
self.contents.draw_text(x+2, y+2, self.width - 40, 32, "-"+text+"-",align=1)
self.contents.font.color = Color.new( 64, 64, 64, 192)
self.contents.draw_text(x-1, y-1, self.width - 40, 32, "-"+text+"-", align=1)
self.contents.draw_text(x+1, y-1, self.width - 40, 32, "-"+text+"-", align=1)
self.contents.draw_text(x-1, y+1, self.width - 40, 32, "-"+text+"-", align=1)
self.contents.draw_text(x+1, y+1, self.width - 40, 32, "-"+text+"-", align=1)
self.contents.font.color = @text_color
self.contents.draw_text(x, y, self.width - 40, 32, "-"+text+"-", align=1)
else
@showing_time -= 1
if @showing_time < 16
# フェ?ドアウトしはじめる
self.contents_opacity = @showing_time * 16
elsif @showing_time <= 0
# 一定時間?過したので表示を消す
self.contents.clear
end
end
self.visible = true
end
end
#==============================================================================
# ■ Scene_Map
#==============================================================================
class Scene_Map
#--------------------------------------------------------------------------
# ● メイン?理
#--------------------------------------------------------------------------
alias xrxs20_main main
def main
# 地名ウィンドウを作成
@map_name_window = Window_Map_Name.new
@map_name_window.opacity = 0
# ?す
xrxs20_main
# 地名ウィンドウを解放
@map_name_window.dispose
end
#--------------------------------------------------------------------------
# ● フレ?ム更新
#--------------------------------------------------------------------------
alias xrxs20_update update
def update
# 地名ウィンドウの更新
@map_name_window.set_text($game_map.name,1)
xrxs20_update
end
end
#==============================================================================
# ■ Scene_Title
#==============================================================================
class Scene_Title
#--------------------------------------------------------------------------
# ● メイン?理
#--------------------------------------------------------------------------
alias xrxs20_main main
def main
$map_infos = load_data("Data/MapInfos.rxdata")
for key in $map_infos.keys
$map_infos[key] = $map_infos[key].name
end
xrxs20_main
end
end
#==============================================================================
# ■ Game_Map
#==============================================================================
class Game_Map
#--------------------------------------------------------------------------
# ● マップ名を取得
#--------------------------------------------------------------------------
def name
$map_infos[@map_id]
end
end

출처 컴퓨터에 있던것들 자세이 몰라요 ..;'

Who's WMN

?
 
 

  W M  N  
                  자료공유

Comment '10'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
34 HUD Advanced HUD Script 3 file 백호 2009.02.22 1341
33 HUD HP/SP 상태를 표시해주는 간이 윈도우 3 file 백호 2009.02.21 3068
32 HUD HP과 SP 바 19 Man... 2008.11.04 4534
31 HUD HUD Menu 1.2 by Raziel 6 file 백호 2009.02.22 2390
30 HUD HUD Menu 2.0 by Raziel 3 Alkaid 2010.09.07 2031
29 HUD MOG_Active_Hud 3 file Bera 2010.09.11 2468
28 HUD MOG_C_HUD. 6 file Bera 2010.09.11 2329
27 HUD xp대화창에 얼굴, 이름 넣기!! [방법두 있음] 3 백호 2009.02.21 3545
26 HUD [VX 가능] 이벤트 이름 띄우기 41 file 독도2005 2009.08.22 3902
25 HUD [게이지바]2.0버젼「체력,마나,경험치,직업,캐릭터,레벨,돈,맵이름」(HelloCoa2Ver2.0) 67 file 코아 코스튬 2010.10.23 5553
24 HUD [게이지바]3.0버젼「현재시간, 플레이시간, 걸음수, 윈도우 이동 추가」(HelloCoa2Ver3.0) 63 file 코아 코스튬 2010.10.30 4921
23 HUD [맵이동시 맵이름을 표시] 심플한 디자인 36 file 제로스S2 2009.08.05 5001
22 HUD 강화 나침반 스크립트 (원본 by 허걱) 16 file JACKY 2010.08.16 3105
21 HUD 게임 플레이시 맵의 이름을 표시하는 스크립트 1 file 백호 2009.02.21 1935
20 HUD 넷플레이 HUD표시 2 file 백호 2009.02.22 3094
» HUD 맵 이름 뛰우기 10 WMN 2008.03.17 1966
18 HUD 맵 이름 표시 by Slipknot@rmxp.net (SDK호환) 2 백호 2009.02.22 1463
17 HUD 맵 이름 표시 스크립트 수정하기 (계속 뜨게 하기, 위치 바꾸기 등) 3 뮤리온。 2011.10.08 2886
16 HUD 맵 이름 표시와 미니맵을 같이하자 8 file 뮤리온。 2011.10.08 4193
15 HUD 맵 이름을 표시해주는 스크립트입니다. 25 임희성 2011.02.12 2937
Board Pagination Prev 1 2 Next
/ 2