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

learn more… | top users | synonyms

3
votes
1answer
260 views

Revamping my GUI to be more efficient and less brute

I am building a Java game from scratch right now. So far, it runs fine, but the issue is with my GUI and how it works. Basically, it's a tile-based game. Each time the person moves a different image ...
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, ...
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 ...
3
votes
1answer
187 views

GUI device for throwing a ball

The hero has a ball, which shall be thrown with accuracy in a court on iPhone/iPad. The player is seen from above, in a 2D view. In game play, the player reach is between 1/15 and 1/6 of the height of ...
2
votes
2answers
469 views

how to keep a GUI on-screen without moving or resizing it according to camera movement

Hey i'm trying to make a GUI lib with SFML, and everything's done except one problem: Making the Interface stay still even when the camera moves or zooms in/out. This would be easy to fix if zooming ...
2
votes
1answer
3k views

Should I use XNA or Unity to build a video game? [closed]

My friend and I are planning to make a video game (like Slender) where the character is stuck in a building, when lightning strikes, and the lights go out and your objective is to find the back-up ...
2
votes
3answers
158 views

How can I model a “weapon overheating” mechanic?

I want to create a weapon overheating system very similar to the plasma rifle in Halo. You can watch a video of the plasma rifle firing. What I want to do is to create a flexible logic that can be ...
2
votes
2answers
121 views

How should I provide a navigation system for a world with infinite space?

The world is generated by perlin noise chunks and will only be saved once that chunk has been generated. It will also not necessarily have one obvious (to the user) central point anywhere in the ...
2
votes
1answer
386 views

How should I connect objects when using the MVC paradigm?

This has been confusing me for the past week as I am trying to make my first actual game. It's only my 2nd year learning Java so I am really trying to learn how to program like a professional ...
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
3answers
638 views

How to design a GUI / controls system classes

I'm at the stage when I need to develop some kind of GUI with windows, clickable buttons, etc. It's going to be a RPG game so these components will be used extensively so I want them to be as flexible ...
2
votes
3answers
206 views

Should I be worrying about limiting the number of textures in my game?

I am working on a GUI in XNA 4.0 at the moment. (Before you point out that there are many GUIs already in existance, this is as much a learning exercise as a practical project). As you may know, ...
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
2answers
98 views

Print on the GUI in Unity

I'm trying to show the players name on the GUI with a label. GUI.Label(new Rect(10,10, 100, 30), playerName); Instead of use the default style I want to use a different font with larger character. ...
2
votes
1answer
275 views

Inventory View Screen

Looking to create an inventory screen in Unity, and trying to think of the best way to do it. My current line of thinking is having a few rows of squares for inventory items that are drag and ...
2
votes
1answer
175 views

OpenGL and Java user interface architecture/comunication [closed]

I'm working on the UIs for a turn based tactical rpg made with Java and LWJGL. I'd like to make a set of "dynamic" UIs similar to those of the game Torchlight 2. I would like to know if there are any ...
2
votes
1answer
1k views

Using Nifty GUI with Slick2D

As seen here NiftyGUI has it's own GameState classes, I want to know if for adding UI to one state of my game I need to make that state NiftyOverlayGameState or still a BasicGameState but to add a ...
2
votes
3answers
589 views

Can't use the hardware scissor any more, should I use the stencil buffer or manually clip sprites?

I wrote a simple UI system for my game. There is a clip flag on my widgets that you can use to tell a widget to clip any children that try to draw outside their parent's box (for scrollboxes for ...
2
votes
2answers
119 views

Should widgets be part of a scene in a 2D game?

I'm in the middle of separating logic and drawing of a 2D game, i.e. I'm moving from scenes/entities that draw themselves to scenes/entities that merely store and update data, getting drawn by a ...
2
votes
1answer
385 views

How can I prevent clicks from going through a GUI.Box?

