Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 10th, 2005, 1:50 PM   #11
Navid
Hobbyist Programmer
 
Navid's Avatar
 
Join Date: Feb 2005
Location: Canada
Posts: 187
Rep Power: 4 Navid is on a distinguished road
Send a message via MSN to Navid
Well what I want to get into is game programming. I don't know much about it, and I don't know excactly where to start. I've heard to use DirectX or OpenGl, but I've never seen those APIs. Do I purchase them from a retailer? (Sorry if that sounds like a stupid question)

About the drawing tool for a GUI, I'm assuming VB is more appropiate, right?
Navid is offline   Reply With Quote
Old Sep 10th, 2005, 2:02 PM   #12
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Please don't use VB, i beg you. Unless it is VB.net, in that case just change to C#.

wx-Dev-C++ is like VB, except it is C++, multiplatform, free and uber. It uses the wxWidgets framework.

For game programming, i have never done it before but i know this. You dont need to buy OpenGL or DirectX. OpenGL just handles graphics but is multiplatform and popular. Direct X handles sound, graphics,networking etc. but is only for windows and is microsoft.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Sep 10th, 2005, 2:04 PM   #13
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Quote:
Originally Posted by Navid
Well what I want to get into is game programming. I don't know much about it, and I don't know excactly where to start.
Your first step would be to learn the ins and outs of C++. Including pointers. Then pick up a book on either DirectX or OpenGL, and get reading.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 10th, 2005, 11:16 PM   #14
blank
Newbie
 
Join Date: Sep 2005
Posts: 14
Rep Power: 0 blank is on a distinguished road
Okay dude, that's the same problem I had the first time I tried out visual studio.net, but I learned to use it and it's very very neat, it helps you write code crazy fast. The t_main thing you were looking at is something else, I dont use it, it's just that you set up your project wrong. First of all, you start VS.net. Next, click new project > Visual C++ Projects > Win32 > Win32 Console Project. Then it'll tell you the rest, usually, I click on Application Settings on the dialog it comes up with and check 'Empty Project', then click Finish. Now, you add files (CPP, C, H, etc.) by right clicking on the corresponding folder (CPP/C in source files folder, H in header files folder, etc.), then click Add > New Item, then choose the file type. Now, after you're done or want to check how things are going, go to the top menu and click Build > Build 'appnamehere'. Then it will compile, at the bottom it'll tell you if you have any errors, if you do, double click on each one and it'll take you to the line number that the error is on, if you get no errors, then go to My Documents > Visual Studio Projects > 'appnamehere' > Debug > 'appname.exe' to try out your application. If you want to start making win32 programs, it's the same thing, except choose win32 project instead of win32 console project. Hope this helped.

Trust me, VS.NET is a really comfortable environment. I use Borland's Free Command Line Tools, but I use this when I'm actually typing out my code. It autofills things for you, if you have class car and int wheels, type car. and it'll make a dropdown list of the variables that are in that class and you could choose wheels variable. You can colapse and expand sections of code, you can move your mouse over anything (function, variable, etc.) and it'll tell you what it is. Type a function add( and it'll tell you what arguments it takes, it's very cool.
__________________
http://www.codeblank.net/ - Coding Forums with Syntax Highlighter and Random Post count
http://www.jorgepena.be/ - Personal Site
blank is offline   Reply With Quote
Old Sep 12th, 2005, 1:32 AM   #15
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
THANK YOU blank. i saved your post on my computer as vshelp.txt.

:-)
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Sep 12th, 2005, 6:48 PM   #16
blank
Newbie
 
Join Date: Sep 2005
Posts: 14
Rep Power: 0 blank is on a distinguished road
No problem, be sure and check out my site, www.codeblank.net . I'm not tryint to advertise it here or take members or anything, just think you'll be able to find any help there, it's got a custom syntax highlighter, be sure to read the post on how to use it. Basically you type [cpp] or [c] tags, check it out.

Navid, if you're planning to get into game programming, I encourage you at least master the basics, I was planning on getting into game development last year, but I instead decided to completely learn Win32 API, Socket Programming, and the C++ programming language, now I'm back and learning Game Programming with OpenGL. Here are a couple links you should check out:

www.gamedev.net <-- Extremely 'Game Development Central'
www.gamedev.net/community/forums/ <-- 'Game Development Central Forums'
www.ultimategameprogramming.com <-- Good tutorials
www.gametutorials.com <-- used to be a very cool tutorial site, but now they sell the tutorials instead of giving them out for free like the rest of the sites, definately not worth it in my opinion, although they make some pretty exclusive tutorials hard to find anywhere else

OpenGL and DirectX are libraries, OpenGL and Direct3D are graphics libraries. I really hope you know what libraries are, otherwise I'm afraid this isn't the thing you should be getting into at the moment. If you wanna take it far however, I encourage you to 'know' that you will be messing with the console for a long while, until you mastered the basics. If you need any help with programming, there are tons of forums that can help you, ours has a syntax highlighter (I love to brag about it, sorry) come and check it out www.codeblank.net
__________________
http://www.codeblank.net/ - Coding Forums with Syntax Highlighter and Random Post count
http://www.jorgepena.be/ - Personal Site
blank is offline   Reply With Quote
Old Sep 12th, 2005, 9:47 PM   #17
Navid
Hobbyist Programmer
 
Navid's Avatar
 
Join Date: Feb 2005
Location: Canada
Posts: 187
Rep Power: 4 Navid is on a distinguished road
Send a message via MSN to Navid
Woah, thanks for all the sources. I have a strong base with C, but I'm going to spend lots of time to have the same, or actually better with C++. I have to anyways since I'm studing CS at college right now. You're path with learning Win32 API sounds genuine so I'm going to do the same .

One thing I have to point out is someone's avatar on you're forum. Gave me a good laugh.

http://kaan.interflug.de/Avatar/love_your_job.gif
Navid is offline   Reply With Quote
Old Sep 13th, 2005, 8:00 AM   #18
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
That avatar is f***ing funny
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 13th, 2005, 10:25 AM   #19
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Best Avatar ever.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Sep 13th, 2005, 1:28 PM   #20
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Every forum apart from this one has a guy with that avatar.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:38 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC