질문과 답변

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 21156
기본툴 사용법 RMMV 캐릭터가 6픽셀 위로 뜨지 않게 하는 방법이 있나요? 2 우엉조림 2020.05.11 112
RMMV 오랜만에 해보려하는데 vx부터 그리기도구 기능이 퇴화했나요? 가르상 2017.06.27 112
RMVXA 스크립트상에서 변수를 호출하는 것도 각 줄마다 한계가 있나요? 1 file revolutia 2016.06.16 112
RMMV mv 의상 칩셋 리소스 구할만한 사이트 없나요? REX317 2016.06.08 112
RMVXA 전투에 관한 스크립트를 찾습니다... sakuragi 2016.02.18 112
에러 해결 RMMZ 커스텀 메뉴를 제작하는데, 특정 스위치를 켜면 커스텀 메뉴 호출을 일시적으로 막고 싶어요. (MenuCallCommon 사용중) 2 나끄 2023.12.07 112
RMMV 탈것 관련 질문 2 이깅 2018.03.03 112
기본툴 사용법 RMMV 맵 만들때 타일 질문 드립니다. 1 Graper 2022.06.23 112
기본툴 사용법 RMVXA 타일 B 첫번째 칸 연관성 2 겜만들고싶다앙 2021.08.22 112
플러그인 추천 RMMV 벽을 향해 부딪혔을 때나 경로에 벽이 있는 경우 효과음이 나오게 하고 싶어요 4 나끄 2023.11.28 111
플러그인 추천 RMMZ 솔라빔형 스킬을 구현할 수 있는 방법이 있을까요? 3 하라아아암 2023.09.27 111
이벤트 작성 RMVXA 텍스트 출력방식 변경하는 방법이 뭔가요? 1 먹사 2022.11.26 111
기타 RMVXA 키 입력을 바꾸고 싶습니다. 둣녀 2022.01.07 111
기타 RMMV 타일셋이 줄어들었어요ㅠㅠ 1 file Candle 2019.08.12 111
플러그인 사용 RMMV HP만 게이지로 화면에 나타나게 하고 싶습니다 5 소녀160 2019.05.04 111
이벤트 작성 RMMV 이벤트를 따라 화면이 따라다니게 하는 방법 2 훈레기 2019.03.01 111
툴선택 Rpg makes vx ace lite 몬스터 기능 하루0117 2018.06.03 111
스크립트 사용 RMVXA 최대TP 늘리는 법 (100>200) 2 슈필러 2019.03.21 111
RMVX 스킬 사용 조건 스크립트를 사용하고 싶은데요~~ 액알의대가가되자 2016.02.06 111
RMVXA RMVXA 초보자 강좌 글로된 거 없나요? Anex 2016.01.23 111
Board Pagination Prev 1 ... 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 ... 518 Next
/ 518