Ronyund

Ghost Terror
Veteran
Joined
Nov 21, 2019
Messages
51
Reaction score
7
First Language
Indonesia
Primarily Uses
RMMZ
Hello RM Members!

Could you help me please? i wanna reduce the actor window size. So, the actor window will get the same size as selected box. Thank you!

Untitled-1.png
 

Jragyn

JABS codemonkey
Veteran
Joined
Aug 14, 2012
Messages
221
Reaction score
169
First Language
English
Primarily Uses
RMMZ
What do you mean "reduce actor window size so that it is the same size as selected box"?
 

Ronyund

Ghost Terror
Veteran
Joined
Nov 21, 2019
Messages
51
Reaction score
7
First Language
Indonesia
Primarily Uses
RMMZ
sorry sir, i got the answer. so sorry.
 

Jragyn

JABS codemonkey
Veteran
Joined
Aug 14, 2012
Messages
221
Reaction score
169
First Language
English
Primarily Uses
RMMZ
sorry sir, i got the answer. so sorry.
no worries pal, just trying to help you get your answers if you hadn't yet by asking clarifying questions :)
 

Xane

Veteran
Veteran
Joined
Jun 5, 2020
Messages
96
Reaction score
408
First Language
(US) English
Primarily Uses
RMVXA
Based on what it sounds like your asking, something like this right?
Code:
#==============================================================================
# ** Window_MenuStatus
#------------------------------------------------------------------------------
#  This window displays party member status on the menu screen.
#==============================================================================

class Window_MenuStatus < Window_Selectable
  #--------------------------------------------------------------------------
  # * Get Window Height
  #--------------------------------------------------------------------------
  def window_height
    fitting_height(4)
  end
  #--------------------------------------------------------------------------
  # * Get Item Height
  #--------------------------------------------------------------------------
  def item_height
    (height - standard_padding * 2)
  end
end
That will make the window exactly one actor's worth of info high.
 

Ronyund

Ghost Terror
Veteran
Joined
Nov 21, 2019
Messages
51
Reaction score
7
First Language
Indonesia
Primarily Uses
RMMZ
Based on what it sounds like your asking, something like this right?
Code:
#==============================================================================
# ** Window_MenuStatus
#------------------------------------------------------------------------------
#  This window displays party member status on the menu screen.
#==============================================================================

class Window_MenuStatus < Window_Selectable
  #--------------------------------------------------------------------------
  # * Get Window Height
  #--------------------------------------------------------------------------
  def window_height
    fitting_height(4)
  end
  #--------------------------------------------------------------------------
  # * Get Item Height
  #--------------------------------------------------------------------------
  def item_height
    (height - standard_padding * 2)
  end
end
That will make the window exactly one actor's worth of info high.
yes i got it. Thank you!
 

Ronyund

Ghost Terror
Veteran
Joined
Nov 21, 2019
Messages
51
Reaction score
7
First Language
Indonesia
Primarily Uses
RMMZ
no worries pal, just trying to help you get your answers if you hadn't yet by asking clarifying questions :)
Hey bro, could you help me? how to change menu background become dark not blur? or i can put a images? thank you
 

Xane

Veteran
Veteran
Joined
Jun 5, 2020
Messages
96
Reaction score
408
First Language
(US) English
Primarily Uses
RMVXA
Ruby:
#==============================================================================
# ** SceneManager
#------------------------------------------------------------------------------
#  This module manages scene transitions. For example, it can handle
# hierarchical structures such as calling the item screen from the main menu
# or returning from the item screen to the main menu.
#==============================================================================

module SceneManager
  #--------------------------------------------------------------------------
  # * Create Snapshot to Use as Background
  #--------------------------------------------------------------------------
  def self.snapshot_for_background
    @background_bitmap.dispose if @background_bitmap
    @background_bitmap = Graphics.snap_to_bitmap
  end
end
This removes the blur applied to map backgrounds in the menu.
 

Ronyund

Ghost Terror
Veteran
Joined
Nov 21, 2019
Messages
51
Reaction score
7
First Language
Indonesia
Primarily Uses
RMMZ
Ruby:
#==============================================================================
# ** SceneManager
#------------------------------------------------------------------------------
#  This module manages scene transitions. For example, it can handle
# hierarchical structures such as calling the item screen from the main menu
# or returning from the item screen to the main menu.
#==============================================================================

module SceneManager
  #--------------------------------------------------------------------------
  # * Create Snapshot to Use as Background
  #--------------------------------------------------------------------------
  def self.snapshot_for_background
    @background_bitmap.dispose if @background_bitmap
    @background_bitmap = Graphics.snap_to_bitmap
  end
end
This removes the blur applied to map backgrounds in the menu.
and my background menu become dark? i want my background menu is dark.
 

Xane

Veteran
Veteran
Joined
Jun 5, 2020
Messages
96
Reaction score
408
First Language
(US) English
Primarily Uses
RMVXA
and my background menu become dark? i want my background menu is dark.
Like how dark are we talking? Like pitch black in your screenshot?
Here's another snip of code that lets you modify the color overlay. By default it's (16, 16, 16, 128)
I have it configured to be a solid black so no image really shows but you can modify it however you want.
Ruby:
#==============================================================================
# ** Scene_MenuBase
#------------------------------------------------------------------------------
#   This class performs basic processing related to the menu screen.
#==============================================================================

# COLOR [RED GREEN BLUE ALPHA]
# *ALPHA = TRANSPARENCY (0 IS TRANSPARENT - 255 IS SOLID)
COLOR = [0, 0, 0, 255]

# No need to modify anything below.
#------------------------------------------------------------------------------

class Scene_MenuBase < Scene_Base
  #--------------------------------------------------------------------------
  # * Create Background
  #--------------------------------------------------------------------------
  alias xane_change_background_aliased create_background
  def create_background
    xane_change_background_aliased
    @background_sprite.color.set(*COLOR)
  end
end
 

Ronyund

Ghost Terror
Veteran
Joined
Nov 21, 2019
Messages
51
Reaction score
7
First Language
Indonesia
Primarily Uses
RMMZ
Like how dark are we talking? Like pitch black in your screenshot?
Here's another snip of code that lets you modify the color overlay. By default it's (16, 16, 16, 128)
I have it configured to be a solid black so no image really shows but you can modify it however you want.
Ruby:
#==============================================================================
# ** Scene_MenuBase
#------------------------------------------------------------------------------
#   This class performs basic processing related to the menu screen.
#==============================================================================

# COLOR [RED GREEN BLUE ALPHA]
# *ALPHA = TRANSPARENCY (0 IS TRANSPARENT - 255 IS SOLID)
COLOR = [0, 0, 0, 255]

# No need to modify anything below.
#------------------------------------------------------------------------------

class Scene_MenuBase < Scene_Base
  #--------------------------------------------------------------------------
  # * Create Background
  #--------------------------------------------------------------------------
  alias xane_change_background_aliased create_background
  def create_background
    xane_change_background_aliased
    @background_sprite.color.set(*COLOR)
  end
end
Thank you so much sir!
 

Latest Threads

Latest Profile Posts

Currently trying to add items in the same style as Kyrise's excellent icons. I like having a large variety of items :3 KyriseandMe.PNG
Create MiniMaps, Sprites for MV Enemies, & Aethereal Plane Battlebacks | RPG Maker News #74

Vtubers Vs MOTHER.png

This might be my next project. You like it?
I'm off to search the master script list for my skill issue. HOORAY! FUN!
Fun fact: Digimon is an isekai :kaoswt2:

Forum statistics

Threads
112,328
Messages
1,067,417
Members
145,966
Latest member
Ziaz82
Top