"Instructions" in main menu

So I wanted to know how to include instructional text in menu screen that tells player which keys to press while using the menu. For example, a bar at the bottom of the screen would say: "press x to confirm/press c to cancel."

Primarily, I would like these instructions because I am using "Yanfly's System Options." When accessing this menu, the cancel/menu key functions as confirm, and there is no way to really cancel. To be honest, this later issue may be posted in Script Support later.

As always, help is very much appreciated 🙂

EDIT: Pretty much this(the circled):

[IMG]http://i.imgur.com/lGU0CXM.png[/IMG]
Well... Personally I'd draw these buttons etc. to background. ATM, I have layered background in menu - animated normal background and fixed layout. (and of course different background/stuff for different scenes)

OR you can add a new window and draw that stuff on certain scenes.
How would I go about adding a new window?
I made a window by writing something like this. (I edited stuff to your example)

Spoiler
class Window_MenuInstructions < Window_Base def initialize(x, y) super(200, 20, 300, 48) # (X/Y/width/height) self.opacity = 0 # (opacity turned to 0 to show only contents) refresh end def refresh draw_icon(144, 0, 0) # (ICON ID / X / Y) <<< For example (X) button draw_text(24, 0, 200, 24, "some text here") # (X / Y / width / height / TEXT) <<< For example "Restore defaults") #(...) ~~~~~~~~~~~~~~~~~~~~etc. endend#-------------------------------------------------------------------------------# ► Create Window#-------------------------------------------------------------------------------class Scene_Menu < Scene_MenuBase # Puts that window in MENU #----------------------------------------------------------------------------- # ► Start #----------------------------------------------------------------------------- alias menuinstructions_start start def start menuinstructions_start create_menuinstructions_window end #----------------------------------------------------------------------------- # ► create Menu Instructions Window #----------------------------------------------------------------------------- def create_menuinstructions_window @menuinstructions_window = Window_MenuInstructions.new(0, 0) endend
I'm not sure if it's the best way of making windows, since i'm not good at scripting, but that's what I managed to do and it works.

WtvmtpT.png


I derp'd, fixed.

WtvmtpT.png


Fixed grammar and stuff. (just tired xP )

You can resize the window and add everything manually by setting X/Y position and stuff - full control. You can even make a window with size of the whole screen and draw stuff all over the place if you want. ( ͡° ͜ʖ ͡°)
Hmm. It doesn't seem to work for me. I've tried placing it below both of them, as well as within the Yanfly Script, but nothing happens. Is there anywhere in particular that I should place it?
How does it not work?

It doesn't show? Or it crashes?

This should create a window in Menu (where you have items, equip etc.). Have you edited something?

I'd prefer to place that at the bottom.
It doesn't show, like, nothing changes. Right now, I have placed the script below all of the scripts that I've imported, right above Main.
Hmm... that's weird, I tried that even on a fresh project and it worked. It should show an axe and "Some text here" next to it.

Have you tried tweaking the position of the window? Perhaps it's drawn outside screen... That's weird...

That's how it should look like:

aPgngfS.png
Of course Eric needs to make it harder...
Well I feel dumb 😛 :headshake: . The offset did, in fact, push the window off screen. So, adjusting that did the trick. Thank you plenty, riki! 😀

EDIT: Is there any way to change the icon?

EDIT: Nevermind. I found the line. 🙂
Okay, glad could help! =]

Original thread: https://forums.rpgmakerweb.com/threads/instructions-in-main-menu.43752/