질문과 답변

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 12395
액션 전투 RMVXA 캐릭터 주변에 소환하는 거 질문합니다 1 twrr 2020.02.11 95
기본툴 사용법 RMMV 공격과 방어키 삭제 2 Timeout 2020.03.28 95
스크립트 추천 RMVXA 엑터 움직일때 자연스럽게 움직이게 하고싶어요 유리컵 2020.03.30 95
스크립트 작성 RMMV 세이브를 누르면 특정 스위치를 끈 상태로 저장하는법 5 알만툴탐구 2023.03.20 95
기타 기타 RPG Paper Maker로 스위치 설정하는 법 2 인큐버스 2023.08.11 95
RMVXA 전투 중 몬스터 전멸 후 전투를 종료하지 않고 이벤트 발생시키는 방법을 알려주세요. 1 HexTech 2018.05.26 96
RMVXA 장비 장착시마다 발동되는 이벤트?(해결) 1 버너코코넛 2018.12.11 96
RMXP 디버그 볼때 질문 갓탑현 2018.05.20 96
RMVXA 전투화면 색조를 어떻게 변경하나요? file 천둥번들 2015.12.14 96
RMVXA 처음 맵 부분 4 file brad210 2016.06.01 96
RMMV 특정 상태이상에 걸렸을때 스위치를on하고 1 잠행인 2016.08.05 96
RMMV 모바일 포팅할때 오른쪽 위에 메뉴바를 띄우는 기능이 있었던거같은데 잠행인 2016.08.08 96
기타 게임을..... 1 게임신 2016.08.10 96
RMMV 갑자기 실행이 안 됩니다. 그레이딩고 2016.10.01 96
RMMV 메세지 관련 질문(해결) 1 감짱 2018.10.01 96
RMMV 이것처럼 스킬설명칸에 액터능력치+스킬데미지 = 나오는 치환문자 있나요??? 2 file 해킹당한해커 2018.10.16 96
턴제 전투 RMVXA 적 공격 시 자신에게도 반동 데미지가 가게 하는 방법 1 할짓없는인간 2019.05.06 96
기본툴 사용법 RMMV 게임 만들때 대략적인 순서 1 QUzc 2019.05.22 96
스크립트 작성 RMMV 액터끼리 파트너를 맻는 스크립트가 있나요? 노블카이 2019.08.12 96
기타 RMMV 많이 심각한 상황입니다...도와주세요 애플카이트 2020.04.17 96
Board Pagination Prev 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 516 Next
/ 516