조회 수 12652 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
원래 RPGXP의 드로우 텍스트는 세로가 중앙기준입니다
하지만 안드로이드에서는 중앙기준이 아니라 위쪽부터 출력하는식입니다
그래서 height값이 높은 텍스트에 대한 오출력이 발생합니다

밑의걸 원버전과 안드로이드 실행기로 각각 실행해보면 뭔소린지 이해갈겁니다


#==============================================================================
# ■ Window_Townname
#------------------------------------------------------------------------------
class Window_Townname < Window_Base  # Window_Townname은 Window_Base에게서 모든걸 물려받습니다...
  def initialize # Window_base에 있는 함수 initialize
    super(480, 380, 160, 100) # 슈퍼클레스의 함수에 대입
    self.contents = Bitmap.new(width - 32, height - 32) # 비트맵
  end
  def refresh
    self.opacity = 200
    #기존에 있던 그림 삭제
    self.contents.clear
    #마을 이름 표시
    self.contents.font.color = normal_color
    self.contents.draw_text(16, 0, 150, 32, "마을 이름")
    #힘 표시
    if $game_variables[9] == 1
      self.contents.font.color = crisis_color
      self.contents.draw_text(16, 0, 150, 96, "빛의 마을")
    elsif $game_variables[9] == 2
      self.contents.font.color = system_color
      self.contents.draw_text(6, 0, 150, 96, "바람의 마을")
    elsif $game_variables[9] == 3
      self.contents.font.color = green_color
      self.contents.draw_text(16, 0, 150, 96, "숲의 마을")
    elsif $game_variables[9] == 4
      self.contents.font.color = normal_color
      self.contents.draw_text(16, 0, 150, 96, "왕국 수도")
    elsif $game_variables[9] == 5
      self.contents.font.color = blue_color
      self.contents.draw_text(16, 0, 150, 96, "물의 마을")
    elsif $game_variables[9] == 6
      self.contents.font.color = knockout_color
      self.contents.draw_text(16, 0, 150, 96, "불의 마을")
    elsif $game_variables[9] == 7
      self.contents.font.color = purple_color
      self.contents.draw_text(6, 0, 150, 96, "어둠의 마을")
    end
  end
end

?
  • ?
    A.미스릴 2014.09.30 06:02
    그리고 Bitmap의 blt메소드가 png의 투명도를 제대로 반영하는지도 확인해주세요
  • ?
    HUR 2014.09.30 17:07
    이런 게시물은 버그/피드백 제보를 통해 제작자분 KERNYS님에게 직접 전달해 주세요.
    KERNYS님 요즘 네코포럼 잘 안오십니다
  • ?
    부초 2014.10.01 17:12
    수정해야할 사항이 산더미지만...

    오랫동안 패치나 소식이 들려오지 않는군요 ㅜㅜ

  1. 게임 제작 초보자입니다.

    Date2016.06.28 By강철보디 Views33081
    Read More
  2. unable to find vl gothic font 가 뭔가요??

    Date2015.12.12 By꿀사과일 Views15388
    Read More
  3. 네코 RPGXP 플레이어 버그제보입니다

    Date2014.09.30 ByA.미스릴 Views12652
    Read More
  4. rgss202e.dl을 찾지못하였습니다

    Date2013.09.29 By핼치 Views12626
    Read More
  5. 쯔꾸르 앨리스와 아르테미스 모바일 올려져 있나요??

    Date2016.09.04 By섹터7 Views10826
    Read More
  6. 다운이되지않어우

    Date2014.07.23 By신고러짱시러 Views9408
    Read More
  7. pc의 RPG XP 게임 글자깨짐현상 도움요청합니다.

    Date2014.01.25 By카쇼르 Views9244
    Read More
  8. 모바일로 안되는 야겜

    Date2016.04.08 Bykjh123 Views8137
    Read More
  9. 동전줍는 징징이게임 다운받을수있음?

    Date2014.05.20 By박구 Views7779
    Read More
  10. [RPGXP]장착칸 늘리기

    Date2005.06.12 Bys제이노s Views7390
    Read More
  11. exe로 실행되는 게임은 모바일로 무조건 안되는건가요?

    Date2014.12.22 By프메 Views7294
    Read More
  12. RPG XP 에서 실시간 전투 스크립트 알려주세요.

    Date2006.02.20 Bypower1226 Views7038
    Read More
  13. 쯔꾸르 VX Ace 게임 오류 Alert!

    Date2017.02.02 By가세공세 Views6932
    Read More
  14. robf게임실행오류

    Date2014.06.13 Bympz Views6580
    Read More
  15. MV로 제작된 게임 손번역이 하고싶습니다.

    Date2018.09.08 Byac건지 Views6498
    Read More
  16. rpgvx ace 모바일 런타임 설치

    Date2014.05.19 By임버 Views6370
    Read More
  17. 운영자님 궁금한게있는데.

    Date2013.09.23 By¿오톰¿ Views6161
    Read More
  18. 네코 RPG앱에서 실행되는 게임 폰트를 변경하는건 불가능한가요?

    Date2014.03.02 By카인라피스 Views5963
    Read More
  19. rpg2003게임을 실행하면 글자가 이상하게 나오네욤ㅠㅠ(그림첨부)

    Date2010.12.03 ByFoxduck Views5696
    Read More
  20. alert오류

    Date2015.12.01 By돌양파 Views5580
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 442 Next
/ 442






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)