Questions tagged [gui]

Graphical User Interface. A term used to describe the tools available to the player to interact with the game.

720 questions
47
votes
7 answers

Immediate GUI - yae or nay?

I've been working on application development with a lot of "retained" GUI systems (below more about what I mean by that) like MFC, QT, Forms, SWING and several web-GUI frameworks some years ago. I always found the concepts of most GUI systems overly…
Imi
  • 1,134
  • 1
  • 8
  • 13
12
votes
3 answers

What is the best way to make a main menu system?

I know that's it's easy to make buttons that highlight when you move your mouse over them, but when it comes to sub-menus I'm kinda stuck. Anyone got some tips on the best way to have a main menu with sub-menus? (like Singleplayer -> Load Save ->…
Dlaor
  • 377
  • 2
  • 8
7
votes
1 answer

Gui Implementation techniques

I've been working with a few game oriented gui libraries trying to find a good fit. More specifically, a GUI that will work on Windows,Linux,iPhone, and Android with minimal special code. In my tinkering I've noticed a few libraries like to render…
deft_code
  • 7,602
  • 5
  • 37
  • 54
7
votes
2 answers

What in-game user interfaces are available?

I'm wondering what options are available for in-game interface libraries (not OS-level interfaces) and what are your opinions about them? Please put only one library per answer and follow this template. Name Link to website Cost License (if free or…
Fire
  • 742
  • 1
  • 7
  • 17
3
votes
3 answers

Keeping track of focused widget in GUI tree

I'm designing a GUI framework based on trees of widgets. Widgets are general control and container structures that are everything from panels to buttons to file dialogs. Widgets have an array of child widgets; a button contains a label and maybe…
Aaron
  • 725
  • 1
  • 9
  • 17
2
votes
1 answer

screen space or pixel space for a GUI?

I want to design a very simple GUI for my game using OpenGL. So far, every GUI implementation I have seen uses pixel space coordinates ( x range 0.0 to screen width and y 0.0 to screen height) Why aren't they simply using screen space coordinates ?…
user2591935
  • 165
  • 4
1
vote
1 answer

Is it possible to skin Qt 4.5 such that it has a 'game-like' interface?

Is it possible to skin Qt 4.5 such that it looks less like an application framework but more of a game? I guess this probably means replacing the canvas, the title-bar and the artwork of the various widgets. Will such an approach be platform…
Extrakun
  • 2,742
  • 4
  • 26
  • 34
1
vote
1 answer

How can I implement dynamic button size?

I'm on the process of planing a sort of a 2D/2.5D, pixel-art multilingual game, while I learn about game development. I have a pretty solid background at programming, but when it comes to game design, I don't know too much. My particular question is…
HugoB
  • 13
  • 2
0
votes
1 answer

What method is best to display respawn times?

I'm currently working on multiplayer game and am trying to work out how to display respawn times. I had a few ideas in mind, taking inspiration from other games I've played before. Text Based Progress Bar Visual Timer Is there another way to…
yuritsuki
  • 1,247
  • 2
  • 11
  • 21
0
votes
1 answer

AAA quality game UI kit

I have often come across many websites which provide free/ paid PSD layouts of website UIs for use by web/ graphics developers. Are there any such sites where one can find PSD layouts of UI kits for games? Actually I am looking for some AAA quality…
Debojyoti Ghosh
  • 257
  • 2
  • 5
  • 15
0
votes
1 answer

How do Nethack frontends work?

I have been trying to learn about GUI frontends for Nethack, but I have been unable to determine how do they get the game information (map, inventory, player info, enemy locations, etc) from Nethack? As in, is there some API that allows these…
SargentD
  • 103
  • 2
0
votes
1 answer

Does a successful attempt count as an attempt?

I'm writing a video game and I'd like to know if I should include the "successful" attempt in the count of "total attempts". For instance, in a clay shooting game, if the player needs four shots before they hit the target: bullet one = miss bullet…
-2
votes
4 answers

Is it worth taking the time and making a game scripting engine instead of directly coding?

I don't know exactly everything there is to game programming and I forget things so I like to write libraries that are easy to use so I can use the thing that's hard to do such as file serialization. Anyway this brought me to a question, should I…
LiquidFeline
  • 1,381
  • 1
  • 13
  • 31
-3
votes
1 answer

GUI layouts in games?

What is a general process of making a GUI in a game without resorting to a full blown GUI library? What I mean by this is how would I go about constructing a GUI layout like those in Java that are not reliant on pixels at a certain app state and are…
Elidor
  • 5
  • 2
-4
votes
1 answer

It is okay to use a string as a resource location key in a GUI system?

I'd be afraid of the efficiency. Is there a better way?
pass86
  • 1