질문과 답변

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 12451
기본툴 사용법 RMVXA 직접 만든 도트를 불러오려면 어떻게 해야 하나요? 1 solbora 2019.08.24 84
RMXP XP!!액터선택창 넘어가기 늄늉이 2018.06.26 84
RMVXA 타일이 깨집니다 ㅜㅜ 1 file 베네수엘라 2018.05.12 84
기타 사이트 이용 포럼에 리소스 관련 글인데... 4 무명시절 2019.01.26 84
이벤트 작성 RMMV 대화 도중 대화창을 숨기는 기능이 있을까요? 1 벨로님 2023.04.05 83
스크립트 작성 RMMV 아이템창 항목 제거 방법 요호 2023.01.08 83
스크립트 작성 RMMV confirm과 prompt의 ui? 디자인? 을 바꾸는 방법을 알고 싶어요 spsp 2021.12.20 83
턴제 전투 RMXP 명중률 회피 적용이 어떻게 해도 안되요. 라엔 2019.05.30 83
이벤트 작성 RMMV 타이머 이벤트 시 키가 안먹힘 2 file 매지션k 2019.02.09 83
RMVXA VXA전투시 화면 상단에뜨는 문자의 한글화에 대해 알고싶습니다. 1 file st게카 2018.11.12 83
RMVXA Scene1-Menu 스크립트가 날라갔습니다 ㅠㅠ 2 하루0117 2018.07.08 83
에러 해결 RMVXA 번역작업중 게임 특수문자가 깨져서 나옵니다. 1 file 므아앙 2020.12.11 83
RMMV 타일 리소스한계치를 늘리고싶습니다. 독재자헤르모드 2017.04.22 83
RMMV galv massage busts 질문 1 file 잠행인 2017.01.26 83
RMVXA 이벤트 실행 전투 실행 이안됌요 3 오오오오하군 2016.08.02 83
RMVX 이벤트 스위치 질문 드립니다 2 후라이팬샷 2017.02.14 83
RMMV 상호작용키를 누르면 이벤트가 빨리 진행되는 것을 해제하는 방법 질문 Generator 2016.12.03 83
기본툴 사용법 RMMV 텍스트 이벤트에 적의 이름을 띄우는 치환문자도 있나요? 5 PPPL 2020.04.13 83
이벤트 작성 RMMV 이미지 범위내 선택시 이벤트 발생 8 file 율무보리삼김 2021.09.05 83
기본툴 사용법 RMVXA 도망치기의 확률이 정확히 어떻게 되나요? 겜만들고싶다앙 2021.03.17 83
Board Pagination Prev 1 ... 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 ... 516 Next
/ 516