XP 스크립트

class Window_MP < Window_Base
  def initialize
    super(0, 0, 180, 55) # <- location, size
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.font = Font.new("궁서체", 16) # <- font, size
    self.opacity = 0
    self.back_opacity = 0
  end
  def refresh
    self.contents.clear
    self.contents.draw_text(0, 0, 170, 30, @show_text)
  end
  def actor
    $game_party.actors[0] # <- 파티 0번째
  end
  def update
    super
    text = sprintf("EXP: %4d / %4d", actor.sp.to_s, actor.maxsp.to_s)
    if @show_text != text
      @show_text = text
      refresh
    end
  end
end

class Scene_Map
  alias update_window_mp update
  def update
    update_window_mp
    @window_mp = Window_MP.new unless @window_mp
    @window_mp.update
    unless $scene.is_a?(Scene_Map)
      @window_mp.dispose
      @window_mp = nil
    end
  end
end

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
641 메뉴 메뉴화면 변경 스크립트 1 file 백호 2009.02.21 2769
640 파티 메뉴커맨드로 파티 멤버들 순서 바꾸기 by Yargovish 1 백호 2009.02.22 1620
639 메뉴 메뉴에서 커맨더실행하기 5 WMN 2008.04.06 1682
638 메뉴 메뉴에서 실제시간 보기 2 백호 2009.02.21 1124
637 메뉴 메뉴에 얼굴 그래픽 표시 4 file 백호 2009.02.21 3112
636 메뉴 메뉴에 그림넣기 4 file 백호 2009.02.22 4411
635 변수/스위치 메뉴변수표시 스크립트 1 file 백호 2009.02.22 1644
634 메뉴 메뉴바꾸기 4 file ureazy 2012.07.23 2844
633 메뉴 메뉴를 바꾸는 스크립트 14 №1 2012.08.04 4206
632 메뉴 메뉴등에서 움직이는 엑터 9 file 백호 2009.02.22 3161
631 메뉴 메뉴....있길래올립니다. 9 벨☆ 2010.01.23 2001
630 메뉴 메뉴 화면 변경 스크립트 file 백호 2009.02.21 2236
629 메뉴 메뉴 화면 개조 스크립트 1 백호 2009.02.21 1668
628 메뉴 메뉴 변경 스크립트 2 file 백호 2009.02.21 2359
627 메뉴 메뉴 단축키 스크립트 14 백호 2009.02.22 2958
626 기타 멋진...제작자 정보를 그림으로 1 백호 2009.02.22 1233
625 이동 및 탈것 멈췄을때 행동. 17 file Bera 2010.10.17 3408
624 온라인 멀티넷플레이 99Q Beta 3 27 백호 2009.02.22 3107
623 온라인 멀티넷스크립트 => 채팅보완 스크립트 8 file 백호 2009.02.22 2931
622 저장 멀티넷스크립트 -> 아이피 세이브,로드 스크립트 9 file 백호 2009.02.22 2204
Board Pagination Prev 1 ... 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ... 52 Next
/ 52