질문과 답변

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 21133
이벤트 작성 RMMV 키보드 입력 게임은 어떻게 만드나요? 1 file Lyc5 2019.06.20 156
RMXP 키보드의 W키로 그림을 출력하고 싶습니다. 1 Andromeda 2014.02.07 775
RMVXA 키보드의 방향키나 버튼으로 그림을 다른 그림으로 바꾸기 2 흰강아지 2014.05.03 608
툴선택 키우기 같은 게임은 어떤툴이 유리한가요?? 3 그런짓을안하지 2016.07.07 377
RMVXA 키입력 은호 2014.06.10 508
RMVXA 키입력에 관한 강좌를 못찾고 있습니다;; 2 file brainplay 2013.06.16 1142
이벤트 작성 RMMV 타 이벤트 이동 루트 설정 오류 1 2022.01.08 168
RMVXA 타겟 표시하는 법좀 알려주세요 (VXA) file 기폭 2015.05.25 1409
RMVX 타이머 0초시 전투 종료 2 Promise 2012.12.15 709
RMVX 타이머 0초일때 게임오버가되는법 혹시아시는분 계신가요?? 6 BJ멜로 2016.07.21 230
RMVX 타이머 데이터 삭제 2 파닥이 2014.02.05 820
RMVX 타이머 동시에 작동시키기 3 천운 2010.12.03 711
RMVX 타이머 및 게임 텍스트 출력에 관해 몇가지 질문드리겠습니다. 1 글그림 2011.01.02 1019
RMVX 타이머 사용시 화면에 시간 안보이게 하는 방법 3 무묘랑 2010.11.19 926
RMVXA 타이머 설정을 5초로 해놨는데 4초에서 멈추고 더 줄어들지 않습니다... 1 file 오니으리 2015.08.02 229
RMVXA 타이머 시간 늘리고픈데.. 1 카시어스 2013.11.29 903
RMVX 타이머 시간을 늘려주려고 하면 어떻게 해야하나요? 3 젯젯 2010.09.23 832
RMVX 타이머 오류? 질문 드립니다 ㅠ.ㅠ 6 후라이팬샷 2018.07.28 198
RMVXA 타이머 위치 바꾸는법 6 펭블♡ 2013.02.21 930
이벤트 작성 RMMV 타이머 이벤트 시 키가 안먹힘 2 file 매지션k 2019.02.09 96
Board Pagination Prev 1 ... 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 ... 518 Next
/ 518