질문과 답변

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 21145
기타 땅 갈라지게 하는법 1 쯔꾸르만들껀데 2015.12.11 170
RMVXA 액터가 없는 맵에서 이벤트가 움직이게 할 수 있는 방법이 있나요?(스크립트) 은현 2016.02.28 170
RMMV 랜덤한 효과를 즉시 발동시키거나 일반 공격에 부여하는 방법 3 DogeMadness 2017.05.07 170
기타 인텔xdk 배포 문제 2 [team]ㅎㅅㅎ 2017.05.08 170
RMMV 몬스터 도감 도와주세요 ㅠㅠ 2 file 해킹당한해커 2017.12.31 170
에러 해결 RMXP 게임 소리가 아예 안나요 2 호이호이 2019.06.15 170
기본툴 사용법 RMVXA 캐릭터 그래픽체인지 질문 3 file twrr 2019.07.12 170
이벤트 작성 RMMV 플레이어 위치 기억 및 복귀 (워프 개념) 질문 2 Trapped 2020.01.31 170
에러 해결 RMMV 더블메세지 플러그인 오류해결 도와주십쇼 3 file 무명시절 2020.07.04 170
기타 RMVXA vx ace) iconset 가로 세로 크기 2 게임이만들고파 2021.01.03 170
기타 사이트 이용 요즘에 1 꽃돼지 2024.06.14 170
기타 RMVXA 적이 캐릭터를 발견한 후 쫓아오게 하는 건 어떻게 하면 될까요? 1 버드와이저 2022.07.14 170
기본툴 사용법 기타 rpg maker mz로 거대한 캐릭터를 만들고 싶어요. 2 단무쥐 2023.08.17 170
RMVX script 'cache' line 80 revenir 2016.03.01 171
RMMV 특정 장비를 사용 할 경우 스킬의 데미지 계산식이 바뀌도록 하는 방법 8 RoyalNavy 2018.07.03 171
기본툴 사용법 RMVXA rpg maker vx ace 기본 타일셋좀 주실 분... 4 mkccip 2020.05.06 171
RMVX 순서대로 동상을 정해진 구간에 갔다놓는 이벤트 변수 오류 3 지혈이 2015.01.15 171
기타 vx ace 타이틀 관련 질문입니다 뉴르고크 2015.06.05 171
RMVXA 주인공을 제외한 다른 액터들이 죽었을시 패배 7 기폭 2015.06.30 171
RMMV 스킬을 쓸 때 커먼이벤트 먼저 나오고 그다음 스킬이 나오게 할 수 없을까요? 반다크홈 2015.10.25 171
Board Pagination Prev 1 ... 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ... 518 Next
/ 518