질문과 답변

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 21162
이벤트 작성 RMVX 메세지창 호출 질문이요! 2 file Leme 2019.05.26 138
스크립트 사용 RMVX 세이브 메뉴와 관련된 스크립트에 대해서 물어보려고 합니다. file 즈네 2021.02.02 138
RMMV 아래 어떤분이 질문하셨던 주변 어둡게 하는 방법 2 잠행인 2017.01.28 138
RMVXA 스위치가 먹통이에요 1 Leonis 2016.09.05 138
RMVXA 맵 오브젝트의 가려짐 7 모라몬라 2016.06.15 138
RMXP RPGXP문 질문 2 1성룡 2016.01.30 138
RMVX 한번사용하면 사라지는 이벤트 1 크로이드 2015.01.15 138
RMMV 코어엔진 이라는 것이 무엇인가요? 비백 2016.01.04 138
스크립트 사용 RMVXA Rpg vx ace 대쉬 속도 변경 1 맘스파게티 2022.11.01 138
이벤트 작성 RMMZ 심볼 인카운터 이렇게 만드는 거 아닌가요? 3 file 하라아아암 2023.11.15 138
툴선택 캐릭터 혼자 이동시킬수 잇는 시스템 커맨드? 2 하루0117 2018.06.04 138
스크립트 사용 RMVXA 포르투갈 포럼에서 알게된 메뉴 스크립트 적용 1 우야까 2021.02.02 138
기본툴 사용법 RMMV 지역ID를 활용하고 싶습니다 5 file Ggamer 2021.09.20 138
RMMV MV 이벤트?관련 질문있습니다!! 2 류넷 2018.05.26 138
기본툴 사용법 RMMV 전투중 위에 뜨는 창 삭제하는 방법이 있을까요? 4 file 체리먹는체리 2024.01.18 138
플러그인 추천 RMMV MZ에서 아이템을 단축키로 사용할 수 있는 플러그인이 있나요? kim갓 2024.10.13 137
스크립트 추천 RMVXA 달리는 스프라이트와 대각선 이동 5 다크크리에이터 2023.07.08 137
이벤트 작성 RMMV 적 AI 관련 질문 6 file pokapoka 2023.08.11 137
제작툴 구매 툴선택 안녕하십니까 스팀 할인 하길래 입문이 해보고 싶어서 툴질문 있습니다! 1 벨로님 2023.03.30 137
플러그인 추천 RMMV 전투 중 스킬에 조건을 넣고 싶습니다. 악덕팬더 2024.05.05 137
Board Pagination Prev 1 ... 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 ... 518 Next
/ 518