Tutorial Para Um Custom Menu Spiffy

2 de julho de 2011

Este tutorial ensina como fazer um menu customizado no RPG Maker 2000 (mas também serve pro 2003) usando pictures e um pouco de programação por eventos neste maker. Ele foi feito por ShaunOfShadou, está em inglês e foi tirado da antiga página do Don Miguel.

Eu diria que o nível de complexidade desse tutorial é médio, mas é garantido. Inclusive usamos ele junto com combinação de itens num projeto que não foi ao ar, mas funcionou redondo.

*** Spiffy custom menu tutorial ***

made by ShaunOfShadou

1) Make An Event To Erase All Pictures
2) Make 3 Pictures, Pointer, Menu BG & Menu Text
3) Make Sure Menu Text Is The Same Size As The Menu BG
4) Position Menu BG pic where it shows up good,
   Then put the text pic in the same coordinates
5) Make two new variables for pointer position (X pos and Y pos)
   And set each one to the starting coordinates of the pointer
6) Use Show Picture to place the pointer (under coordinates decider,
   Use By Variable, and set the Pointer's X pos variable
   As the X Pos and Y pos variable as the Y Pos)
7) For the previous step, make sure the pointer points
   To the first choice
8) Now make a Label, Preferably Label 1
9) Make an Enter Password.
   For the "store into variable,"
   make a variable (preferably called Debug Mvmnt)
   and use it. Leave all boxes in the Enter Password checked.
10) Make a fork option (no Else case attached) and set it to Variable,
    Debug Mvmnt, same, 4. Inside, make another fork option,
    this one set to Variable, Debug Y (the debug Y pos), below,
    . Inside,
    make a Variable change setting the Debug Y's
    value to the same value as in the fork option. Then,
    place a Go To Label in, and make it Go to Label 1
11) Inside the first fork option, and under the second,
    make a Change Variable and set it to Debug Y, minus.
    The subtraction value may vary, depending on how far apart
    the selections are in the text pic. BL's was about 12.
    After you make the variable change, make a Move Picture.
    Set the picture's number to the same pic number as the pointer.
    Then for the movement, use By Variable, and enter in the
    Debug X variable and the Debug Y variable
12) Make a Go to Label, and set it to 1
13) Under the first fork option, make another fork option (no else case).
    This time set it to Variable, Debug Mvmnt,  same, 2. Inside the fork,
    just make a Go to Label, and set it to 1.
14) Repeat the last step, except this time, instead of Variable, Debug Mvmnt,
    same, 2, set it to Variable, Debug Mvmnt,  same, 3.
    This includes the Go To Label 1 as well.
15) Repeat the step again, but set it to Variable, Debug Mvmnt,  same, 6.
    Then, instead of Go To Label 1, make Go to Label 3
    (Label 3 will be made later).
16) Make another fork option. Set it to Variable, Debug Mvmnt,  same, 1.
    Inside make another fork option, set to Variable, Debug Y,  above.
    For the value, you'll need to find out the value for the last selection.
    (Let's say you have 6 choices, and in the first fork option you made -12.
    You'd have to add 12 for each selection going down. Say the Y value for
    the first selection is 9...then the next
    selection down would be 21 (9+12=21), the next being 33, etc.
    The last one would therefore be 69. Then you would set the fork to Variable,
    Debug Y, above, 69.)
17) Inside the fork you just made, make a Variable Change, and set it to Debug Y,
    Set, and then the Y value of the last selection on your list (69).
18) Make a Move Picture, and set the pic number to the same as the pointer,
    then under movement, set to By Variable, then enter in the Debug X pos variable,
    and the Debug Y pos variable.
19) Insert a Go To Label, set it to 1
20) Make a fork option, and set it to Variable, Debug Mvmnt, same, 5.
    Now, make a fork inside, set to Variable, Debug Y, same, then the Y value of the
    first choice (9). Inside this fork, put in whatever event or message you want to
    happen or take place when selecting this choice. At the end of all the messages
    and choices (or whatever you want to put in the fork), make a Go to Label, set to 1.
21) Underneath the fork you just made, make another fork, and set it to Variable, Debug Y,
    same, and whatever the Y value for the next selection down is (21). Then put in the
    messages and choices. Then finish off the fork with a Go To Label, set to 1.
    Keep repeating the steps until you've made a fork for every menu selection.
22) Under everything you have in the common event, make a Label, Label 3. Underneath,
    call an event that erases all pictures, then make a Change Switch that turns off
    the Debug Menu's appearance switch. That's all there is to it!

You Have Just Made A Custom Menu...

Observação: se você gostou deste post ou ele lhe foi útil de alguma forma, por favor considere apoiar financeiramente a Gaming Room. Fico feliz só de ajudar, mas a contribuição do visitante é muito importante para que este site continua existindo e para que eu possa continuar provendo este tipo de conteúdo e melhorar cada vez mais. Clique aqui e saiba como. Obrigado!

Deixe um comentário

Inscreva-se na nossa newsletter!