질문과 답변

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 12456
RMVX 게임이 너무 늦게켜지네요; 3 초보제작가뉴센 2012.03.16 2250
RMVX 윈7에서 실행되지 않는 VX 2 file 슈베르트1123 2012.03.31 2250
RMVX 말걸때마다 랜덤으로 다른대화가 뜨도록 3 춰억헐릿 2012.05.18 2251
RMXP 맵배치 1 i스폰지밥 2012.02.16 2252
RMXP 대화창에서 2 막시뉴 2011.12.21 2253
RMVXA 캐릭터 칩셋을 입력했는데 2 비비드 2012.02.18 2253
RMVX 데이터 불러오기 실패 3 아담 2011.08.16 2254
RMVX 턴알에서 적캐릭터 HP게이지 표시 못하나요? 2 류한서 2011.11.08 2256
RMXP 우수게임에 데모버전이 올라갈수있습니까? 2 CJYG* 2012.02.06 2256
RMXP 통합칩 만들줄 아시는분.... 1 ★병맛★ 2012.02.22 2256
RMVXA 기본 캐릭터 얼굴 질문 2 비비드 2012.02.18 2257
RMXP rpgxp몬스터 1 whdudcks 2012.03.11 2260
RMVX 자동으로 세이브, 로드 되는 스크립트 급해요!! 4 트러리 2012.03.26 2260
RMVX 페이스칩 만들기 1 우파룸파 2012.03.26 2260
RMXP 이벤트 작성을하고 햇는데 자꾸 말이 반복되는걸어케방지하죠?ㅋㅋ, 2 oo러브oo 2012.02.02 2261
RMVXA 전투 파티의 대열보행문제 1 쿠쿠밥솥 2012.02.11 2263
RMVX 몬스터을 새로 추가할수가 있나요 ? 3 썬삼이 2012.03.31 2263
RMXP RTAB 스크립트 오류 6 file Gora 2012.04.13 2263
GM 게임메이커 8.1 질문 1 한한 2012.03.23 2264
RMXP 이런 캐릭터 같은거 더없나요. 2 file 시나토 2012.06.12 2265
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