I have a GUI.Box that I slide in from the side of the screen. How can I prevent mouse interaction from going to any objects under it (another GUI.Button for instance, or for that matter an ...
2
votes
2answers
561 views

Clutter for game GUI

I'm pretty new to game development, having only written a simple 3d game for a class project, but I'd like to get started on a bigger project. I'm writing an MMORPG to run in both the browser (WebGL) ...
2
votes
2answers
559 views

Slick & NiftyGUI. Nifty initialize exception

I found my self into trouble when trying to run a Slick game with a Nifty Game State. This is the code: @Override protected void initGameAndGUI(GameContainer container, StateBasedGame game) ...
2
votes
1answer
291 views

way to implement a menu -pratical

i do my first game and already read alot about design strategie, programming style, design .. and so on theoretically it works perfect but in practice i dont know if i do thinks "right" i have three ...
2
votes
1answer
147 views

How should I architect my GUI for my HTML5 canvas cell phone game? [closed]

I'm making a game on the HTML5 canvas and my intent is to run or port this code to work on cell phones. Right now it only runs on my desktop computer. I'm trying to write my GUI code but I'm not ...
2
votes
1answer
335 views

Is jButton in Java suitable for a Game GUI?

Recently I have encountered the issue of trying to add a GUI into my game using Swing. The game will randomly & infrequently flash the jButton or Swing component when I add it to my jFrame. I'm ...
2
votes
1answer
399 views

XNA GUI: Creating a 'scroll pane' widget

I'm trying to create a simple GUI system and am currently stuck on how to implement a textarea with a scrollbar. In other words, the text is too large to fit into the view area. I want to learn how to ...
2
votes
3answers
706 views

Application toolkits like QT versus traditional game/multimedia libraries like SFML

I currently intend to use SFML for my next game project. I'll need a substantial GUI though (RPG/strategy-type) so I'll either have to implement my own or try to find an appropriate third party ...
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 < ...
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 ...
2
votes
0answers
85 views

1:1 mapping of texels to pixels with DX11 and multisampling and linear interpolation

Is it possible to get a 1:1 mapping of texels to pixels on a multisampled target in DX 11 with interpolation? It seems to me that the texture coordinate used in the shader is always one of the ...
2
votes
0answers
462 views

Developing user interface [closed]

i am beginner in graphic development and have no experience with it, i only developed always with standard win controls. Now i want to create interface in c# for my sports management simulation game, ...
2
votes
0answers
356 views

Resources on GUI library API design? [closed]

I've tackled this topic maybe a dozen of times, but each time I write a GUI library, at some point I look at it and see that it's badly designed (from a programmers point of view). I've looked through ...
1
vote
1answer
210 views

What type of GUI element is the Starcraft points counter?

I have recently played 2-3 games of StarCraft 1 and after each game the statistics screen shows up. The part I like on this screen is the points counter. It starts from zero and then it counts up to ...
1
vote
1answer
198 views

Ignore specific key press in textbox

there is a text box on GUI in my application created using Unity3D. in the textbox user can input only the keys of "A-Z", "0-9" , "enter key" , "." and "," other key press should be ignored (not ...
1
vote
2answers
2k views

How to implement SDL Button/Menu GUI with callbacks?

I have been reading Bjarne Stroustrup's Programming Principles and Practice Using C++ for a while now and am nearing the end of the book. I have to tried to make a very simple game using the SDL ...
1
vote
2answers
582 views

How to make a “GUI In Game”?

My game is very GUI based, the way how it works is that I have a GUI class, which contains the basic GUI elements, a parent GUI object, and a copy of the main game's class object. The game starts out ...
1
vote
2answers
728 views

How to make a gui button follow a path after a touch?

I would like a button in my gui menu to follow a specific path if we selected it, I am wondering how I could do it: if we touch the button, then it can only move on the specific path, it is an arc ...
1
vote
1answer
562 views

Does XNA have a built-in GUI library?

Does such a thing exist or do I have to code one? My project needs textboxes, buttons, input capture, timings for "press and hold keys" and so on. These are quite standard for a GUI library but hard ...
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 ...
1
vote
1answer
455 views

Candy crush saga popup-like messages

I was wondering how could I make in Android something like the popup messages seen in Candy Crush Saga, those messages like "Delicious!", "Tasty!" or similar: As well as the score of each movement, ...
1
vote
1answer
103 views

Deciding when to switch focus between UI elements

I've been coding a simple logic game recently and there is a UI decision that has been bothering me. Since certain blocks of logic are going to be used across many levels (e.g. logic to reverse the ...
1
vote
1answer
631 views

Flickering GUI on Android

New version of Unity is causing rather weird problems on Galaxy S device. The GUI starts to flicker, tear and disappear altogether at random in different screens. But this only happens on the second ...
1
vote
2answers
128 views

Informing GUI objects about screen size - Designing

I have a problem with designing classes for my game which I create. In my app, there is: class CGame which contains all the information about game itself, e.g. screen width, screen height, etc. In ...
1
vote
2answers
2k views

How to add text box in slick2d?

I wanted to let the player rename the character of my game. So I thought that making a text box and when he clicks the ok button, the text inside the text box will make it to a string and render it on ...
1
vote
1answer
307 views

What's the recommended way of doing a HUD for an android game?

Basically the question is in the title. I'm creating a RTS game and I will need buttons like attack move / attack ground, etc. I am not using any engine. When people do games in OpenGL for android ...
1
vote
1answer
392 views

Nifty popup fails to register

I'm new to Nifty GUI, so I'm following a tutorial here for making popups. For now, I'm just trying to get a very basic "test" popup to show, but I get multiple errors and none of them make much sense. ...
1
vote
1answer
255 views

GUIText size on 4:3 and 16:9 is different

I have a text (guiText) on the screen. It shows correctly when viewed on 16:9 resolution. But it scales up when viewed on 4:3 (e.g iPhone4). I am using following ObjectLabel script to place it on ...
1
vote
1answer
104 views

Why isn't this UIButton visible in Xamarin.iOS?

I'm trying to implement buttons into my game. I noticed iOS has the UIButton class, which I tried, but upon drawing it nothing is shown. The asset image is properly loaded, I've checked this. The ...
1
vote
1answer
166 views

LWJGL Wait for key press in a single method

Currently I am implementing the possibility in my game to change the keyboard configuration. Therefor, I have a menu in which is a button for each action the player can do. If the player clicks on one ...
1
vote
1answer
2k views

Enter Key press event detect from textbox - Unity3D - C#

i am doing a project with Unity3D . in the interface there is a textbox. once user input some text and and press enter key then i want to read the text in text box. so please tell me how to ...