질문과 답변

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 12392
에러 해결 RMMV expParam의 정의되지 않은 속성을 읽을 수 없습니다. file 나나블랑 2021.05.26 79
기본툴 사용법 RMMV 윈도우용 배포 3 민초령 2021.05.24 236
스크립트 작성 RMMV 타이틀 메뉴 나가기 활성화 1 원혁 2021.05.23 147
이벤트 작성 RMMV npc에게 물건을 주고 이벤트 발생시키는 법 9 민초령 2021.05.23 144
기본툴 사용법 RMMV 캐릭터의 기본 움직임을 바꾸고 싶어요. 체리버섯 2021.05.09 85
플러그인 사용 RMMV 터치이벤트스크립트 어떻게쓰나요 2 file 춤추는광대 2021.05.06 189
기타 RMMV 전체화면에서 폰트가 뿌얘지는 현상 (테두리가 흐릿해지는 현상) 깡토 2021.04.26 63
이벤트 작성 RMMV 특정 아이템을 일정수량가지고 있을시 발생하는 이벤트를 만들 수 없을까요? 1 폭광 2021.04.21 54
스크립트 작성 RMMV 전투화면에서 액터이미지 띄우기 2 픽셀 2021.04.19 145
에러 해결 RMMV data 파일에있는.json파일이 깨지면 복구는 힘드나요? 폭광 2021.04.17 89
이벤트 작성 RMMV 타이머관련 질문입니다 1 짓기귀찮아 2021.04.14 64
액션 전투 RMMV 전투에서 데미지를 입었을 때에 TP획득 을 없애고 싶습니다. 2 게임제작초보자 2021.04.13 105
액션 전투 RMMV QABS 플러그인 잘아시는분 있으신가요? file 카르네스아리엔 2021.04.09 142
이벤트 작성 RMMV Png로 루프 애니메이션을 만드는데 텍스트가 걸림니다 1 hurakan 2021.04.07 85
턴제 전투 RMMV 캐릭터 스킬 하나로 적한테 데미지 주고 자기한테 버프 걸게 할수있을까요? 4 Kokodd 2021.04.06 95
플러그인 사용 RMMV MV 폰트 변경 방법 질문드립니다. 1 file 부리인간 2021.04.03 258
이벤트 작성 RMMV 텍스트에 창 위에 이름보이게 하는 플러그인이나 텍스트 명령어 있나요 1 짓기귀찮아 2021.04.03 175
플러그인 생성 RMMV mv용 시작할때 까만화면 시작하는 플러그인 있을까요 2 짓기귀찮아 2021.04.01 125
기타 RMMV 전투를 시작하면 파티는 혼자인데 2명이 추가되서 나와요. ㅜㅜ 1 자유와바람 2021.03.30 44
턴제 전투 RMMV SV전투중 스킬사용시 무기보이기 2 픽셀 2021.03.27 88
Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ... 82 Next
/ 82