shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
Hi, I've been trying for 3 hours tomake a functionnal menu but it's not working properly.
The cursor stop at the third icon in my menu and come back to the first.
When I press left key, the cursor go to the last icon and the third icon and come back to the first Icon.

Can you help me please.

I want my menu Capture d’écran 2022-10-06 201602.png

See picture for my code.
Thisis the navigation menu code.
Capture d’écran 2022-10-06 201305.png
 

Attachments

  • Capture d’écran 2022-10-06 201331.png
    Capture d’écran 2022-10-06 201331.png
    52.8 KB · Views: 6
  • Capture d’écran 2022-10-06 201359.png
    Capture d’écran 2022-10-06 201359.png
    26.6 KB · Views: 6
  • Capture d’écran 2022-10-06 201415.png
    Capture d’écran 2022-10-06 201415.png
    30.6 KB · Views: 6

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
I tried to replace control variable +3 for +1 but it does not works.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
5,420
Reaction score
5,109
First Language
English
Primarily Uses
RMMZ
Why are you jumping your cursor position by 3/5 at a time?
 

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
It was an error i did put 1 not 3 but its not working
 

DarlesLSF

Veteran
Veteran
Joined
Jun 25, 2018
Messages
73
Reaction score
52
First Language
Português
Primarily Uses
RM2k3
Code:
@> Conditional Branch: V[0001:MENU_KEY] == 2
  @> Control Variables: V[0002:cursor_position] -= 1
  @>
 : Branch End
@> Conditional Branch: V[0001:MENU_KEY] == 3
  @> Control Variables: V[0002:cursor_position] += 1
  @>
 : Branch End
@> Conditional Branch: V[0002:cursor_position] > 5
  @> Control Variables: V[0002:cursor_position] = 1
  @>
 : Branch End
@> Conditional Branch: V[0002:cursor_position] < 1
  @> Control Variables: V[0002:cursor_position] = 5

  @>
 : Branch End

Try that /\
I uploaded a project showing how I make the movement in the menu.
 

Attachments

  • Project1.rar
    774.8 KB · Views: 1
Last edited:

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
Code:
@> Conditional Branch: V[0001:MENU_KEY] == 2
  @> Control Variables: V[0002:cursor_position] -= 1
  @>
 : Branch End
@> Conditional Branch: V[0001:MENU_KEY] == 3
  @> Control Variables: V[0002:cursor_position] += 1
  @>
 : Branch End
@> Conditional Branch: V[0002:cursor_position] > 5
  @> Control Variables: V[0002:cursor_position] = 1
  @>
 : Branch End
@> Conditional Branch: V[0002:cursor_position] < 1
  @> Control Variables: V[0002:cursor_position] = 5

  @>
 : Branch End

Try that /\
I uploaded a project showing how I make the movement in the menu.

I tired to make a menu like you with cursor postion x and y. It move on the second icon but it does not move after that it stuck. When Im on the first icon and I press left key, it go to the last icon. This is ok but after that it doesnt move.
 

Attachments

  • Capture d’écran 2022-10-07 072407.png
    Capture d’écran 2022-10-07 072407.png
    52.3 KB · Views: 2
  • Capture d’écran 2022-10-07 072438.png
    Capture d’écran 2022-10-07 072438.png
    67.2 KB · Views: 2
  • Capture d’écran 2022-10-07 072504.png
    Capture d’écran 2022-10-07 072504.png
    12.2 KB · Views: 2

DarlesLSF

Veteran
Veteran
Joined
Jun 25, 2018
Messages
73
Reaction score
52
First Language
Português
Primarily Uses
RM2k3
I tired to make a menu like you with cursor postion x and y. It move on the second icon but it does not move after that it stuck. When Im on the first icon and I press left key, it go to the last icon. This is ok but after that it doesnt move.
Make the "menu" event an autorun process activated by a switch.
In the "call menu" event, put the part where u set the coordinates of the cursor and the show picture too.
U dont need to put this event (set move route), when the process is set to autorun, the player cant move too.
Look the pictures.
 

Attachments

  • 2.png
    2.png
    38.5 KB · Views: 3
  • 1.png
    1.png
    48.9 KB · Views: 3

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
Make the "menu" event an autorun process activated by a switch.
In the "call menu" event, put the part where u set the coordinates of the cursor and the show picture too.
U dont need to put this event (set move route), when the process is set to autorun, the player cant move too.
Look the pictures.
OMG it's working thank you so much I'm so new to this.
 
Last edited:

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
My cursor is doing something weird.

And

How to I enter into my menu since I don't have my position anymore.

See the video.

 

Attachments

  • Capture d’écran 2022-10-07 100303.png
    Capture d’écran 2022-10-07 100303.png
    39 KB · Views: 1

DarlesLSF

Veteran
Veteran
Joined
Jun 25, 2018
Messages
73
Reaction score
52
First Language
Português
Primarily Uses
RM2k3
My cursor is doing something weird.
Remove the "wait" option in the "move picture".


And
How to I enter into my menu since I don't have my position anymore.

See the video.

Idk what you mean by that, but if you want to acess the menu again, you need to create an action to exit the menu (erase the pictures, switch off the movement switch and switch on the menu switch)
 

Attachments

  • 1.png
    1.png
    48.2 KB · Views: 2

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
Remove the "wait" option in the "move picture".



Idk what you mean by that, but if you want to acess the menu again, you need to create an action to exit the menu (erase the pictures, switch off the movement switch and switch on the menu switch)
No I this is ok but I'm talking about enter into the item, notes and hep menu from my main menu since I don't have my position 1,2,3,4,5 do I need to write the position as an if variableX = position of Item icon ?Capture d’écran 2022-10-07 161113.png
 

shadonokia

Veteran
Veteran
Joined
Dec 26, 2017
Messages
91
Reaction score
29
First Language
English
Primarily Uses
RMMV
Is the order of my code lines are good because the notes menu wont open but I did calculate the distances between each icon

Only the first icon (item) is working
 
Last edited:

Latest Threads

Latest Profile Posts

WhitePaper.jpg

From China, with...white paper. :kaojoy:
This is a really good video
Testing Parry/Counter system straight from Action Sequence instead of utilizing the default counter.
Quite happy with the result so far.
Bex
This just blew my mind.
RMMZ can choose Tilesize.
No complicated Plugin needed, it is a simple inbuild Option.
This means you could literally use all your rm2k3 or vx-ace Tilesets and Characktersets in RMMZ.
This also makes me curious about experimenting with smaler Tiles and higher Screen Resolutions for non RPG Games.
mztilesize1414564.png
Did you know about this?

Forum statistics

Threads
126,984
Messages
1,182,896
Members
166,840
Latest member
PeachyGlitch
Top