RSS

Tutorial Custom Menu – Advanced Learners/ Eigenes Menü – Fortgeschrittene – Part 1

21 Dez

ACHTUNG: Für alle die des Englischen nicht so mächtig sind, habe ich das Tutorial nochmals auf Deutsch hier hochgeladen: http://rpgmakervxace.de/board64-tutorials-ressourcen/board42-tutorials/

—————————————————————————————————————————————————————-

Difficulty:

Today I’d like to show you how to make you own custom menu. For following this tutorial you should be familiar with common events, switches, variables, pictures and button inputs.

The first thing we’ll do is to open our graphic progamm (in my case Photoshop) and make a new document with the measurements of our screen (in my case 544 x 416 Pixel)

Ashampoo_Snap_2012.12.02_22h06m24s_004_Neu

In this document we’ll make a menu screen like so:

Menüpunkte

First mark a rectangle and fill it with every colour you like. With the filloptions (as shown in the first part of the hunger, thirst etc. tutorial) you can give it a pattern you like, as well as a relief. Make a new layer and write the points of your menu. (In my case Item, Equipment, Save, End) If you like you can make a title. Save this as a png with the name menu in your pictures folder of your project or elsewhere you like.. Of course you can save the single cut out menu points separately if you like but this would be a bit too complex for this tutorial.

The next thing we’re gonna do is to make a cursor. Make a new layer. You’ll need the rectangle tool with the following settings for it:

Ashampoo_Snap_2012.12.21_12h19m26s_004_

Then our cursor will look like so:

Menü Draw it on the first menu point.

CursorThe cursor is 64 pixel high – that’s important for later.

Blend all out until only the cursor is left. You don’t need to cut it out. Save this as a png with the name cursor in your pictures folder of your project or elsewhere you like.

Now we’re done with creating the graphics. The next thing we’ll do is to open our project in the maker. If you haven’t saved your graphics already in the pictures folder you should import them now into your project.

Because we don’t want to have the default menu we need disable the menu access. Go to the first map in you project and in your intro event (set to autorun) and make the following:

Ashampoo_Snap_2012.12.21_14h47m03s_001_Change Menu Access So if you start you game you won’t be able to call the default menu with the button Esc.

In this event we’ll activate as well the switch Menue enables. Of course you can activate the switch somewhere else in your game.

Ashampoo_Snap_2012.12.21_15h08m00s_006_Control SwitchesAshampoo_Snap_2012.12.21_18h52m20s_020_

Erase the event if it’s on your intro map. If not you should set a selfswitch on and make with the condition of the selfswitch a second empty page with trigger action button

Now we need a common event for the predefintions: Set it to parallel process, because we must be able to call our menu every time. The switch should be Menu enabled. Ashampoo_Snap_2012.12.21_14h58m14s_002_

We want that our menu appears when we press the button Esc. Because of this we must make a conditional branch which asks if the button B is pressed:Ashampoo_Snap_2012.12.21_14h59m51s_003_Conditional Branch

If so, our menu shall open. Because of this we make 2 show pictures commands in the conditional branch. Please pay attention that the cursor has the highest number.

Ashampoo_Snap_2012.12.21_15h02m39s_004_Show Picture Ashampoo_Snap_2012.12.21_15h03m46s_005_Show PictureNow if we press Esc our menu should appear in the game – but nothing else.

For preventing the game of lagging we’ll insert a wait command of 10 frames. If you’ve already pictures in your game – a hud for example – you should ensure that the picture numbers of the menu are the highest.

Ashampoo_Snap_2012.12.21_15h10m45s_008_Wait

Because our cursor is already on position 1 we should fix this in variables:

Ashampoo_Snap_2012.12.21_15h12m55s_009_Control Variables Our cursorposition is 1.

Now we need to activat a switch which will activat our next common event: Menu ON

Ashampoo_Snap_2012.12.21_15h13m19s_010_Control Switches

To prevent the common event to repeat itself we erase the it. It should look like so now:

Ashampoo_Snap_2012.12.21_15h15m28s_012_

And that’s it for now folks.

Advertisements
 

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s

 
%d Bloggern gefällt das: