I made a RPG terminal game.Now I want to add some features to it.Someone recommended that i use qt. Unfortunately it needs to be done soon.Which means I wont have enough time.I would like someone to please refer me to an article or tutorial that strictly deals with making features for c++ code.
Basically, I want to add a gui.I have no experiance with that sort.This will be my first time moving from console and trying something new.My game is a mission game, where the survivor fights against enemies. I would also like to show the bullets moving, make the enemies appear real.Like any other RPG interface game.
If you mean a game with 2D graphics, then while you could work with Qt it'll be a lot more tedious than if you had used a library meant to produce 2D graphics. A lot of veteran members of this forum have a preference for SFML. See if it works for you: http://www.sfml-dev.org/
If you mean a game with 3D graphics, well that's going to be an absolute headache for a beginner and I absolutely positively do not recommend going this route from the start. Sorry. :)
can you do 2-d style graphics with sfml? i thought it was more controlling whats drawn to the window and then audio, some system level routines, and networking
Yes... SFML is mainly a graphics library with added features like networking, sound support, ect. Here is all the main modules which should give you a idea of what it can do http://www.sfml-dev.org/documentation/2.1/modules.php the main graphics will be in the graphics module http://www.sfml-dev.org/documentation/2.1/group__graphics.php .
edit: you would need something like tgui for the menu and then ogre/allegro/opengl for graphics
Not really sure what you are trying to get at with this... tgui is a library forbuilding GUI's in SFML and it will not work with orge or allegro...
Though you can quite easily create some very a very simple GUI framework in SFML. Most likely all he would need for GUI components would be labels, buttons and maybe a textbox which shouldn't be to hard once you get used to the SFML library.
Anyways @ngopza I agree with Albatross on this one. From the little information you have given it sounds like you are more looking to make a 2D game and QT probably wouldn't be the best of choice to do so.
QT is more geared towards making GUI applications (Like A notepad or a calculator, or a email client or stuff along those lines). Though QT does have support for what you are looking to do (Here is a tutorial that uses QT or I should say QML to create a game in QT http://qt-project.org/doc/qt-4.7/qml-advtutorial.html ) it probably isn't the best library to choose for game development.
I would instead like Albatross said take a look at SFML or if you don't like that you can check out others like SDL 2.0 or Allegro.
If you have more questions you will most likely have to provide us with more information on exactly what you are trying to do. Try and be as detailed as possible also. But wish you the best of luck.
First sorry for the late reply.Guys I need a 2d game.I made the game and it works well on the terminal.All the programs I did were terminal based. Now I need to transform my code 2 make a 2d game."Ways the fun when you don't even see when you kill an enemy, but all you see is it disappearing".
Something a beginner can be able to use effectively.
Thanks for your input and sharing your knowledge.
Well I've been told that you can use Qt to make the window and then use OpenGL/Allegro/SFML/SDL to do the game and have it draw to the window. Though, I've heard it may have a few hicups, but hicups in programming are just challenges to figure a solution to.
You can load images in qt just like the other image libraries though it probably isn't the most practical. There are bunch of QML demos and stuff on the nokia website also when you download qt it should come with the demos and examples program.
This will be your biggest problem. Even after you learn how to code it you still have to draw everything. There is a reason that even Indie games have art directors. You can try to look for something here: http://opengameart.org/ but I doubt you'll find everything you need quickly. Remember to give credit where it's due.
I have to agree with Computergeek01 on this one. You need it to be done soon, but programming is never fast. You will have to do more reading to get an understanding of what you want to do and then work at implementing it. If you can't do images, then you will have to get an artist to do them or use free art like the link he posted.