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

learn more… | top users | synonyms

10
votes
2answers
600 views

In a GUI, should input be handled when the button is pressed or released?

In the menu system for our game (selecting levels, options, etc.), the player presses the a button on the gamepad to go to the next screen. I coded the menu system to wait until the button is released ...
4
votes
3answers
725 views

What C++ containers should I use for my UI elements?

I am writing some UI stuff for my games in C++. Basically its a very common problem, but I dont know the best answer yet. Suppose inside my UI Library I have a view class which renders 2D/3D scene. ...
-4
votes
1answer
252 views

In esenthel engine how can I remove some object from Gui class?

I know many people in this site may not know esenthel engine at all and my question may be better answered at engine forum but I'm putting it here to share the name of a real easy to code gameengine ...
-4
votes
1answer
298 views

how can i make GUI that used to be in the old dos games but without the old look in openGL

I want to build simple OpenGL application that mustily are GUI based to collect from user input and to the user can push buttons . now i saw allot of GUI frameworks that offer GUI to openGL . but ...
3
votes
1answer
5k views

Is it possible to overlay EditText box on a GLSurfaceView on Android?

I am trying to add a "PlayerName" box on top of a opengl menu background, is this possible? I've tried various layouts, but they don't seem to allow an EditText box to appear on top What is the ...
4
votes
4answers
1k views

Have a while loops but inputs depend on events fired, what are some ways on getting the input?

I think I'm at a conundrum here, I've creating a matching game in C# winforms. And I'm 90% done, the only thing left is the game loop. The matching games consits of two multidimensional arrrays which ...
2
votes
1answer
1k views

Looking for a GUI library for OpenGL, or tips for my own (MetroUI)

I am making an OpenGL graphics accelerated FPS, and I need to find a library to handle GUI correctly. My current GUI handler just wont do! Yes, as in the title says, the UI of the game is Metro ...
2
votes
1answer
2k views

Creating a checker board in C# winform

I am using the PictureBox class to create a checkerboard, and it not really working all that well. I've created the loop: PictureBox[,] squares = new PictureBox[10,10]; for (int i = 0; i < ...
5
votes
2answers
354 views

What to think about when designing a simple GUI for a quiz game

I am coming close to finish my first iPhone game ever, as a matter of fact also my first programming experience ever, which is a quiz game. I have all the functionality i want and is currently ...
6
votes
5answers
463 views

What are the pros and cons of non-unique display names?

I know of at least big title game (Starcraft II) that doesn't require unique display names, so it would seem like it can work in at least some circumstance. Under what situations does allowing ...
2
votes
1answer
1k views

zoom to cursor calculation

I want to be able to zoom in and out of the map using the scroll wheel. I want to zoom towards the cursor like google maps does but I'm completely lost on how to calculate the movements. so far, all ...
2
votes
2answers
154 views

Resources on expected behaviour when manipulating 3D objects with the mouse

In my animation editor, I have a 3D gizmo that sits on the origin of a bone; the user drags the mesh around to rotate the bone. I've found that translating the 2D movements of the mouse into sensible ...
3
votes
7answers
6k views

GUI for DirectX

I'm looking for a GUI library built on top of DirectX- preferably 9, but I can also do 11. I've looked at stuff like DXUT, but it's way too much for me- I'm only needing some UI controls which I would ...
9
votes
1answer
2k views

Separating physics and game logic from UI code

I'm working on a simple block-based puzzle game. The game play consists pretty much of moving blocks around in the game area, so it's a trivial physics simulation. My implementation, however, is in ...
1
vote
1answer
108 views

Unused frame(window) management

I'm rewriting my game now using software designing patterns and want to do the code, most correct I can. While implementing MVC(Model View Controller) I got a question which I would like to discuss or ...
20
votes
7answers
8k views

HTML5 Game (Canvas) - UI Techniques?

I'm in the process of building a JavaScript / HTML5 game (using Canvas) for mobile (Android / iPhone/ WebOS) with PhoneGap. I'm currently trying to design out how the UI and playing board should be ...
5
votes
4answers
482 views

Creating non-rectangular hotspots and detecting clicks

