Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

***stoped***Under menu,

Its been a while, but I will give this a shot. Are you using any custom menu scripts or scripts that would effect the menu? If so post the scripts. If not, I have a few questions. To get this straight, you want the menu to show the sub menu to appear underneath the character when you press menu?
 
thank you JoshieBoy

I employ only this script:

Code:
module PARA_LEFT_CURSOR

  

  FILE_NAME = "Cursor"

 

  TYPE = 0

 

end

 

 

class Window_Base

  

  alias cursor_rect_para_lcr cursor_rect

  def cursor_rect=(rect)

    if PARA_LEFT_CURSOR::TYPE == 1

      super(rect)

    end

    empty = Rect.new(0,0,0,0)

    if rect != empty and self.visible != false and @index != -1

      if @cursor == nil or @cursor.disposed?

      

        @cursor = Sprite.new

        @cursor.bitmap = RPG::Cache.windowskin(PARA_LEFT_CURSOR::FILE_NAME)

      end

      

      @cursor.x = self.x + rect.x

      cy = (rect.height-32) / 2

      @cursor.y = self.y + cy + rect.y + 16

      @cursor.z = self.z + 2

    elsif @cursor != nil

      @cursor.dispose

    end

  end

  

  alias dispose_para_cur dispose

  def dispose

    super

    if @cursor != nil

      @cursor.dispose

    end

  end

  

  def visible=(bool)

    super

 

    if @cursor != nil and bool == false

      @cursor.dispose

    end

  end

 

  def x=(x)

    super

    if @index != nil

 

      update_cursor_rect

    end

  end

 

  def y=(y)

    super

    if @index != nil

 

      update_cursor_rect

    end

  end

end

 
you need this resource to function. "Cursor"


yes I want that the menu is posted on the level of each character.
and I would like that the menu posts only when I selected a character.

thank you JoshieBoy
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top