Sign in to follow this  
Deric

GUI?

Recommended Posts

Deric    126
I have been told for making a game i need to use GUI. Yes...yes... i know the basics to c++ and my main focus is game developement not making math programs lol. I need help on GUI, im really not sure how to use it can someone send a link for any downloads needed and how to use it etc. Thank you.

Share this post


Link to post
Share on other sites
Sneftel    1788
I don't think you know what a GUI is. This is what a GUI is. You may "use GUIs"--heck, you do on a day-to-day basis--and you may even "make GUIs", but there's no such thing as "using GUI" or "downloading GUI".

Share this post


Link to post
Share on other sites
Koobs    148
I'm guessing your new to this, but good on ya for going through the boring math C++ stuff. The reason I think your new is that the math operations are the first thing you do in most language tutorials/books. Also, your usage of the word 'GUI' is a bit off. But never fear! I'm here to help!

A GUI, or Graphical User Interface, is just that; some graphical stuff the user pokes at to use the program. You don't need it for a game, but you'll want graphics unless you want to make a text adventure, not that there's anything wrong with that.

I recommend looking into Python and Pygame. Python is the programming language and Pygame is a library(bunch of code that someone else made for you to use) you can use to make games easily. Search for Pygame with Google. You will find an active community with loads of tutorials that can take you from no knowledge of Python(or even programming in general) to a decent game.

If you wan't to stick with C++, you're going to have to cough up more info for us to work with. What kind of game do you want, what OS are you running, do you want 3D or 2D, and some more detail on your experience.

Good luck, and keep with it.

-Koobs

P. S. Check the Getting Started resources on the site here.

Share this post


Link to post
Share on other sites
dashurc    236
Quote:
Original post by Deric
my main focus is game developement not making math programs lol.


Math is a very important part of programming video games. Just thought I'd throw that out there.



As for GUIs, others in this thread have already answered that question.

Share this post


Link to post
Share on other sites
Deric    126
ok ty for all your replies and about python and pygame i already have that but i thought it was somewhat too "nooby" and wouldn't give the results i am looking for. But then again i really didn't give it enough time. And i know that GUI is a term not a program but i was asking about libraries and other things for GUI. I guess i should try to use python, the only reason i was looking into c++ was because it is used the most in my opinion, most people talk about java or c++ and c++ is alot more percise in my opinion because for printing one line of text it takes about 20 lines of script with java lol and only like 5 for c++.

Share this post


Link to post
Share on other sites
Deric    126
one other thing....How about openGL what really is that? is it a GUI? i know its for games can someone tell me more on it
thank you

Share this post


Link to post
Share on other sites
Mr_Threepwood    150
OpenGL is an advanced graphics API (which is basically a set of commands you can use from pre-compiled libraries). You can definitely make GUI's using Opengl, but it's not beginner friendly.

If you want to do some graphics, one option that is good is using SDL, it's a fairly simple graphics API that's powerful enough for lots of things.

EDIT
You still seem to be confused as to what a GUI is. A GUI is just any graphical user interface. The screen you're reading and using to navigate this forum is a GUI.

You're also very mislead about programming languages. Python is not a "nooby" language, I wouldn't say that any programming language is. It's very powerful and could easily implement graphical games, plus it's easier to learn than C++ which can be very frustrating for the beginner (myself included).

Share this post


Link to post
Share on other sites
Deric    126
cool ty, i will check on that later. Should i just stick to c++ just keeping in mind that openGL, SDL, and alot of other GUI libraries are used with c++ and not for python?

Share this post


Link to post
Share on other sites
Feralrath    163
OK, OpenGL, sdl, directx and so on are GRAPHICAL APPLICATION PROGRAMMING LIBRARIES NOT GUI's

A GUI is a collection of buttons, sliders and other things that you use to access function in an application.

When you start a game and get a list of options that say for example, start, load, reset, options. That is a GUI its an interface for you to use the application.

If you are looking for a Graphical API then i would start with something like SDL.

And by the way OpenGL can be used with python.

If you want a GUI library then try WX Widgets its very good and pretty easy to use.

But i think that you need to stick with learning a language before moving onto something like that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this