Another Day Working On the Menu

25 days ago

I made an array to hold all the items that appear, and a second array that holds copies of the items you can select.
That way, when you select an item in the menu you have that item also appear on its own.
One of the issues I faced was having two rows.
The one above and the one below.
Then there's the navigation of the target/cursor.
You can only move it up if it is in the row below and down if it's above.
There's also the ability to navigate to the last option by clicking left on the first option.
Finally, the biggest snag was that the bow and arrow are two different gameObjects in the same slot. What I decided to do was say that if you press right everything is normal until you get to number 3. At number 3 and beyond you add 1 to the index number.
Anyway, it works.

Loading comments...