질문과 답변

Extra Form

전투에서 저 게이지바에 있는 숫자들을 지우고싶습니다.

게이지바는 그대로 남겨두고 숫자만 지우고싶은데 어떻게하나요?

전부는 아니더라도 hp는 반드시 지우고싶습니다.

Who's 쇼몬아레하

?

[이름의 어원:End+Alice]

게임을 만들려면 그림을 그려야하는데 발퀄그림 보기싫은건 핑계고

어서 겜을 만들어야하는데 뭘하는거냐 난 ㅠ

Comment '1'
  • profile
    습작 2012.08.18 14:11

    0.

     

      문의하신 내용을 만족하는 코드를 알려드립니다. HP, MP, TP의 용어의 출력 여부에 따라서 두가지 경우를 알려드리오니 원하는 것으로 선택하여 새로운 스크립트 섹션에 추가하시면 됩니다.


      용어와 숫자 모두 지우는 경우


    class Window_BattleStatus < Window_Selectable

      def draw_actor_hp(actor, x, y, width = 124)

        draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2)

      end

      def draw_actor_mp(actor, x, y, width = 124)

        draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)

      end

      def draw_actor_tp(actor, x, y, width = 124)

        draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2)

      end

    end


      용어는 남기고 숫자만 지우는 경우

    class Window_BattleStatus < Window_Selectable
      def draw_actor_hp(actor, x, y, width = 124)
        draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2)
        change_color(system_color)
        draw_text(x, y, 30, line_height, Vocab::hp_a)
      end
      def draw_actor_mp(actor, x, y, width = 124)
        draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
        change_color(system_color)
        draw_text(x, y, 30, line_height, Vocab::mp_a)
      end
      def draw_actor_tp(actor, x, y, width = 124)
        draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2)
        change_color(system_color)
        draw_text(x, y, 30, line_height, Vocab::tp_a)
      end
    end

      그럼 좋은 게임 제작 활동 하세요.^^



List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12442
Board Pagination Prev 1 ... 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 Next
/ 83