Just few questions...

Started by
2 comments, last by Iceverin 9 years, 4 months ago

Hi, this is my first topic here (sorry for my english, i'm from Poland). I just decided to start learning game programming (in C++, DirectX or OpenGL, WinAPI etc.), so I created my account on GameDev because it looks like a very big and nice community of game developers. So I have few questions here:

  1. What is the best IDE for game programming? (I was thinking about Visual Studio, but I want to hear your opinion).
  2. What is better - OpenGL or DirectX (I know that they are both have good sides and bad sides, but I want to know which is used commonly and which is more peformance) and do you have any good tutorials or books for them?
  3. And of course do you have any advices or tips about making games for beginners.

I'm not a complete newbie in programming, I know Java very well but don't have much expirence on making games or applications.

Waiting for your answers ;)

Advertisement

Eh, those are tough questions to answer, as they're either subjective, or depend on different things. It would be like asking what the best car is. It depends on who you are and what you're doing. Do you have kids, live in a snowy area, need to haul heavy objects? The best car is going to be different from a single person driving around town :P

For example, I like Opengl and Code::Blocks, but I'm also developing on linux and am interested in keeping my games multi-platform. Those might not be the ideal choices for you, depending on a lot of factors. Do you mind giving us a little more information about your targeted platform, type of games you might be interested in doing, whether you plan on using an engine at some point, etc. etc. If you don't know the answers to those, then really, most IDE's will probably be fine for the time being (and you can always switch later, I've gone through several until I found one that I like).

As far as directX v OpenGl, you'll get a lot of passionate responses either way. If you're starting with developing 2D games, I don't think either are necessary (though you certainly can use them, but they may not be your best option). If you're thinking about 3D, my only advice would be to start smaller and worry about 3D later (or use an engine, but that renders this question a little moot, to some extent).

As far as advice, I'd recommend starting small until you're comfortable with things. It can get extremely complex, rather quickly. I personally fail to heed this more often than not, and it gets frustrating. You'll have a smoother time of things if you don't get in over your head. Though, I recognize there are all personality-types and learning-types, so...

Also, the FAQ is always a great place for some of this stuff. Definitely check it out first.

And, welcome :)

Beginner here <- please take any opinions with grain of salt


What is the best IDE for game programming? (I was thinking about Visual Studio, but I want to hear your opinion).

Visual Studio is a great Windows-based IDE that is very popular and widely used, and is generally well regarded amongst people who make games. The majority of popular engines and libraries will provide project files or build instructions for Visual Studio. If you're comfortable with Visual Studio then personally I would suggest you proceed with it. Other popular options include Qt Creator and Code::Blocks.


What is better - OpenGL or DirectX (I know that they are both have good sides and bad sides, but I want to know which is used commonly and which is more peformance) and do you have any good tutorials or books for them?

This one often gets into holy war territory and both are quite capable but my impression is that DirextX is more commonly used for Windows-based games, and unless there are reasons to decide otherwise my personal preference would be to use DirectX rather than OpenGL. Either will be just fine, and you would probably best be advised to use whichever you are more comfortable with.

As for learning resources, both our "DirectX and XNA", and "OpenGL" forums have some great resources listed in the green "getting started" block you'll find in the right-hand sidebar when viewing the site in a non-mobile view. I would suggest taking a look at some basic tutorials for each and picking whichever feels more comfortable to you.


And of course do you have any advices or tips about making games for beginners.

Start small. You need to spend the time working your way up with smaller projects rather than trying to jump straight into your dream project. Take the time to learn your chosen programming language (apparently C++; I would personally recommend C+ Primer 5th Edition if you're after a book, or LearnCpp.com if you want an online resource), then work your way through some smaller games such as Pong, Breakout, etc. to learn the basics. Take a read through the article "Your First Step to Game Development Starts Here".

Don't be afraid to make mistakes or ashamed to ask for help when you need it. You're going to make lots of mistakes, but they're one of the absolute best ways of learning. There's no substitute for experience, so go out there and get some and don't let the mistakes you make along the way discourage you.

Dig in for the long haul -- there's always more to learn, and programming is really a life-long journey. See "Become a Good Programmer in Six Really Hard Steps". Don't let that scare you off though, it's also really rewarding, and you can make some really cool stuff while you're still learning!

Hope that helps! :)

- Jason Astle-Adams

Thank you guys for answers ;)

This topic is closed to new replies.

Advertisement