Gw Temp

Menu

Tutorial - 'Picture Menu' by Trujin

An item about RPGMaker 2000 posted on

Blurb

A tutorial on how to make a picture menu. Picture perfect?

Body

how to make a picture menu

Tried to make a cms or cbs in pictures, but you couldn't find out how, here is the explanation of how to make a picture based menu for your system. The basic is that you use a fork condition to let the system know which picture to show. For example if the variable is at 1 you see a picture with the first option selected, with 2 the second option. In that fork condition you put a password, which checks which button you press, so let's say if you press "down" the picture showing variable will change too 2 and then you will be able to select the second option, same for esc, enter key, and the other directions. So it would look like this (note that if you only use a cursor this code should be made so that the cursor pic changes his position).

<>label 2 no (this works like a cycle but will prevent lag)
<>Fork - cursor select - 1
<><> show picture - cursor - attack (or show picture - cursor - x50 y 100)
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><>set var cursor select 2
<><>fork end
<><>fork - cursor direction - 4 (up) (this is the last option in this case run)
<><><>set var cursor select 4
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> (whatever you like it to do when it attacks
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
<> Fork - cursor select - 2
<><>show picture - cursor - skill (or show picture - cursor - x50 y 120
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><> set var cursor select 3
<><>fork end
<><>fork - cursor direction - 4 (up) (this will let you go back to the attack option again)
<><><> set var cursor select 1
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> whatever you like it to do when it use a skill
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
<>Fork - cursor select - 3
<><> show picture - cursor - item (or show picture - cursor - x50 y 140
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><> set var cursor select 4
<><>fork end
<><>fork - cursor direction - 4 (up) (this will let you go back to the skill option again)
<><><> set var cursor select 2
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> whatever you like it to do when it use a item
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
<>Fork - cursor select - 4
<><> show picture - cursor - skill (or show picture - cursor - x50 y 160
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><> set var cursor select 1 (it goes to attack again.
<><>fork end
<><>fork - cursor direction - 4 (up) (this will let you go back to the item option again)
<><><> set var cursor select 3
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> whatever you like it to do when it use run
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end

I had trouble with this code for 3 hours, so if something doesn't work carefully check you variables. Also be sure that before you go in the menu you allready have the "cursor select" variable to 1.