xboxscene.org forums

Author Topic: Sidescrolling Menus...  (Read 130 times)

Dielman

  • Archived User
  • Newbie
  • *
  • Posts: 4
Sidescrolling Menus...
« on: February 15, 2007, 03:56:00 AM »

Hey again, this is my WIP. It's my first real effort and it's getting there. I know some of the colours don't match quite right but thats not my main concern.

My main concern is getting that bloody menu to work sideways across the upper grey bar, much the same as the feed works on the bottom section.

So, anyway of doing it? Plus, any tips on tidying up the code? I've done some basic C# stuff so this didn't come as too much of a shock to the system, but I think it could be better.

Quick edit: Forgot the .au on the link  laugh.gif
Logged

Dielman

  • Archived User
  • Newbie
  • *
  • Posts: 4
Sidescrolling Menus...
« Reply #1 on: February 20, 2007, 12:44:00 AM »

CODE
    
      
      
           
      
      
      
      
      
      




Still gotta press up and down to navigate, but it sits moves the menu sideways. It's there if anyone else needs it.
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Sidescrolling Menus...
« Reply #2 on: February 20, 2007, 09:07:00 PM »

QUOTE
<Menu Smooth="True" Align="Middle" ShowIcon="False" Rotate="False" ShowArrows="False" Horizontal="False">

QUOTE
-You can now put individual items anywhere you wish by providing the coordinates of the items using the ItemPos tag to create a Free form menu layout. This can still be combined with any tag, except the Horizontal attribute. What this does basically, is put the first item on ItemPos #1, second on ItemPos #2...so forth and so on. For item position that is relatively far from each other, it may be best to turn off the "Smooth" attribute. You can have as many item position as the number of available menu. These are the exact coordinates I used for the default skin.
<ItemPos Left="285" Top="96"></ItemPos>
<ItemPos Left="310" Top="138"></ItemPos>
<ItemPos Left="315" Top="180"></ItemPos>
<ItemPos Left="310" Top="222"></ItemPos>
<ItemPos Left="290" Top="264"></ItemPos>
Logged