Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New menu system
11-28-2005, 01:26 PM,
#14
New menu system
I've been working on the new gui classes for a week or so now and things are coming along nicely. All the widgets I planned are done except for TextBox and ListBox. I also added two "wheel" type widgets - these just have a vector of strings which are displayed as options and a vector of strings or floats (thus two types) that holds the values that correspond to each option. On the left of the wheel's option display is a left arrow, on the right a right arrow; these are used to change the option by clicking on them with the mouse or using the left/right arrow keys while this widget is selected.Right now only a few menus (mostly options) are implemented, the positioning of the widgets is a little off because they can't be centered yet, and likewise the areas where each widget can be clicked is a hard-coded box that doesn't always exactly fit the widget (again because i don't know how wide the widgets are). When there's some kind of font.Width and font.Height functions these things will get fixed.Things that still need to be done:<ul><li>make more graphics for widgets (button background, slider wedge and slider cursor, real wheel arrows instead of symbols, new page background graphics)<li>finish implementing all the menus<li>implement joystick support<li>handle mouse wheel events to change widget values<li>add a function which updates the gamestate and other things when one of the OK buttons is pressed (currently only updates settings)<li>add sounds that can be played when widgets are used ("click" when a button is pressed or toggle changed, some kind of more passive sound for widget select)</ul>If you want to help out, you could look around for good free menu sounds or create some of your own original ones, or help write menu definition files. Now that most of the code is complete for the gui the menu files are the biggest time consumer. The format is pretty simple, use the other menus in data/lists/new-menus/ as examples...and don't forget to add any menus you create to data/lists/new-menus/menus and data/lists/new-menus/SConscript (as I have a few times). Smile
Reply


Messages In This Thread
New menu system - by thelusiv - 11-05-2005, 03:01 AM
New menu system - by gianni - 11-05-2005, 05:20 PM
New menu system - by joevenzon_phpbb2_import3 - 11-05-2005, 07:53 PM
New menu system - by thelusiv - 11-07-2005, 10:08 AM
New menu system - by joevenzon_phpbb2_import3 - 11-07-2005, 10:30 AM
New menu system - by thelusiv - 11-07-2005, 01:33 PM
New menu system - by thelusiv - 11-07-2005, 02:09 PM
New menu system - by gianni - 11-07-2005, 02:33 PM
New menu system - by thelusiv - 11-07-2005, 03:10 PM
New menu system - by Nenillo - 11-07-2005, 03:10 PM
New menu system - by thelusiv - 11-07-2005, 03:23 PM
New menu system - by joevenzon_phpbb2_import3 - 11-07-2005, 10:56 PM
New menu system - by thelusiv - 11-08-2005, 10:30 AM
New menu system - by thelusiv - 11-28-2005, 01:26 PM
New menu system - by thelusiv - 11-28-2005, 07:24 PM
New menu system - by thelusiv - 11-30-2005, 03:28 AM
New menu system - by thelusiv - 11-30-2005, 02:32 PM
New menu system - by joevenzon_phpbb2_import3 - 11-30-2005, 11:37 PM
New menu system - by gianni - 12-01-2005, 07:14 AM
New menu system - by thelusiv - 12-01-2005, 09:26 AM
New menu system - by thelusiv - 12-07-2005, 12:04 PM
New menu system - by joevenzon_phpbb2_import3 - 12-07-2005, 11:12 PM
New menu system - by thelusiv - 12-08-2005, 05:46 PM
New menu system - by joevenzon_phpbb2_import3 - 12-08-2005, 09:38 PM
New menu system - by thelusiv - 12-09-2005, 09:30 AM
New menu system - by joevenzon_phpbb2_import3 - 12-09-2005, 10:30 AM
New menu system - by thelusiv - 12-09-2005, 02:29 PM
New menu system - by joevenzon_phpbb2_import3 - 12-09-2005, 09:24 PM
New menu system - by thelusiv - 03-12-2006, 11:10 PM
New menu system - by joevenzon_phpbb2_import3 - 03-13-2006, 12:39 AM
New menu system - by joevenzon_phpbb2_import3 - 03-13-2006, 12:41 AM
New menu system - by thelusiv - 03-13-2006, 01:40 AM
New menu system - by thelusiv - 03-13-2006, 09:06 PM
New menu system - by thelusiv - 03-20-2006, 01:50 AM
New menu system - by joevenzon_phpbb2_import3 - 03-20-2006, 10:29 AM
[No subject] - by thelusiv - 04-17-2006, 03:45 AM
[No subject] - by FFuser - 04-18-2006, 01:01 PM
[No subject] - by thelusiv - 04-19-2006, 02:43 AM
[No subject] - by abs1nth - 04-19-2006, 06:35 AM
[No subject] - by thelusiv - 04-19-2006, 08:14 AM
[No subject] - by abs1nth - 04-19-2006, 01:16 PM
[No subject] - by thelusiv - 04-19-2006, 05:14 PM
[No subject] - by thelusiv - 04-22-2006, 03:45 AM
[No subject] - by thelusiv - 04-23-2006, 03:24 AM
[No subject] - by thelusiv - 04-24-2006, 12:19 AM
[No subject] - by thelusiv - 04-24-2006, 04:24 AM
[No subject] - by thelusiv - 04-24-2006, 04:46 AM
[No subject] - by abs1nth - 04-24-2006, 02:53 PM
[No subject] - by thelusiv - 04-24-2006, 03:15 PM
[No subject] - by thelusiv - 04-24-2006, 06:57 PM
[No subject] - by thelusiv - 04-25-2006, 04:32 PM
[No subject] - by thelusiv - 04-26-2006, 03:39 AM
[No subject] - by abs1nth - 04-27-2006, 10:41 AM
[No subject] - by thelusiv - 04-27-2006, 12:23 PM
[No subject] - by thelusiv - 04-28-2006, 12:44 AM
[No subject] - by abs1nth - 04-29-2006, 05:30 PM
[No subject] - by thelusiv - 04-30-2006, 04:23 AM
[No subject] - by thelusiv - 05-03-2006, 03:47 AM
[No subject] - by thelusiv - 05-04-2006, 12:00 AM
[No subject] - by thelusiv - 05-04-2006, 03:02 AM
[No subject] - by thelusiv - 05-05-2006, 02:59 AM
[No subject] - by abs1nth - 05-05-2006, 07:45 PM
[No subject] - by thelusiv - 05-06-2006, 01:56 PM
[No subject] - by thelusiv - 05-07-2006, 07:30 PM
[No subject] - by thelusiv - 06-07-2006, 02:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)