질문과 답변

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 12391
스크립트 작성 RMMV 타이틀 메뉴 나가기 활성화 1 원혁 2021.05.23 147
기본툴 사용법 RMVXA 캐릭터 그래픽체인지 질문 3 file twrr 2019.07.12 147
플러그인 생성 RMMV 플러그인 명령어 1 응애 2019.05.23 147
기타 RMMV 공포게임 작성중인데 한가지 문제점이 있습니다. 2 file 건빵빠 2019.04.27 147
맵배치 RMMV 타일셋........ 1 Lamiassss3 2019.09.22 147
스크립트 추천 RMXP 이벤트가 주인공을 따라올 때 최소거리를 계산해서 자동으로 추적하는 스크립트 있나요? 2 섣달 2019.01.15 147
기타 사이트 이용 이벤트&대회 게시판에 왜 goo.gl 을 입력하면 안되나요? 5 kotone 2019.01.06 147
RMVXA rpgvxace 사용자인데.. 데이터베이스 들어가면 글씨크기가 작아요... 4 액알의대가가되자 2018.01.15 147
RMMV 몬스터 도감 도와주세요 ㅠㅠ 2 file 해킹당한해커 2017.12.31 147
RMMV 혹시나 해서 물어보는건데 1 해킹당한해커 2017.12.05 147
RMVXA RMVXA 로고 관련 질문 입니다. 2 천지설화 2017.10.11 147
RMMV 일반 공격을 마법 피해식으로 바꿀 수 있을까요? 2 DogeMadness 2017.07.10 147
RMMV Yanfly 메시지코어 플러그인에서 이름창 없애는법 질문 Generator 2016.08.05 147
RMVXA 최고 레벨 설정과 관련된 질문입니다. 1 Nejicross 2016.07.17 147
RMXP RPG XP 오브잭트 만들기 3 스타크킬러 2016.06.06 147
RMMV 게임배포가 되질 않습니다. 1 게임잘날아가는닝겐 2016.01.30 147
RMVXA move route(이동루트)의 스크립트말고 컨텐츠의 스크립트로 이동속도를 변경하고싶어요. 2015.10.18 147
RMVXA 불 형태의 칩을 휘날리는듯이 설정하고 싶은데 이동경로를 어떻게 설정해야하나요 2 file KIM곰 2015.08.03 147
RMVXA 이벤트 위치 오류 4 file SKT스피릿 2015.06.21 147
이벤트 작성 RMMV 키보드 입력 게임은 어떻게 만드나요? 1 file Lyc5 2019.06.20 147
Board Pagination Prev 1 ... 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 ... 516 Next
/ 516