DGL
https://delphigl.com/forum/

Menu System
https://delphigl.com/forum/viewtopic.php?f=19&t=3965
Seite 1 von 1

Autor:  Stucuk [ Do Mär 24, 2005 17:36 ]
Betreff des Beitrags:  Menu System

Im going to remake the menu system i made for Helios and i was wondering if anyone would be interested in the menu system im going to make being open source. The menu system will be an emulation of the Q3 familys menu's (tho Q3 never had a menu system, it was all programmed into the exe if im correct) just like helios's was.

The good thing about the Q3 familys menu system is that its in text format, and is easy to read by humans.

Code:
  1.  
  2. menuDef
  3.     {
  4.         name                    "mainMenu"
  5.         fullScreen              1                           // MENU_TRUE               
  6.         rect                    0 0 640 480                     // Size and position of the menu
  7.         visible             1                           // Visible on open
  8.         focusColor              1 1 1 1                     // Focus color for text and items
  9.         descX                   375
  10.         descY                   425
  11.         descScale               .8
  12.         descColor               .235 .882 .847 1                    // Focus color for text and items
  13.         descAlignment           ITEM_ALIGN_CENTER      
  14.  
  15.         onOpen
  16.         {
  17.             exec                "music music/cairn_bay/impbasee_explore" ;
  18.             setfocus            newgamebutton
  19.         }
  20.  
  21. Etc.....
  22.  


Below is a pic showing what Helios' could do, and what the new one should be able to do better.

Dateianhänge:
Dateikommentar: These show some of the errors that are in Helios's emulation.

Top is the rtcw main menu. You can see 2 noticable errors. the blue at the left side and the blue in the middle.

the bottom is the quitcredit screen, you can notice the text isn't aligned

menus2.jpg [200.17 KiB]
46-mal heruntergeladen
Dateikommentar: Top one is the play menu from RTCW, compleate with ROQ background

The bottom one is from JK2's main menu, the @menu things point to text files, tho i never got round to make it swap the text names for the actual text (its cos it supports multipul langu

menus.jpg [168.35 KiB]
49-mal heruntergeladen

Autor:  rswm [ Do Mär 24, 2005 19:38 ]
Betreff des Beitrags: 

well this sounds interesting to me ...

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/