질문과 답변

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 21128
RMXP 자동 가로등 1 솔로몬 2011.12.03 2226
RMXP 조건분기 사용시..... 1 까멸 2011.12.13 2230
사이트 이용 온라인 스크립트 어디서 다운 받나요? 4 snci 2011.08.26 2232
RMVX 안녕하세요 변수관련 질문이 있습니다. 1 김기말 2012.05.15 2232
RMVX 캐릭이 3 초보닼ㅋㅋㅋㅋㅋㅋㅋㅋ 2012.03.30 2233
RMVXA [rpg vx ace] 선택지 글씨 크기 늘리기 질문 4 조각조각 2014.01.15 2234
기타 기본 글씨색(system칩)에서의 투명색은 몇번인가요? 4 file 반내림 2013.10.22 2236
RMVX 이벤트가 계속 반복됩니다. 3 블루스 2012.02.18 2238
RMVX 전투후 해당 적 이벤트가 사라지게 하는법좀 알려주세요 3 file 김만들기 2011.11.02 2241
RMXP RPG XP에서 avi파일 재생할수 있는 방법좀여 ㅜ 2 ☆star 2012.09.17 2241
기타 tps게임에 도전하려는데요 스네이크 2011.07.31 2245
RMVXA 선택지 표시 위치 변경 5 file lallal 2013.01.06 2245
RMXP GTBS 에서 스킬쓸때 질문이요 1 황제님 2010.09.11 2247
기타 기타 울프툴 게임실행오류 해결방법 질문 file 누이미코(Nuimiko) 2019.10.29 2250
RMVXA 테스트 플레이 도중 렉이 걸립니다. 3 난현이라는 2012.03.17 2251
RMXP 액터캐릭터의 통제권 4 Lighna 2012.02.07 2252
RMXP rpgxp공격력 5 gusrl123 2012.02.20 2254
RMVX window7 연결프로그램 2 푸른초원 2011.10.25 2256
RMXP 대화창에서 2 막시뉴 2011.12.21 2256
RMVX 윈7에서 실행되지 않는 VX 2 file 슈베르트1123 2012.03.31 2257
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