조회 수 2798 추천 수 3 댓글 17
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form
# www.rpgxp.co.kr과 rpgxp.zetyx.net 에서 공동 출처
#==============================================================================
# ■ 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

List of Articles
분류 제목 글쓴이 날짜 조회 수 추천 수
공지사항 일본어 스크립트를 번역하기 좋은 번역사이트 두곳입니다 ruby 2010.01.09 22086 0
공지사항 스크립트 게시판 관리자' ruby ' 입니다 ruby 2010.01.09 20726 0
공지사항 일본 스크립트/소스 공유 포럼 4 니오티 2010.01.05 22257 0
이동관련 주인공 또는 npc 그림자 18 file 루비 2007.08.06 3145 5
메뉴관련 RPG XP 테스트플레이 할때 '뉴게임' '콘티뉴' '슛다운' 바꾸기 [중복이면 죄송] 12 이정한 2007.03.07 4153 18
제한변경 알피지 XP 래밸 9999되개 만들기 17 조한철ㅋ 2006.01.18 3482 8
장르변경 TBS 배틀(SRPG) 11 file 아디안 2007.02.27 3482 4
세이브 렉없는 자동세이브 스크립트. 7 샤이닉 2007.02.20 2408 8
기타 더욱더 간편하게! 에메스엔의 귀차니즘 탈출! 4 샤이닉 2007.02.20 2357 2
제한변경 소지금 한계 없애기 7 니오티 2007.02.20 2502 2
전투관련 턴알 게이지바 변경 스크립트 (HP/SP) 3 file 니오티 2007.02.20 3984 2
전투관련 게이지 확인창 스크립트 (HP/SP/EXP) 4 file 니오티 2007.02.20 3540 5
온라인 온라인스크립트 1.7 28 file 아디안 2007.02.16 5489 27
메뉴관련 메뉴 반투명화 스크립트 2 windshy 2007.02.15 2315 4
온라인 RPG XP 온라인 스크립트 25 file 니오티 2007.02.15 6868 6
메뉴관련 링메뉴 스크립트 16 windshy 2007.02.03 2980 4
이동관련 동료 따라오게 만들기 (파랜드 택틱스 3 형태) 15 니오티 2007.02.01 2858 4
맵관련 인터페이스에 현재 맵명 표기하기 17 니오티 2007.02.01 2798 3
기타 몬스터 도감 6 니오티 2007.02.01 2871 3
메뉴관련 메인 메뉴, 기본아이콘으로 꾸미기. 4 니오티 2007.02.01 2301 3
제한변경 저장 공간 15 슬롯으로 늘리기 4 니오티 2007.02.01 1996 2
기타 돈맡기기 시스템 8 히카루 2007.01.31 3340 2
기타 한글입력기 16 file 히카루 2007.01.31 14281 1
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7

Copyright ⓒ Nioting All Rights Reserved. (since 1999)    개인정보
        

Fatal error: Cannot access property sessionController::$lifetime in /web/old/xe/modules/session/session.controller.php on line 45