질문과 답변

Extra Form
종류 스크립트 작성

 

 

//-----------------------------------------------------------------------------
// Window_TitleCommand
//
// The window for selecting New Game/Continue on the title screen.

function Window_TitleCommand() {
    this.initialize.apply(this, arguments);
}

Window_TitleCommand.prototype = Object.create(Window_Command.prototype);
Window_TitleCommand.prototype.constructor = Window_TitleCommand;

Window_TitleCommand.prototype.initialize = function() {
    Window_Command.prototype.initialize.call(this, 0, 0);
    this.updatePlacement();
    this.openness = 0;
    this.selectLast();
};

Window_TitleCommand._lastCommandSymbol = null;

Window_TitleCommand.initCommandPosition = function() {
    this._lastCommandSymbol = null;
};

Window_TitleCommand.prototype.windowWidth = function() {
    return 240;
};

Window_TitleCommand.prototype.updatePlacement = function() {
    this.x = (Graphics.boxWidth - this.width) / 2;
    this.y = Graphics.boxHeight - this.height - 96;
};

Window_TitleCommand.prototype.makeCommandList = function() {
    this.addCommand(TextManager.newGame,   'newGame');
    this.addCommand(TextManager.continue_, 'continue', this.isContinueEnabled());
    this.addCommand(TextManager.options,   'options');
};

Window_TitleCommand.prototype.isContinueEnabled = function() {
    return DataManager.isAnySavefileExists();
};

Window_TitleCommand.prototype.processOk = function() {
    Window_TitleCommand._lastCommandSymbol = this.currentSymbol();
    Window_Command.prototype.processOk.call(this);
};

Window_TitleCommand.prototype.selectLast = function() {
    if (Window_TitleCommand._lastCommandSymbol) {
        this.selectSymbol(Window_TitleCommand._lastCommandSymbol);
    } else if (this.isContinueEnabled()) {
        this.selectSymbol('continue');
    }
};
 

 

 

타이틀 메뉴의 스크립트입니다

'옵션'을 지우고 게임 '나가기'를 활성화하고싶은데 스크립트를 어떻게 작성해야 하나요

빨간 부분 건드는거 같은데 잘 모르겠어요

 

 

 

■ 질문전 필독!
  • 질문할 내용이 이 게시판이나 강좌에 이미 있는지 확인합니다.
  • 하나의 게시물에는 하나의 질문만 합니다.
  • 제목은 질문의 핵심 내용으로 작성합니다.
  • 질문 내용은 답변자가 쉽게 이해할 수 있도록 최대한 상세하게 작성합니다.
  • 스크립트의 전문이 필요할 경우 txt 파일 등으로 첨부해 주시기 바랍니다.
  • 답변받은 게시물은 삭제하지 않습니다.
  • 답변이 완료된 경우 해당 답변해주신 분들께 감사의 댓글을 달아줍니다.
    • 처음 오신 분들은 공지 게시물을 반드시 읽어주세요!

※ 미준수시 사전경고 없이 게시물을 삭제합니다.

Comment '1'
  • ?
    무명시절 2021.05.24 13:50
    옵션을 굳이 지워야겠다면 안쓰셔도 돼는데 일단 이거 한번 보실래요?
    https://avangs.info/plugin_mv/1529563?_filter=search&search_target=title_content&search_keyword=%EC%A2%85%EB%A3%8C

List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12449
RMVX 타이틀 메뉴의 위치를 변경하고싶어요 1 file 곰개 2014.10.11 678
플러그인 사용 RMMV 타이틀 메뉴의 모습을 바꾸고 싶습니다 7 file 소녀160 2019.05.04 927
RMVXA 타이틀 메뉴의 간격과 투명도(타이틀만) 1 file 고로야기 2015.02.21 373
플러그인 추천 RMMV 타이틀 메뉴에 이미지 모음 앨범 만드는 방법 3 훈레기 2019.01.17 303
기타 RMMV 타이틀 메뉴를 추가하고싶습니다. 2 Jmyu 2019.04.01 194
RMVXA 타이틀 메뉴들의 텍스트를 가운데로 정렬하고 싶어요 1 mono1109 2014.06.20 1442
RMXP 타이틀 메뉴 추가를 어떻게 하나요? 1 작삼 2014.10.26 951
RMVX 타이틀 메뉴 추가 방법 & 타이틀 메뉴 선택 시 팝업 뜨게하는 방법 1 mihael0539 2012.01.18 2882
RMVXA 타이틀 메뉴 추가 2 u-ni 2016.03.13 330
RMVX 타이틀 메뉴 순서 바꾸는 방법 있나요? 1 상생 2012.01.08 2526
RMVX 타이틀 메뉴 사각 상자 없애기 2 file 비첼 2013.12.23 1190
RMXP 타이틀 메뉴 변경 질문 1 알피지가좋아요 2013.08.16 1071
RMVX 타이틀 메뉴 바꾸기.. 여전히 안되네요 ㅠ 2 펜슬 2011.02.10 890
RMVXA 타이틀 메뉴 늘리기 1 파닥이 2013.05.08 1144
스크립트 작성 RMMV 타이틀 메뉴 나가기 활성화 1 원혁 2021.05.23 147
RMVX 타이틀 메뉴 글꼴이나 글씨색은 어떻게바꾸죠? chol4723 2014.08.02 1215
게임 번역 RMMV 타이틀 메뉴 공백 제발 해결좀ㅠ file 나메크성인 2022.12.13 144
RMVXA 타이틀 만들려고 하는데 2 Chomsky 2014.02.24 732
RMVXA 타이틀 new game, load, exit 디자인 바꾸는 방법 HABEOLMI1234 2017.10.15 184
RMVXA 타이틀 1 file 람초와아이들 2017.01.04 173
Board Pagination Prev 1 ... 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 ... 516 Next
/ 516