조회 수 2393 추천 수 3 댓글 6
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

스크립트의 맨 아래 "Main"에 아래 스크립트를 "덮어씌워"
주시면 됩니다. 예제 첨부되어 있으니, 초보 분들은 보시고 하셔도 됨 ㅎㅎ

 

#==============================================================================
# ■ Main
#------------------------------------------------------------------------------
#  각 클래스의 정의가 끝난 후, 여기로부터 실제의 처리가 시작됩니다.
#==============================================================================

begin
  # 트란지션 준비
  Graphics.freeze
  # 씬 오브젝트 (타이틀 화면)를 작성
                # 타이틀 로고 표시 처리
  unless $DEBUG # 디버그(테스트 플레이)가 아닌 경우만 표시
    # 스프라이트 작성
    @sprite = Sprite.new
    # 타이틀 로고 읽기(ex."logo.jpg")
    @sprite.bitmap = RPG::Cache.title("logo.jpg")  # 타이틀 로고 출력
    # 표시 위치를 화면 중앙으로 설정
    @sprite.x = (640 - @sprite.bitmap.width) / 2
    @sprite.y = (480 - @sprite.bitmap.height) / 2
    # 로고 사운드 출력
    Audio.se_play("Audio/SE/Start.wav")
    # 불투명도 MAX(완전 표시)
    @sprite.opacity = 255
    # 트란지션 실행
    Graphics.transition(40)  # FPS를 만지작거려는 없는 경우, 이것으로 2초용명이 됩니다
    # 2초간 그대로 표시한 후, 2초에 페이드아웃
    for i in 0..80
      @sprite.opacity =240 - (i - 40) * 6 if i >= 40
      Graphics.update
    end
    # 스프라이트를 해방
    @sprite.dispose
    # 트란지션 준비
    Graphics.freeze
  end
  $scene = Scene_Title.new
  # $scene 가 유효한 한계 main 메소드를 호출한다
  while $scene != nil
    $scene.main
  end
  # 페이드아웃
  Graphics.transition(20)
rescue Errno::ENOENT
  # 예외 Errno::ENOENT 를 보충
  # 파일을 오픈할 수 없었던 경우, 메세지를 표시해 종료한다
  filename = $!.message.sub("No such file or directory - ", "")
  print("파일 #{filename} 가 발견되지 않습니다.")
end

?
  • ?
    500wonsoft 2013.12.15 02:35
    우와 내가 찾던 스크립트다.
    감사드립니다.
  • ?
    데노제 2013.12.15 04:09
    찾으셨다니 다행입니다 'ㅅ'
  • ?
    하크 2014.01.29 01:57
    이거 기능이 뭐예요??
  • profile
    함라기 2014.02.21 07:14
    감사합니다!
  • ?
    neopop 2014.03.18 04:13
    덕분에 게임에 로고 띄웁니다.
    감사합니다.
  • ?
    손훈 2014.06.06 00:10
    스크립트 잘 사용하겠 습니다.
    감사합니다

  1. 1인용메뉴

    Date2010.07.18 CategoryRPGVX 스크립트 ByA.M.S Views2562 Votes0
    Read More
  2. 스텟포인트투자

    Date2010.10.24 CategoryRPGXP 스크립트 ByA.M.S Views2550 Votes2
    Read More
  3. 새로운 턴형식(사이드뷰비슷한...)

    Date2010.10.14 CategoryRPGXP 스크립트 ByA.M.S Views2542 Votes1
    Read More
  4. 액터선택지이벤트제작 간편화 스크립트

    Date2009.04.30 CategoryRPGVX 스크립트 ByEvangelista Views2539 Votes3
    Read More
  5. 이벤트커맨드 스크립트 조건분기법 모음

    Date2009.11.18 CategoryRPGVX 스크립트 ByEvangelista Views2535 Votes2
    Read More
  6. 이벤트커맨드 스크립트 사용법 모음

    Date2009.07.21 CategoryRPGVX 스크립트 ByEvangelista Views2531 Votes2
    Read More
  7. 최초 시작화면에 제작자 정보를 띄워보자.

    Date2008.04.04 CategoryRPGXP 스크립트 By창조도시 Views2530 Votes5
    Read More
  8. 퀘스트스크립트

    Date2010.10.24 CategoryRPGXP 스크립트 ByA.M.S Views2511 Votes1
    Read More
  9. 그레고리우스력 원리.

    Date2011.06.22 CategoryRPGXP 스크립트 By협객 Views2506 Votes0
    Read More
  10. 아이템획득 표시

    Date2010.10.14 CategoryRPGXP 스크립트 ByA.M.S Views2494 Votes0
    Read More
  11. 새로운 턴형식(사이드뷰비슷한...)

    Date2010.10.14 CategoryRPGXP 스크립트 ByA.M.S Views2471 Votes1
    Read More
  12. 에너미 아이템 변화 스크립트

    Date2009.05.29 CategoryRPGVX 스크립트 ByEvangelista Views2460 Votes1
    Read More
  13. 반칸이동

    Date2010.07.18 CategoryRPGXP 스크립트 ByA.M.S Views2446 Votes0
    Read More
  14. Window_Message_Plus v3.2

    Date2009.11.29 CategoryRPGVX 스크립트 By에존 Views2446 Votes1
    Read More
  15. 한글 이름 입력창 2.1v

    Date2016.02.12 CategoryRPGMV 플러그인 By맛난호빵 Views2419 Votes0
    Read More
  16. 타이틀 로고 띄우기 + 로고 SE 가능(예제있음)

    Date2013.12.13 CategoryRPGXP 스크립트 By데노제 Views2393 Votes3
    Read More
  17. [VX] 메시지 표시를 한번에 표시로 전환하기

    Date2008.11.28 CategoryRPGVX 스크립트 ByEvangelista Views2386 Votes1
    Read More
  18. [plugin] YEP.58 – Item Synthesis (YEP엔진 아이템 합성 시스템)

    Date2016.01.21 CategoryRPGMV 플러그인 Byplam Views2379 Votes0
    Read More
  19. 부드러운화면이동

    Date2010.10.24 CategoryRPGXP 스크립트 ByA.M.S Views2375 Votes0
    Read More
  20. 화면에 이미지를 표시하는 스크립트(C#)

    Date2016.02.04 Category유니티 스크립트 Byzerosium Views2374 Votes0
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 15 Next
/ 15






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

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