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

21 Dez

ACHTUNG: Für alle die des Englischen nicht so mächtig sind habe ich es hier noch einmal auf Deutsch hochgeladen:



The next thing we have to do is to ensure that our cursor can move. For that we need another common event with the following settings:


It’s important that it’s set on autorun so our character can’t move.

Now we have to set up what happens when the button down is pressed:

Ashampoo_Snap_2012.12.21_18h16m59s_007_Conditional Branch In that conditional branch set the following: First a wait of 1 frame to prevent the menu of lagging. Second set a conditional branch for cursorposition 1:

Ashampoo_Snap_2012.12.21_18h20m03s_008_Conditional BranchIn that conditional branch set a sound effect for the cursor movement.

Ashampoo_Snap_2012.12.21_18h21m40s_009_SEThe next we have to do is to move the cursor in 64 pixel steps down like so:

Ashampoo_Snap_2012.12.21_18h23m37s_010_Move Picture Wait for completion is important to prevent the game of lagging. The last thing is to set the variable Cursorposition to 2:

Ashampoo_Snap_2012.12.21_18h26m09s_011_Control Variables

Now repeat that for cursorposition 2-4 and adjust the y coordinate in 64 steps and the variable cursorposition:


Repeat the whole thing (in the else case of the conditional branch before (button down)) for the condition if button up is pressed:


Now our cusor will move but we can’t actvate anything.

Now we have to decide what to do if button C (Enter or Spacebar) is pressed:

Put the following into the else case of the conditional branch (button up) before:

Ashampoo_Snap_2012.12.21_18h32m38s_012_Conditional Branch and another wait of 1 frame.

Now we play again a soundeffect:

Ashampoo_Snap_2012.12.21_18h33m43s_013_SE and to erase the pictures of the menu:

Ashampoo_Snap_2012.12.21_18h34m57s_014_Erase Picture Ashampoo_Snap_2012.12.21_18h35m07s_015_Erase Picture

Now we’ll call the Item menu with a „Call Script“:


And turn the switch Menu ON off:

Ashampoo_Snap_2012.12.21_18h37m50s_017_Control Switches

Repeat that again for each cursor position:


(You don’t need the conditional branch if cursorposition is 4 twice)

For cursorposition 2 fill the following in the call script:

The last thing we need to do is to set up the conditional branch for pressing Esc (B button). Set this conditional branch in the else case of the conditional branch (C Button) before:Ashampoo_Snap_2012.12.21_18h44m06s_018_Conditional BranchThen again a wait of 1 frame to prevent the game of lagging. The next command is again a soundeffect:Ashampoo_Snap_2012.12.21_18h47m03s_019_SE

Then we erase again the pictures 1 and 2:

Ashampoo_Snap_2012.12.21_18h34m57s_014_Erase Picture Ashampoo_Snap_2012.12.21_18h35m07s_015_Erase Picture

Wait again one frame and set the switch Menu ON on OFF:

Ashampoo_Snap_2012.12.21_18h37m50s_017_Control Switches

It should look like so:


And that’s all folks.



Kommentar verfassen

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

Du kommentierst mit Deinem Abmelden / Ändern )


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


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: