should i start with direct x??

Pages: 12
Feb 26, 2013 at 9:11pm
I had a previous post saying how i can't wait to learn direct x. However people have been saying it's not good for a beginner to learn direct x. Can u give me some ones that are easier???
Feb 26, 2013 at 9:18pm
closed account (3qX21hU5)
Now we aren't saying you "shouldn't" learn DirectX, if that is what you want to learn I say go for it (I started out with DirectX also, until I switched over to SFML because it was far easier to use). Just be warned that it is not very beginner friendly, and you will be bombarded with a lot of information when you are just starting to learn it.

But other choices are these.

SFML 2.0 - Hard to install, easy to use.

SDL - Haven't tried it so can't comment

Aleggro - Also haven't tried

OpenGL - Good API on par with DirectX and is not restricted to windows

and of Course DirectX
Last edited on Feb 26, 2013 at 9:19pm
Feb 26, 2013 at 9:40pm
SFML is hard to install?
Feb 26, 2013 at 9:44pm
closed account (3qX21hU5)
For beginners yes. I know when I first tried to install it I spent hours and hours trying to get it to work. But then again that was trying to get it to work with VS2012 and I had to compile it and build it.

Now I believe they have versions of 2.0 compiled for all the major IDE's and compilers though so it shouldn't be to hard I guess if you understand linking.
Feb 26, 2013 at 9:45pm
It's not hard, it's a little unclear at times. Especially with there being two tutorials for two versions.

If you're comfortable with linking libraries then it shouldn't be a problem.

Last edited on Feb 27, 2013 at 1:38pm
Feb 27, 2013 at 1:17pm
It's just the documentation on setting it up isn't the best. But many of us have now installed SFML so we should be able to help you.

DirectX is about as low level as it gets for graphics, so naturally you're going to be doing pretty much everything yourself. It's worth learning, but I wouldn't expect to be very productive in it for awhile.
Feb 27, 2013 at 6:51pm
I have only managed to install sdl and open gl ever!! i couldn't believe it when it worked, i bounced around the room.

but boost, c++11, sfml tutorials have never worked for me, chwsks was kind enough to talk me through installing boost, I will start trying again and take him back up on that when i finnished learning java basics (javas fun but i dont feel like im learning about programming)
Feb 27, 2013 at 6:52pm
C++11 just takes a capable compiler.

The thing I like about Java is for most things you don't ever need to worry about installing some 3rd party library. It comes with anything you'd ever need.
Feb 27, 2013 at 7:42pm
chrisname wrote:
SFML is hard to install?
The problem with SFML is that it uses <> for inclusion instead of "" so you can't do relative include paths like with every other library on earth - you're forced to dump it into your global headers folder or add it to your include path; both of these options are hard for beginners and annoying for experienced users.

That is, the last time I checked. Hopefully that's changed.
Feb 27, 2013 at 7:42pm
Nothing is easier than SDL, except Mark Overmar's Game Maker software.

Feb 27, 2013 at 7:43pm
Speak not of the software which labels itself the maker of games.
Feb 27, 2013 at 7:44pm
@LB,

It's still the same I believe.
Feb 27, 2013 at 7:57pm
That's unfortunate. I wonder why it hasn't been changed? It would simplify things dramatically.
Feb 27, 2013 at 8:22pm
LB wrote:
add it to your include path
How is that hard? IMO it is hard for beginners because they also need to learn to use cmake to create the makefile then compile and then link in their IDE. And as beginners they probably aren't familiar with most of that process.

@devonrevenge
If you want a C++11 compiler and boost, take a look at nuwen's mingw distro http://nuwen.net/mingw.html The latest release uses gcc-4.7.2 and i includes boost-1.53
Feb 27, 2013 at 8:32pm
closed account (3qX21hU5)
I believe the latest version of codeblocks also comes with a C++11 compiler, and boost (I think not sure).
Feb 27, 2013 at 9:51pm
naraku9333 wrote:
IMO it is hard for beginners because they also need to learn to use cmake to create the makefile then compile and then link in their IDE. And as beginners they probably aren't familiar with most of that process.
What are you talking about? I certainly didn't use cmake when I got started with SFML.
Feb 27, 2013 at 10:24pm
SFML has used cmake for awhile, did you use a pre-built binary package?
Feb 27, 2013 at 10:28pm
Pre-built binary package? In C++? You're kidding me. When I downloaded SFML for a project several months ago it had a VC++ project file that let me build all the various DLLs.
Feb 27, 2013 at 10:35pm
SFML does roll out pre-built packages. However, in my experience they're outdated (for obvious reasons) and often conflict with other SFML related libraries.

CMake is a pretty small overhead for what it offers. It just takes a little patience.
Feb 27, 2013 at 11:05pm
@LB
I have a feeling your using 1.6
Pages: 12