Say for a game with irregular hotspots (say Risk, or a strategy game like Paradox's Hearts of Iron or Crusader Kings), how do you Define a non-rectangular hotspot of irregular shape (much like a ...
3
votes
2answers
521 views

Should Game Gui APIs use themes?

I'm making a GUI API (in C++) for games which uses Allegro 5 as a backend. I looked at how GuiChan works and noticed that they intend for the user to override the paint event and do all the drawing ...
6
votes
5answers
2k views

Are there any good UI widget toolkits for Pygame? [closed]

Are there any good, modern widget toolkits for Pygame? I've looked at PGU, but it's apparently unmaintained.
3
votes
1answer
872 views

2D game engine for UI - suggestion needed

I am planning on making a simple real-time strategy game from the series Stargate Universe. For those who don't know, in the series' center is a spaceship called Destiny. It has a nice control room, ...
4
votes
3answers
261 views

Runtime Storage vs Static Storage

Runtime Storage (hardcoded) vs Static Storage (file storage) (original question) I extended my engines GUI from procedural style to object orientated style, but I still have to create ...
1
vote
1answer
2k views

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 ...
8
votes
1answer
244 views

Is it possible to make calculations in a Quake 3/Live hud?

I would like to add a new field to a Quake 3/Quake Live HUD that shows the following number: min(health + armour, health * 3) * (1.5 if guard_rune else 1) This is the amount of damage you can take ...
6
votes
2answers
761 views

Graphical Interface Design

I have the following problem: Although I know some of color theory, and the interface design ideals (about how it must be usable, and etc...), my interfaces are REALLY ugly. fugly, eye bleed material, ...
6
votes
1answer
918 views

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 ...
45
votes
9answers
38k views

Good GUI for OpenGL [closed]

I am starting to learn OpenGL with FreeGLUT using the Superbible and the knowledge i have from my elementary graphics to brush up on my skills. To get more from this experience i want to integrate a ...
3
votes
3answers
342 views

What is the name for the little numbers that appear over characters' heads when they lose health?

...you know the ones. Something like "value overlays" or "value pop-ups" describes them quite well, but I was thinking they might have a real name?
4
votes
1answer
988 views

Defining GUI control event responses using Lua in C++

I'm using Irrlicht(C++) for a 3D engine, and it has a built in GUI system. The GUI events are something like this: switch(eventtype) case button_pressed:     stuff case ...
5
votes
2answers
2k views

Can a standalone WPF application create an interface that looks like a Flash interface?

It seems like WPF was created as the application answer to Adobe's Flash. Silverlight is used for creating web pages. But, can that same functionality be pulled into a standalone WPF application. ...
12
votes
3answers
2k views

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 ...
3
votes
2answers
1k views

UI design examples? [closed]

I am not asking the theory of UI design, or how to do one, I am asking for examples and resources, like... How to draw this fiddly stuff, or how to code another circular thing, or a gallery of game ...
19
votes
6answers
994 views

Coordinate system handling for 2D UI

Following on from the aspect ratios question, I'm interested to hear what other people are using when working on 2D UI systems (most likely their own home-grown solutions). Specifically, how do you ...
5
votes
2answers
969 views

How do I render my own DirectX Stuff to a full screen WPF's DirectX surface?

Basically Danny Varod seems to know as he posted it as an answer to this question: Display a Message Box over a Full Screen DirectX application I think, theoretically this might work, but I have no ...
10
votes
9answers
4k views

GUI Elements - How to go about them?

Note: I plan on making my own GUI system. It will be good for learning, lightweight, only have bits I need, ties in with the game, etc. I was thinking about how to do it. The elements I mean are: ...
8
votes
3answers
1k views

Is gameswf usable? [closed]

The project page indicates that it's pre-alpha code, and suggests the actionscript support is weak. Flash UIs are nice, so I was wondering if anyone has experience getting gameswf to the point where ...
6
votes
2answers
789 views

What in-game user interfaces are available? [closed]

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 ...
22
votes
9answers
8k views

What C++ GUI library can you suggest? [closed]

I'm building my own game engine in C++ and I'm currently deciding on what user interface I should use. Should I use a library? Should I make my own?
26
votes
3answers
5k views

How do you approach resolution independence in raster based graphics content?

Those games that are not fortunate enough to run on a locked platform spec, like handhelds, need to run across various resolution formats and aspect ratios. In a 3D game you might have a HUD or menu ...