XP 스크립트

#==============================================================================
# 걽 CUSTOM
#==============================================================================

module PLAN_SCREEN_XY
  VISIBLE    = true            # 궞궻긚긏깏긵긣귩럊뾭궥귡궔궵궎궔
                                # (true:궥귡, false:궢궶궋)
  WIN_X = 32                    # 긂귻깛긤긂궻 X 띆뷭
  WIN_Y = 32                    # 긂귻깛긤긂궻 Y 띆뷭
  FONT_SIZE  = 11              # 긲긅깛긣긖귽긛
  WIN_WIDTH  = 120            # 긂귻깛긤긂궻븴
  WIN_OPACITY = 128            # 긂귻깛긤긂궻벁뼻뱗
end


if PLAN_SCREEN_XY::VISIBLE

#==============================================================================
# 걾 Scene_Map
#============================================================================

class Scene_Map
  #--------------------------------------------------------------------------
  # 걶 긽귽깛룉뿚
  #--------------------------------------------------------------------------
  alias plan_screen_xy_main main
  def main
    # 긂귻깛긤긂귩띿맟
    @screen_xy_window = Window_Screen_XY.new
    # 뙰궸뽣궥
    plan_screen_xy_main
    # 긂귻깛긤긂귩됶뺳
    @screen_xy_window.dispose
  end
  #--------------------------------------------------------------------------
  # 걶 긲깒??뛛륷
  #--------------------------------------------------------------------------
  alias plan_screen_xy_update update
  def update
    @screen_xy_window.update
    # 뙰궸뽣궥
    plan_screen_xy_update
  end
end


#==============================================================================
# 걾 Window_Screen_XY
#==============================================================================

class Window_Screen_XY < Window_Base
  #--------------------------------------------------------------------------
  # 걶 긆긳긙긃긏긣룊딖돸
  #--------------------------------------------------------------------------
  def initialize
    one_line = ((PLAN_SCREEN_XY::FONT_SIZE * 100 / 22) * 32) / 100
    super(PLAN_SCREEN_XY::WIN_X, PLAN_SCREEN_XY::WIN_Y, PLAN_SCREEN_XY::WIN_WIDTH, 32+one_line*2)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.font.size = PLAN_SCREEN_XY::FONT_SIZE
    self.opacity = PLAN_SCREEN_XY::WIN_OPACITY
    @old_x = $game_player.x
    @old_y = $game_player.y
    refresh
  end
  #--------------------------------------------------------------------------
  # 걶 깏긲깒긞긘깄
  #--------------------------------------------------------------------------
  def refresh
    one_line = ((PLAN_SCREEN_XY::FONT_SIZE * 100 / 22) * 32) / 100
    self.contents.clear
    self.contents.draw_text(4, 0, self.contents.width-8, one_line, "X:", 0)
    self.contents.draw_text(4, 0, self.contents.width-8, one_line, $game_player.x.to_s, 2)
    self.contents.draw_text(4, one_line, self.contents.width-8, one_line, "Y:", 0)
    self.contents.draw_text(4, one_line, self.contents.width-8, one_line, $game_player.y.to_s, 2)
  end
  #--------------------------------------------------------------------------
  # 걶 긲깒??뛛륷
  #--------------------------------------------------------------------------
  def update
    if @old_x != $game_player.x or @old_y != $game_player.y
      refresh
      @old_x = $game_player.x
      @old_y = $game_player.y
    end
  end
end

end

Who's 백호

?

이상혁입니다.

http://elab.kr

Comment '2'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 7301
1021 메시지 Taylor's Simple Message System 2000 Alkaid 2020.07.05 315
1020 제작도구 [XP/VX/VXA] Doodad's Editor by newold Alkaid 2020.07.12 460
1019 이름입력 한글조합입력기(영어가능) file 조규진1 2019.11.10 585
1018 기타 [All RGSS] FileTest (Unicode) file Cheapmunk 2014.12.29 656
1017 전투 전투중에 장비들 교체하기 file 레이스89 2017.08.19 682
1016 기타 에어리어 설정 by RPG Advocate 백호 2009.02.22 735
1015 기타 Boat Script 백호 2009.02.21 749
1014 기타 Materia System file 백호 2009.02.21 767
1013 기타 Localization by ForeverZer0, KK20 습작 2013.04.26 767
1012 기타 killer님 요청하신 스크립트 두번째입니다. 나뚜루 2009.02.21 770
1011 스킬 SG_Escape Only Skills by sandgolem (SDK호환) 백호 2009.02.22 772
1010 기타 Letter by Letter Message Window by slipknot@rmxp.org (SDK호환) 1 file 백호 2009.02.22 773
1009 맵/타일 맵연결 스크립트 (데모첨부) file 게임애호가 2018.06.15 773
1008 기타 Real-Time Day Night 3 백호 2009.02.22 775
1007 기타 AMS-Advanced Message Script Edited by Dubleax 3 file 백호 2009.02.21 780
1006 스킬 Skill Requirements by SephirothSpawn (SDK호환) file 백호 2009.02.22 780
1005 기타 Sphere Grid System file 백호 2009.02.21 785
1004 기타 Activation_system file 백호 2009.02.22 786
1003 기타 Advanced Gold display by Dubealex 1 백호 2009.02.22 786
1002 전투 전투 관련 횟수 취득 스크립트 백호 2009.02.21 791
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 52 Next
/ 52