질문과 답변

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 21133
RMXP 대화창 크기를 줄이는 방법 없나요? 1 siraisi 2011.01.04 570
RMVX 게임 글씨체가 바뀌지 않아요 ;; 끼룩 2011.01.04 518
RMVX 오버드라이브 게이지에 관한 질문입니다. Ark 2011.01.04 425
RMXP 아오오니에 보면.... 1 가나다라마바사아자 2011.01.04 733
RMVX 필드에서 돌아다니는 몬스터와 접촉하면 2 헤카트 2011.01.04 605
RMVX 오류가 떴습니다 이걸어째야 하나요 ㅠㅠ 4 file 왕자 2011.01.04 420
RMVX 모바일처럼 몬스터가 돌아다니는 것은 어떻게 하나요? 2 소미여우 2011.01.04 752
RMVX 이벤트 구성하고 싶은데 머리가 딸려서 안되네요 도와주세요 ㅠㅠ 왕자 2011.01.04 394
RMVX 바람의나라처럼 만랩때 경험치를 팔 수 없나요? 3 말벗 2011.01.04 662
RMXP 맵칩셋 사용 방법좀 알려주세요. 1 file 곧이 2011.01.04 758
RMVX xp 윈도우스킨을 vx로 옮겨왔는데 게임하면 이름이 다 가려져요 ㅠ 2 말벗 2011.01.03 491
RMXP 주인공 등장하는곳 어떴게 움김??? 2 유토피아퉁 2011.01.03 465
RMXP 이벤트랑 이벤트랑 접촉하면 이벤트가 생기도록하는법?? 2 가나다라마바사아자 2011.01.03 444
RMXP 액알 스크립트 사용법 1 게이머 2011.01.03 680
RMVX 배틀러 이미지를 가져왔는데 배틀러 소환하면 하얀그림안에 있는데 1 왕자 2011.01.03 503
RMXP 아... 아이콘 이미지 오류... 1 크라이소르 2011.01.03 539
RMXP rpg xp 질문.. 2 게이머 2011.01.03 436
RMVX 전투이벤트는 어떻게 쓰나요? 1 왕자 2011.01.03 455
RM2k 여러개 질문여 ㅜㅜ 1 hero 2011.01.03 884
RMVX 배틀러 이미지 배경색 1 헤카트 2011.01.03 458
Board Pagination Prev 1 ... 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 ... 518 Next
/ 518