Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
gRaViJa

Helping hand for ring menu script

Question

I have this custom items menu i tried to make and edit myself. But i have a problem with it. When you select bag from the ring menu:

 

22926996.jpg

 

You get another ring where you can choose between different kind of items:

 

56364663.jpg

 

But as you can see this ringmenu is situated in the middle of the screen instead of the middle of the window.

 

A friend of mine has putted the main ring menu in the right way, but he forgot to do the same with te sub ring menu. i normally can fix these kind of errors pretty fast, but i can't find the cause for this one.

 

so can anyone help me to fix this? ^^ Here are the scripts that deal with the ringmenu and item menu:

 

http://www.rpgmakers.net/attachment.php?aid=13

 

http://www.rpgmakers.net/attachment.php?aid=14

 

http://www.rpgmakers.net/attachment.php?aid=15

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I am pretty sure I know what you are looking for :)

 

#--------------------------------------------------------------------------
 # * Main Command Window
 #--------------------------------------------------------------------------
 def main_command_window
   @command_window = Window_RingMenu.new(@commands, @command_icons, 108)#64)
   @command_window.index = @menu_index
   @command_window.x -= 120
   @command_window.y -= 20

----cut out code-----

   @bag_window = Window_RingMenu.new(@bag_commands, @bag_icons,64)
   [missing x/y modifications]
 end

 

as you can see, the main command window's x and y are changed. Try adding

@bag_window.x -= 120
@bag_window.y -= 20

 

although, i dunno if it will be exact, since the 2 window's radius (radii???) are different...just try that out and tweaking those 2 values until it's the way you want it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...