Files |  Tutorials |  Articles |  Links |  Home |  Team |  Forum |  Wiki |  Impressum

Aktuelle Zeit: Do Apr 18, 2024 07:36

Foren-Übersicht » English » English Programming Forum
Unbeantwortete Themen | Aktive Themen



Ein neues Thema erstellen Auf das Thema antworten  [ 2 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: Menu System
BeitragVerfasst: Do Mär 24, 2005 17:36 
Offline
DGL Member
Benutzeravatar

Registriert: Mi Jul 21, 2004 22:39
Beiträge: 360
Wohnort: UK, Scotland
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

_________________
Free Map Editor - Game Requirements - Stucuk.Net
-Stu
Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Mär 24, 2005 19:38 
Offline
DGL Member
Benutzeravatar

Registriert: Mi Aug 28, 2002 19:27
Beiträge: 568
Wohnort: Chemnitz / Sachsen
well this sounds interesting to me ...

_________________
Aktuelles Projekt :
www.PicPlace.de


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 2 Beiträge ] 
Foren-Übersicht » English » English Programming Forum


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 17 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
cron
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.046s | 18 Queries | GZIP : On ]