질문과 답변

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 21133
RMVX 알만툴 스크립트를 초보자가 만드려고 할때 3 소금김밥 2011.09.03 2316
RMVX vampyr SBABS-Requiem ABS 9버전 오류.. 다시올립니다. 3 이런게상세 2011.10.12 2315
RMVX rvdata2파일 질문입니다. 4 fhakd 2013.05.11 2310
RMVX 그림(화면)의 좌표, 캐릭터(이벤트)의 좌표 에관한. 8 쉰라면블랙 2012.02.20 2307
RMVX 스타팅 오프닝 어떻게 만들어요? J.I.S 2012.03.29 2304
RMVXA 게임중 특정한 상황에서 rgss3 player 오류 file vivid 2015.11.01 2302
RMVX 주인공이 적에게 발각되게 하는 법 5 푸딩군 2012.02.04 2298
RMVX SBS 3.3b Demo (IAB v1.0)을 쓰고있는데 몬스터가 적용되지 않아요 1 file 짚신 2012.05.19 2297
GM 게임메이커 8.1 질문 1 한한 2012.03.23 2296
RMXP 광땡온라인 오류 1 file Always 2012.03.01 2295
RMVX RPGVX 조건분기 질문 1 슬 라임 2012.03.30 2294
RMVX 그.... 게이지를 차서 턴방식 게임을 만들려고하는데;;; 2 난몰라 2011.12.22 2293
RMVX 적 캐릭터 구하는법 1 file 키리엘 2012.03.06 2291
RMXP rpg xp 공격할때모션 1 조석을조준을조준 2012.10.08 2290
RMVX 데이터베이스 밸런스 조절법좀요ㅠㅠㅠ 3 초보제작가뉴센 2011.10.30 2290
RMVX 도트 프로그램 1 SM소야 2011.08.29 2289
RMXP kgc메뉴확장 스크립트 에러납니다 3 game 光 ㅋㅋ 2011.10.30 2285
RMXP rpgxp Blizz-ABS 2.8 멈춤현상 질문. 아방스마니아 2012.01.18 2283
RMVX 소지금이 OO이상일때 진행되는 이벤트를 만들려면 2 춰억헐릿 2012.04.20 2283
RMVXA 레벨,스텟,아이템,돈 제한 조정 스크립트 9 file 아이어리이 2013.09.10 2281
Board Pagination Prev 1 ... 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ... 518 Next
/ 518