Graphical User Interface. A term used to describe the tools available to the player to interact with the game.
0
votes
1answer
53 views
Variable number of GUI Buttons
I have a generic HTML5 Canvas GUI Button class and a Scene class. The Scene class has a method called createButton(), which will create a new Button with onclick parameter and store it in a list of ...
0
votes
1answer
105 views
Unity GUI not in build, but works fine in editor
I have:
GUITexture attached to an object
A script that has GUIStyles created for the Textfield and Buttons that are created in OnGUI(). This script is attached to the same object in number 1
3 ...
2
votes
0answers
38 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 ...
1
vote
0answers
122 views
What's a good C++ game engine for beginners? [closed]
I'm looking for game engines.
I'm not looking for things like OPENGL, DirectX, or Irrlitcht; those are game libraries?
Also can it be C++ native code?
So any good ones out there?
7
votes
1answer
237 views
Entity/Component System and UI “Entities”
I'm still green to entity/component systems. I find that since I have useful components for drawing sprites (or spritesheets) and handling input (mouse/touch clicks), I naturally want to reuse these ...
2
votes
2answers
114 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 ...
1
vote
1answer
73 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 ...
2
votes
1answer
104 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 ...
1
vote
2answers
180 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 ...
0
votes
1answer
89 views
Slick2D and Nifty GUI
I am currently trying to combine both slick2d and nifty to work together. I've had some amount of success - I can now actually run my test and it won't crash. As far as I can tell, it will also ...
1
vote
1answer
388 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, ...
-3
votes
1answer
215 views
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 ...
0
votes
1answer
318 views
Responsive GUI with Unity and C# script
I'm working on my character menu for an RPG in Unity. I have my menu set up with different buttons for different categories. All is well, except when I re-size my screen, my layout is sized ...
1
vote
1answer
114 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
1answer
762 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 ...
1
vote
2answers
961 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
1answer
300 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 ...
-4
votes
1answer
68 views
It is okay to use a string as a resource location key in a GUI system? [closed]
I'd be afraid of the efficiency. Is there a better way?
1
vote
2answers
396 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 ...
2
votes
3answers
351 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 ...
1
vote
1answer
278 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 ...
0
votes
0answers
122 views
Most effective way to build a lobby application for a game?
I'm trying to steer clear from "which technology should I use" and more of "what aspects of tool s should I look for to make this easy". What is the rest of the industry doing? Web stacks? I'm trying ...
2
votes
1answer
222 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 ...
-1
votes
1answer
1k views
AAA quality game UI kit [closed]
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 ...
27
votes
9answers
2k views
Why should I choose to design a health bar rather than heart containers?
When designing any hero-based game, be it adventure, RPG, brawler, or similar, you eventually need to decide on your health system. Barring any regenerative systems with zero UI (like Call of Duty), ...
1
vote
0answers
55 views
UIToolkit VerticalScrollable dont hide when is moving
im experiencing a weird bug with the Vertical Scroller (mainly in iOS, but even in the Editor): when a vertical scroller is still "moving" (so when it'snt totally stop) it's impossible hide this ...
7
votes
3answers
169 views
Where to show user shot's power on touch screen?
I want to show user shot power in standart way
(the more user holds finger on the screen the stronger is shot)
Where is the best place to show this icon on touch screen(when I use mouse it's better ...
1
vote
2answers
502 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 ...
0
votes
1answer
100 views
Can threads be used to run resource consuming methods without -ever- freezing UI?
Until recently I was sure that running expensive operations in threads can prevent UI freezing, but now I'm not.
Is it not guaranteed that a threaded operation will not hog the main thread's ...
4
votes
1answer
425 views
How to make a simple HUD with no library
I am writing a simple game in c++ using opengl in a windows system.
I have the scene and I need some informative text to appeared to the left top/bottom of the screen
I am printing these messages ...
0
votes
1answer
255 views
Unity3D GUILayout Window Wont Show Components
I am fairly new to Unity, but picking things up quick. This is actually one of the first problems I have come across that has me stumped.
I am trying to print a good amount of components onto my GUI ...
-1
votes
4answers
200 views
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. ...
0
votes
2answers
178 views
Best approach for Event driven UI
Had an idea for a modification to a game, however the core functionality heavily involves UI, and the API for the mod is event based.
The player will have there own custom data object, so I know one ...
2
votes
1answer
202 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 ...
3
votes
1answer
241 views
Tech Tree layouts for games?
I'm trying to do a tech tree GUI for my game, but i have limited width and the tree has alot of branches, the problem is if I make them small to fit the width, the tech tree is too small to read.
For ...
1
vote
1answer
98 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 ...
8
votes
3answers
1k views
Font outline in OpenGL, FTGL
I'm using FTGL library to render fonts in my game, but I have completely no idea how to create an outline around text. Achieving a shadow could be easy, because I can simply do it like this:
(pseudo ...
2
votes
1answer
261 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 ...
0
votes
0answers
120 views
How to efficiently render resizable GUI elements in DirectX?
I wonder what would be most efficient way to render the GUI elements.
When we're talking about constant-size elements (that can still be moving), the textures' atlas seems to be good.
But what with ...
2
votes
2answers
504 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) ...
-1
votes
1answer
388 views
Animation Trouble with Java Swing Timer - Also, JFrame Will Not Exit_On_Close [closed]
So, I am using a Java Swing Timer because putting the animation code in a run() method of a Thread subclass caused an insane amount of flickering that is really a terrible experience for any video ...
2
votes
1answer
150 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 ...
0
votes
0answers
80 views
What would be the best mean for a gui with a lot of FX in Unity
The game I am working on (we are in R&D) is based almost exclusively on a windowed gui with a lot of FX (fading, growing, etc). We will also likely need custom widgets (like a sound recording ...
3
votes
1answer
175 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 ...
4
votes
1answer
159 views
Rendering only a part of text FTGL, OpenGL
I'm using FTGL library to render text in my C++ project.
I can easily render text by using:
CFontManager::Instance().renderWrappedText(font, lineLength, position, text);
Unfortunately there is a ...
1
vote
2answers
251 views
Events Driven Library XNA C#
Language: C# w/ XNA Framework
Relevant and Hopefully Helpful Background Info:
I am making a library using the XNA framework for games I make with XNA. The Library has a folder(Namespace) dedication ...
1
vote
2answers
124 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
1k 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 ...
2
votes
3answers
196 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
338 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 ...