질문과 답변

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 12454
게임 배포 RMMV 배포용 패키지 생성 실패 file Bakana 2021.08.31 148
RMMV 세이브 삭제하는 플러그인 없나요? 2 해킹당한해커 2018.06.30 149
RMMV 스킬을 쓸 때 커먼이벤트 먼저 나오고 그다음 스킬이 나오게 할 수 없을까요? 반다크홈 2015.10.25 149
RMMV 이벤트 일시제거 말고 그냥 제거는 못하나요? 6 르이메르 2016.10.25 149
기타 RMMV 공포게임 작성중인데 한가지 문제점이 있습니다. 2 file 건빵빠 2019.04.27 149
기본툴 사용법 RMMV 알만툴 내에서 화면 색감을 보정하는 방법이 있을까요? 4 file 조각0 2023.05.09 149
RMMV 크리티컬 배율을 유동적으로 바꾸고 싶습니다 1 투캉 2018.10.09 150
턴제 전투 RMMV 스킬 사용시 바로 한번 더 행동하는 방법? 4 몽롱하다 2019.04.21 150
RMMV MV 타일칩을 좀더 크게 만들수는 없나요? file Luckypup1 2016.04.04 150
스크립트 작성 RMMV 전투화면에서 액터이미지 띄우기 2 픽셀 2021.04.19 150
RMMV MV에서 루비 문자 못쓰나요? 1 Csword 2016.10.23 150
RMMV 내 컴에 DLC 이거 있던데 이거 사용해도 되나요? 3 file 해킹당한해커 2018.09.14 150
이벤트 작성 RMMV 플레이어 주위만 밝게 만들 때 문제점 3 file 소녀160 2019.05.20 150
RMMV 커먼이벤트 관련 질문드립니다. 1 file 엔라스 2018.05.13 151
RMMV 캐릭터를 만들어서 넣었는데 적용이 안되네요ㅠ 3 file 푸른랩소디 2018.07.21 151
RMMV 거의 수학 계산적인 부분으로 특정 량의 방어 무시 식은 어떻게 되나요? 7 RoyalNavy 2018.07.04 151
이벤트 작성 RMMV 무비를 반복재생 하고싶습니다 2 hurakan 2020.08.09 151
RMMV 매뉴화면에 hp, mp, 레벨 삭제 어떻게 하나요?ㅠ file 믹서기 2021.06.28 151
RMMV MV에서 이벤트컷을 보여주고싶은데요 2 르이메르 2016.11.18 151
RMMV 프로그램 내의 텍스트와 테스트 플레이시의 화면이 깨집니다. 1 file 고슴도 2016.03.16 151
Board Pagination Prev 1 ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ... 82 Next
/ 82