Changing The Menu

Neo_Kum0rius_6000

Not Your Ordinary Guy!
Veteran
Joined
Nov 8, 2017
Messages
196
Reaction score
349
First Language
english
Primarily Uses
RMVXA
So I'am trying to make a unique menu for my game.
Game 2018-07-15 13-53-46-102.jpg
It looks like this so far. Its pretty cool!
But I would like to do some certain things with it.

Such as take out the window on the right side.
and replace it with a black tint. Like the dim window option.
for text.

I would also like to make my menu background scroll.
But I can't find a script for it anywhere.

If any of you know how I could do this, or
could show me a script It would help me out a lot.
This is the Code I'am using for the background for a window.
Code:
class Scene_Menu < Scene_MenuBase
  #--------------------------------------------------------------------------
  # * Start Processing
  #--------------------------------------------------------------------------
  alias dalhan_background_start start
  def start
    dalhan_background_start() #Calls the Original Method
    create_dalhan_background
  end
 
  def create_dalhan_background
    @dalhan_plane = Plane.new
    @dalhan_plane.bitmap = Cache.parallax("Menu Screen")
  end
 
  def dispose_dalhan_background
    @dalhan_plane.bitmap.dispose
    @dalhan_plane.dispose
  end
 
  def return_scene
    SceneManager.return
    dispose_dalhan_background
  end
 
end
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,594
Reaction score
6,525
First Language
Indonesian
Primarily Uses
RMVXA

Neo_Kum0rius_6000

Not Your Ordinary Guy!
Veteran
Joined
Nov 8, 2017
Messages
196
Reaction score
349
First Language
english
Primarily Uses
RMVXA
You want to remove it, so it's only menu command?

Add to your script
Code:
alias menu_update update
def update
  menu_update
  @dalhan_plane.ox += 9
  @dalhan_plane.oy += 9
end
Ah thanks dude!!!
I really appreciate you helping me.
Yea I want to do that.
Oh one more thing not to come off as dumb I'am not to good at Ruby Scripting
so could you please tell me were to put the code in the script?

Edit: No sorry never mind I figured it out!
But theres an error now it says "Script Menu BG line 29: RGSS ERROR Occurred Disposeplane whenever I exit out of the menu.
 
Last edited:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,594
Reaction score
6,525
First Language
Indonesian
Primarily Uses
RMVXA
But theres an error now it says "Script Menu BG line 29: RGSS ERROR Occurred Disposeplane whenever I exit out of the menu.
Disposing stuff should be in "def terminate", not in "return_scene". You know how to do it?
 

Neo_Kum0rius_6000

Not Your Ordinary Guy!
Veteran
Joined
Nov 8, 2017
Messages
196
Reaction score
349
First Language
english
Primarily Uses
RMVXA
Disposing stuff should be in "def terminate", not in "return_scene". You know how to do it?
No
Edit wait yes I did fix it!!! Your so awesome dude thanks for the help.
 
Last edited:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,594
Reaction score
6,525
First Language
Indonesian
Primarily Uses
RMVXA
These lines
Code:
  def return_scene
   SceneManager.return
   dispose_dalhan_background
  end
Changed it to
Code:
  alias menu_terminate terminate
  def terminate
    menu_terminate
    dispose_dalhan_background
  end
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top