Hi everybody!
I'm developing a small (for now) 2d game with sdl and opengl.
I've reached the point i need to make a main menu, some options menus, a character-weapon selection screen, and some in-game hud (healt, ammos, modifiers, event texts like "you picked a treasure!"...).
So i need to render some text and images.
I've already tried successfully font libraries and so on.
Anyway i'm wondering: is there a simpler and more flexible approach to making all these things.
Like some easy to implement menus, counters, different size-color texts, etc..
I've looked in some GUI libraries, like CEGUI, but i'm wondering if it's the right approach..
I mean, i'm lookin for just some simple selection menus, nothing like draggable windows or resizable widgets. Also my game is using joypads, while i found most of these libraries mouse oriented..
And are they capable of rendering texts in a flexible or nice looking way?
I'm just looking for some advices
Need an advice on GUI-HUD for my 2D game
I maked rendered text and own GUI for myself . I can tell you how to do that.If you are interested , tell me and I will help you.
If you like to drop me some code, i'll surely dig in it!
Anyway i was looking for a more hud focused library, and simpler to make small menus..
Anyway i was looking for a more hud focused library, and simpler to make small menus..
Than let's begin. First I will show you how my GUI works and looks.Then you can choose what you want to learn. Here is my GUI:
And about library that is made for GUI. Like you, I've been searching the simple way to do it, but I couldn't find it. So I begun to make my own code to render these GUI things.
Tell me what things you'd like to learn.
And about library that is made for GUI. Like you, I've been searching the simple way to do it, but I couldn't find it. So I begun to make my own code to render these GUI things.
Tell me what things you'd like to learn.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement