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.

[VX]Inventory instead of Menu?

Numb

Member

Here's the deal.
I am making a sort of horror game.
I don't need the status screen and stuff.
All I need is the "item" screen.
So how can I make it where you press x or esc, it opens the item menu instead of the full menu?
 
Use this:
Code:
class Scene_Map

  #--------------------------------------------------------------------------

  # * Switch to Menu Screen

  #--------------------------------------------------------------------------

  def call_menu

    if $game_temp.menu_beep

      Sound.play_decision

      $game_temp.menu_beep = false

    end

    $game_temp.next_scene = nil

    $scene = Scene_Item.new

  end

end

 

class Scene_Item

  #--------------------------------------------------------------------------

  # * Return to Original Screen

  #--------------------------------------------------------------------------

  def return_scene

    $scene = Scene_Map.new

  end

end
 

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