Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Help With Game Design In C++, creat a game with a C++ ??
aminzzlink
post Jul 14 2005, 12:31 AM
Post #1


Member [ Level 2 ]
Group Icon

Group: Banned
Posts: 53
Joined: 4-June 05
From: marocco
Member No.: 5,812



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 !!!!!!

This post has been edited by aminzzlink: Jul 19 2005, 10:15 AM
Go to the top of the page
 
+Quote Post
saga
post Jul 14 2005, 10:44 AM
Post #2


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 68
Joined: 23-May 05
Member No.: 5,355



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....
Go to the top of the page
 
+Quote Post
aminzzlink
post Jul 14 2005, 01:56 PM
Post #3


Member [ Level 2 ]
Group Icon

Group: Banned
Posts: 53
Joined: 4-June 05
From: marocco
Member No.: 5,812



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

This post has been edited by aminzzlink: Jul 19 2005, 08:38 AM
Go to the top of the page
 
+Quote Post
QBRADQ
post Aug 12 2005, 02:39 AM
Post #4


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 30
Joined: 12-August 05
Member No.: 7,787



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
Go to the top of the page
 
+Quote Post
Funkiemonkey
post Aug 20 2005, 01:32 PM
Post #5


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 20-August 05
Member No.: 7,975



^ 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
Go to the top of the page
 
+Quote Post
yordan
post Aug 20 2005, 01:37 PM
Post #6


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,980
Joined: 16-August 05
Member No.: 7,896



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.
Go to the top of the page
 
+Quote Post
iGuest
post Feb 25 2008, 02:43 PM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



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

-reply by komal
Go to the top of the page
 
+Quote Post
kanade
post May 29 2008, 08:12 AM
Post #8


Member [ Level 1 ]
Group Icon

Group: [HOSTED]
Posts: 34
Joined: 15-May 08
Member No.: 30,356



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Help: Orpg With "konfuze"?(0)


 



- Lo-Fi Version Time is now: 5th September 2008 - 09:20 AM