Help With Game Design In C++ - creat a game with a C++ ??

free web hosting
Free Web Hosting > Computers & Tech > Programming > Game Programming

Help With Game Design In C++ - creat a game with a C++ ??

aminzzlink
huh.gif i would create a game but how can i do with C++ ?? my prob is i don't by what i have to begin,if you have any exempl for this kind of programation , i mean programing with C++ to create a game i'm not askin for a complex game but just a simple game for a bigining ??and after wen i well be able to creat a good games i will do
pleazz don't abstain to let me know your suggestions !!!!!!

Reply

saga
C++ is an object programming.......if you dont have an idea about that then u have a problem in creating games in C++ becuase its not as simple as HTML coding but it is a very powerful tool... if you have experience in obect programming then all you need to learn are the syntax of C++..
good luck....

Reply

aminzzlink
hi sega , biggrin.gif

i found it , if you are looking for a compilater here is the link:
http://c.developpez.com/compilateurs/

when i was looking for a compilater i found this www.cplusplus.com is a very good site for begin to learn C++

and thinks sega

Reply

QBRADQ
For learning C++, I always recomend to use a well-written book. A good fundamental understanding of C++ is a very valuable thing to have, and a book is the best source for that.

As far as an IDE to use, I recomend Microsoft Visual Studio if you want to pay for it. Version 6 is good, and is the one I use. The .NET edition is also good I supose, but I've never seriously used it.

As for a free IDE, you definatly need to check out www.bloodshed.net/devcpp.html. This is a very good IDE capable of producing Windows GUI programes as well as a host of other types.

The major thing that stumps people when they first start trying to program games in C++ is that they can't figure out how to do anything but text programs. C++ does not have a graphical inteface like a lot of other languages (usualy scripted languages BTW) have.

DirectX (available from Microsoft) is a good graphical API to use. It also has APIs for input, sound, video, networking, and a hold bunch of other things. However, you will have to download a rather large SDK for it (around a quarter gig last time I checked). Also, it's only for Windows, so if you are developing for or on anything but Windows it's not an option.

However, there is an alternative to DirectX. It's called OpenGL. OpenGL is a very powerful, proceedure-oriented graphical API. Best of all, you don't have to download anything to program with it. Just about any Windows header library that comes with an IDE will have the OpenGL headers and link libraries in there. OpenGL also has support for input and sound, however that support isn't as good as DirectX's.

The debate between OpenGL and DirectX has ragged on for well over a decade now, but to be honest with you, they are both about equal in the graphics department. One is better at some things, and the other is better at other things. It all depends on what you know, and how you go about it. Personlay, when I am doing a graphical app (all of them just graphical demos, nothing too big) I use OpenGL for the graphics, and DirectX for the input and sound.

There are also a lot of other graphical APIs out there that I havn't used, such as STL. There's a lot of them, try Googleing for (C++ "Graphical API").

Also, here's an excelent resource for game development: www.gamedev.net

At one time there was also a site called "Flipcode" that was dedicated to hard-core game programming. They went down for a while last year or before, said they were working on a new site. I'm not sure if they are still around any more, but if they are, you could find them with Google.

Good luck, and happy coding!
QBRADQ

 

 

 


Reply

Funkiemonkey
^ Nice post!

Im in my second year at Sheffield Halam uni and so far in my course, Computing (Visualisation) we've done C++ with Open GL. Not much but its a start.

I've found it ok but you seriously need a good book in my opinion. I mean I think I pick up syntaxs and languages quite well but openGL is a whole different syntax altogther.

Am doing DirextX next year which Im really looking forward to tho!.. Hopefully will start making full games! biggrin.gif

Neways, good luck with your programming! smile.gif

Andy

Reply

yordan
In most universities, students learning computer science have to write programs, and a lot of these programs are games. Just because when you create a game you directly see what you do (your ball goes left instead of right, your mouse-click does not act, your character gets lost, etc...).
Nevertheless, starting from nothing with no help is a nice challenge.

Reply

iGuest
How m I creat sound game program please send me this code

-reply by komal

Reply

kanade
QUOTE(FeedBacker @ Feb 25 2008, 08:13 PM) *
How m I creat sound game program please send me this code

-reply by komal


My recomendation for game development in C++ is using C++ librarys. By using these freely avilable librarys you are going to save lot of time and you will get fast results. There are many freely avilable game development, vedio/audio streeming librarys. I prefer to use the SDL library(GNU). one of the website for SDL library is www.libsdl.org . It has got many GNU librarys and are free to use.

if you know any other library for game development pls add to this list.

enjoy game development.... smile.gif

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. c game design definition - 0.14 hr back. (1)
  2. c game dising - 1.05 hr back. (1)
  3. creat.sound - 15.34 hr back. (1)
  4. c game design - 0.07 hr back. (2)
  5. ide for game developing - 25.32 hr back. (1)
  6. how to design games in c - 39.60 hr back. (1)
  7. games design with c - 44.67 hr back. (1)
  8. c design games - 44.81 hr back. (1)
  9. what do you need to design c games - 44.82 hr back. (1)
  10. how can i make a game by using c 2005 or 2008 - 45.81 hr back. (1)
  11. vedio game designer - 51.84 hr back. (1)
  12. simple game design in c - 52.55 hr back. (1)
  13. learn c game design - 67.13 hr back. (1)
  14. what program do you need to design your own vedio game - 90.54 hr back. (1)
Similar Topics

Keywords : game, design, c, creat, game, c

  1. Help: Orpg With "konfuze"?
    i want to creat an ORPG but , how ??? (0)


      Looking for game, design, c, creat, game, c

Searching Video's for game, design, c, creat, game, c
advertisement




Help With Game Design In C++ - creat a game with a C++ ??



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE