질문과 답변

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 12447
RMVXA RMVXA 로고 관련 질문 입니다. 2 천지설화 2017.10.11 147
RMMV 몬스터 도감 도와주세요 ㅠㅠ 2 file 해킹당한해커 2017.12.31 147
RMVXA rpgvxace 사용자인데.. 데이터베이스 들어가면 글씨크기가 작아요... 4 액알의대가가되자 2018.01.15 147
기타 사이트 이용 이벤트&대회 게시판에 왜 goo.gl 을 입력하면 안되나요? 5 kotone 2019.01.06 147
스크립트 추천 RMXP 이벤트가 주인공을 따라올 때 최소거리를 계산해서 자동으로 추적하는 스크립트 있나요? 2 섣달 2019.01.15 147
맵배치 RMMV 타일셋........ 1 Lamiassss3 2019.09.22 147
기타 RMMV 공포게임 작성중인데 한가지 문제점이 있습니다. 2 file 건빵빠 2019.04.27 147
기본툴 사용법 RMVXA 캐릭터 그래픽체인지 질문 3 file twrr 2019.07.12 147
스크립트 작성 RMMV 타이틀 메뉴 나가기 활성화 1 원혁 2021.05.23 147
게임 배포 RMMV 배포용 패키지 생성 실패 file Bakana 2021.08.31 147
RMXP 알만툴xp RpgmakerXP 대화창 질문 file Paragas 2018.03.23 148
RMVXA 몬스터가 주인공과 접촉시 몬스터가 총 움직인 거리 구하기! 3 file 니꺼해 2017.06.11 148
액션 전투 RMMV 이거 왜 두번 데미지 들어가는걸까요? 2 file 건빵빠 2020.03.25 148
스크립트 사용 RMVXA 이 스크립트 어떻게 사용하는 건가요? 2 둣녀 2022.01.04 148
기본툴 사용법 RMVXA 전투화면 체력바 디자인?? 바꾸는 법을 모르겠어요ㅠㅠ file 미맛 2021.09.27 148
RMVXA 이벤트위에 가만히 서있어도 이벤트가 동작하는법 1 가시밭 2015.06.10 148
RMVXA end가 몇개 필요하죠? 5 게임잘날아가는닝겐 2015.09.20 148
RMXP 게임오류 2 file A방스방스 2016.03.19 148
RMVXA 8방향 모션 설정하고 싶습니다. 1 raco 2016.06.24 148
RMVX 도시맵 블록 4 키작은꼬마 2017.02.21 148
Board Pagination Prev 1 ... 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ... 516 Next
/ 516