GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Jul-2007, 15:09
Rain Rain is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Rain is on a distinguished road

Creating a game with graphics in C++?


Hi all,
I just started learning C++ ~1 month ago and I have recently started to design my own RPG game for some fun and practice using the language. However, I would like to be able to take it to the next step and add graphics to my game instead of executing it from the command line. How can I accomplish this? Thanks for any help, advice where to get started is greatly appreciated.
  #2  
Old 11-Jul-2007, 15:35
obduk obduk is offline
Junior Member
 
Join Date: May 2007
Posts: 54
obduk will become famous soon enough

Re: Creating a game with graphics in C++?


What u have put forward is a very general, and depends how far you would want to take it. I would however taking a quick look at OpenGl, as it can do both 2d and 3d graphics, allthough this may be a bit more than what you want to do.
  #3  
Old 11-Jul-2007, 16:45
Rain Rain is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Rain is on a distinguished road

Re: Creating a game with graphics in C++?


Well I would like to learn enough to create pretty sophisticated graphics (3D such as you might see in a game today) but I realize that you can't start there so for now I would like to learn the basics and be able to apply them (2D or 3D at this point Im not picky) to what I am currently creating. Thanks.
  #4  
Old 12-Jul-2007, 03:02
obduk obduk is offline
Junior Member
 
Join Date: May 2007
Posts: 54
obduk will become famous soon enough

Re: Creating a game with graphics in C++?


Well if your aim is to ultimately create 3D games then I would just take the plunge and go strait for OpenGl. To begin with it can be a little complicated, but it shouldn't take you long to make a simple 3D maze kindof game, especially if you look for some of the very good online tutorials out there. As for potential, well OpenGl is the top, games such as the Quake range etc use it.
  #5  
Old 15-Jul-2007, 05:07
davis
 
Posts: n/a

Re: Creating a game with graphics in C++?


Quote:
Originally Posted by Rain
Hi all,
I just started learning C++ ~1 month ago and I have recently started to design my own RPG game for some fun and practice using the language. However, I would like to be able to take it to the next step and add graphics to my game instead of executing it from the command line. How can I accomplish this? Thanks for any help, advice where to get started is greatly appreciated.

I strongly recommend that you download Qt from http://www.trolltech.com/. It is very C++ centric and it supports OpenGL through its OGLWidget. Also, it is platform agnostic, which means that apps written in Qt will readily port to Linux, Mac and Windoze (and others).

Also, if you need database support, it is available through Qt for a wide variety of popular (mostly) relational database systems.

Since you are relatively inexperienced in C++, my recommendation is that you use Qt extensively since it is very "good" C++ and those lessons will be of value to you. Qt also helps remove some of the numerous complexities of "raw" C++ from you.

Using (included with Qt) the "designer" application, you can readily produce GUIs with ease. Again, the product of your labors will run on multiple platforms with little (comparatively) effort. That means that, should your game become popular, it will (once targeted) run on the various popular platforms.

Learning OpenGL is not for the timid. It is a very powerful API that is C-based. There is nothing C++ about it at all. If you're looking for something more specifically C++ oriented, then perhaps other packages may be of greater interest to you.

If you wish to provide your game for free, then you won't need to pay for a Qt license.

One thing to be aware of is that game programming is possibly the most difficult and challenging software development activity.


:davis:
  #6  
Old 17-Jul-2007, 18:42
crystalattice's Avatar
crystalattice crystalattice is offline
Flame War Instigator
 
Join Date: Apr 2004
Location: San Diego
Posts: 1,578
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: Creating a game with graphics in C++?


Stop by a good bookstore (Borders, Barnes & Nobles, etc.) and peruse the computer section. You should be able to find a shelf or two full of game programming books. I can't think of any titles offhand but there is one series that has a black cover that I've looked through several times and looks useful.

I'm sure you'll find several that are interesting but look for ones discussing OpenGL. You might also look at some of the "beginning game design" books that cover a wide range of game topics.
__________________
Start Programming with Python-A beginner's guide to programming and the Python language.
-------------
Common Sense v2.0-Striving to make the world a little bit smarter.
 
 

Recent GIDBlogToyota - 2008 November Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
An interesting program if you interested in creating your own game portal Silver1Wolf2 Webmaster / Web Designing Advertisements & Offers 0 17-Jun-2007 11:48
Computer Game Design HELP NEEDED! dcallito C++ Forum 3 01-Jun-2007 13:29
HELP!!!!HELP!!!! Design a game call “Games of Guessing” HELP!!!! tianurn C++ Forum 1 26-Mar-2007 16:38
Looking for opinions crystalattice Miscellaneous Programming Forum 6 27-Sep-2006 22:02
Tips for game troubleshooting pcxgamer Computer Software Forum - Games 0 02-Jan-2004 06:27

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:31.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.