질문과 답변

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
RMXP 질문이염.. 1 hero 2010.12.30 513
RMXP 맵칩 오류 떄문에요....... 꼭 부탁드립니다. 1 NightWolf 2010.12.30 451
RMVX 초보자 3 스트로우 2010.12.30 615
RMXP 문장의 입력 속도를 줄이고 싶은데.. NightWolf 2010.12.30 525
RMVX 몬스터 스트로우 2010.12.30 485
RMXP 간단한건데 저만 모르나여? 6 군고구마군 2010.12.30 707
RMXP 고수님들은내용좀봐줘요 ㅠㅠ 1 피카츄 2010.12.30 527
RMVX TRPG 형식 제작 순례자 2010.12.30 564
RMVX VX SRPG 한글 스크립트 적용을 했는데 'reset_selfswitchn'가 오류가 났대요 1 포페 2010.12.30 625
GM 게임 컨트롤질문입니다 무적메가 2010.12.30 1055
RMXP 자기한테 버프걸기 2 대표인 2010.12.30 558
RMVX 미니맵스크립트 곰테니 2010.12.30 804
RMVX 사이드 뷰에 대해 2 알3 2010.12.31 473
RMXP 제일 처음 시작했을때 스위치 켜는방법? 1 가나다라마바사아자 2010.12.31 604
RMVX 메시지창을 xp처럼 어느정도 화면에 여유를 주고 싶은데요 1 톰소여동생 2010.12.31 571
RMVX 걸어가다가 랜덤으로 대화창이 등장하게 하려면 어떻게해야하나요??? 1 포페 2010.12.31 604
RMXP 문 열고 들어오기? 2 비냉 2010.12.31 514
RMXP 이벤트를 영구 삭제하고싶어요 ,,, 2 가나다라마바사아자 2010.12.31 1052
RMXP 이게임 아시는분 알려주세요;; 2 rpg좋아! 2010.12.31 518
RMXP RPGXP...질문 2 아이유 2010.12.31 462
Board Pagination Prev 1 ... 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ... 516 Next
/ 516