Tagged Questions
2
votes
1answer
255 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 ...
6
votes
3answers
492 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 ...
0
votes
0answers
96 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 ...
3
votes
1answer
132 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
114 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 ...
0
votes
1answer
172 views
Resizing a dynamically resizable widget with a fixed aspect ratio?
I've been trying to figure this out for hours. It is a bit tricky to explain but I'll try to explain it.
I'm making a game where I have a Window with 3 panels in it. The 3 panels must always be ...
3
votes
4answers
1k views
Anyone have a game UI recommendation? [duplicate]
Possible Duplicate:
What C++ GUI library can you suggest?
I am creating a simple 2 dimensional GUI for an RPG game. It will be pretty simple and will contain a few windows a chat box. Does ...
2
votes
2answers
363 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 ...
4
votes
3answers
629 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. ...
3
votes
7answers
5k 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 ...
3
votes
2answers
494 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 ...
39
votes
9answers
23k 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 ...
4
votes
1answer
863 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 ...
9
votes
9answers
3k 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:
...
23
votes
9answers
6k views
What C++ GUI library can you suggest?
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?