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.

Q Button to open a new screen

Status
Not open for further replies.
Hi,

I'm trying to do a quest menu which opens up when you press 'Q'

i've tried making a new script which has

if Input.trigger?(Input::L)
$scene = Scene_Quests.new
end

but it doesn't seem to work, any ideas?

Thanks
 
Paste this before Main :)
Code:
class Scene_Map
  alias quests_update update
  def update
    if Input.trigger?(Input::L)
      $scene = Scene_Quests.new
      return
    end
    quests_update
  end
end
 
This topic has been resolved. If Hairdude or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

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