질문과 답변

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
RMXP rpgxp에서 질문하나더 2 아이유 2011.01.01 545
RMVX 세이브.. 1 프라임헌터즈 2011.01.01 504
RMXP RPGXP하시는고수분들은이것좀봐주십시요 1 청풍쾌검 2011.01.01 583
RMXP 간단액알인데 단거리스킬 어떻게 쓰나요? 말벗 2011.01.01 512
RMXP xp채팅스크립트에대해올립니다..파일도주시면감사하구요 ㅋ 1 청풍쾌검 2011.01.01 697
RMXP 장비에 체력올리는 옵션 못넣나요? 1 말벗 2011.01.01 546
RMVX 음... 제외한파티원 제외하기전 상태로 다시 파티하고 싶은데 1 왕자 2011.01.01 497
RMVX RPG VX 액알 스크립트는 무엇이 좋을까요? 누군가 2011.01.01 884
RMVX 세이브 파일 삭제.... 2 라유 2011.01.01 1349
RMXP 사운드 바꾸기 2 캣츠아이 2011.01.01 484
RMXP Mr mo ABS 5.5 쓰는데.. 말벗 2011.01.01 575
기타 알만툴에서는 데이터베이스를 지원하지 않나요? 1 카리아인 2011.01.01 857
RMVX 액알 스크립트를 찾고있습니다 2 끼룩 2011.01.01 620
RMXP 버튼누르면 그림삭제 어떻게해요?? 2 가나다라마바사아자 2011.01.01 651
RMVX 질문이요 ㅠ 아방스.3 2011.01.01 401
RMXP mr mo's abs 5.5 인데요. 스킬에 관해 여러가지 질문해봅니다. 래식 2011.01.01 515
RMVX 사이드뷰에 대해 1 file 재규 2011.01.01 507
RMVX 스킬 커먼 이벤트 라유 2010.12.31 525
RMXP RPGXP...질문 2 아이유 2010.12.31 462
RMXP 이게임 아시는분 알려주세요;; 2 rpg좋아! 2010.12.31 518
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