질문과 답변

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 12441
RMVX RPG Tankentai SBS 2.8 Translation 1.9사이드뷰에 관한 질문 3 shgelghwlhgowhrghwh472 2011.01.20 807
RMXP 메세지창 크기 조절 1 ㅡㅂㅡ 2011.01.20 923
기타 psp 잔다르크 처럼 턴형식 게임은 뭘로 만드나요? 3 진짜배기 2011.01.20 1950
RMVX 맵칩 확장하는법... 1 빈수레 2011.01.21 724
RMXP 버튼 입력처리에서 z키 눌러도 반응이 없네요. 2 대두컷 2011.01.21 898
RMXP 전투 질문입니다. 1 나다니엘 renko 2011.01.21 592
RMVX 전투 인원수 1 블랙키 2011.01.21 956
RMXP 타일셋이 이상ㅠㅠ 1 나는나다 2011.01.21 1029
기타 rpg2000오류 1 은성 2011.01.21 3125
RMVX 글자 크기 조절하는법 없나요? 2 상생 2011.01.21 1039
RMVX 이거 해결 방법좀 알려주세요 ㅠ 1 www 2011.01.21 655
RMVX 스킬 컷인 ;;;;; 3 file 텐가와 2011.01.21 651
RMVX 밤낮스크립트 적용했을때 잠잘수 있게 하기 3 캣츠아이 2011.01.21 820
RMXP XP 맵 설정 1 file 하누마 2011.01.21 815
RMXP 흐아아.. 맵칩 관련 질문 입니다. 4 미니쿠키 2011.01.22 1107
RMXP 처음할떄 검게하는법 2 오니다운중''' 2011.01.22 834
RMXP 말주머니 1 오니다운중''' 2011.01.22 561
RMVX 초기 파티원 증가 시키기 4 블랙키 2011.01.22 792
RMXP 저기 변수에 대해서요.. 6 저글링님 2011.01.22 509
RMXP 다시 한번 맵칩에 관한 질문 입니다. 2 미니쿠키 2011.01.22 584
Board Pagination Prev 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 516 Next
/ 516