Hello everyone, I hope you are very well, I am making a somewhat peculiar game, and I need to remove the options button that appears in the game title, the button should only appear in the menu within the game, how can I do it? Thank you very much!
How can I remove the options button from the title screen?
JS Plugin Requestsput this in a js file and save it
put it at the bottom of your plugins
Edit:
Actually, I really hate editing any base game stuff, I'd always rather alias, so use this instead
It's kind of a pointless change cause it would clear commands anyway, but it's not like it would hurt, either.
put it at the bottom of your plugins
JavaScript:
Window_TitleCommand.prototype.makeCommandList = function(){
this.addCommand(TextManager.newGame, 'newGame');
this.addCommand(TextManager.continue_, 'continue', this.isContinueEnabled());
}
Edit:
Actually, I really hate editing any base game stuff, I'd always rather alias, so use this instead
JavaScript:
let alias_sp_TitleCommand_makeCommandList = Window_TitleCommand.prototype.makeCommandList
Window_TitleCommand.prototype.makeCommandList = function(){
alias_sp_TitleCommand_makeCommandList.call(this)
this.clearCommandList();
this.addCommand(TextManager.newGame, 'newGame');
this.addCommand(TextManager.continue_, 'continue', this.isContinueEnabled());
}
It's kind of a pointless change cause it would clear commands anyway, but it's not like it would hurt, either.
I've moved this thread to JS Plugin Requests. Thank you.
Thank you very much friend, you are great, it has worked for me!
okay sorry for that :u
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-remove-the-options-button-from-the-title-screen.123241/