nill

Started by
24 comments, last by BUCHANKO 11 years ago

nill

~~~~ Salami ~~~~

Advertisement

Current Project

World Storm

out our Android app! (My roommate and I)

https://play.google.com/store/apps/details?id=com.drsupersocks.ninja


  • I can only guess that Visual C++ is the best compiler to be using ?
  • Which DirectX would I require and where do I get it ? There are so many different versions it's all confusing, I believe I should be getting a DirectX SDK ? The latest I found linked to something to do with Windows 8, I don't even want to go near Windows 8 or they "Windows store" and whatnot.
  • Just to make it clear, DirectX is free for whatever use right ?
  • Where would I find an up-to date tutorial, dealing with C++ ? Most are outdated and based on C.


Thing is there is no best compiler as this comes down to personal preference, but MSVC++ is not a bad choice and the IDE is strong.
You would need to use DX11 there is not point in learning the older versions, if you are on Windows 8 just get the Windows 8 SDK and Direct X is included. Any other version of windows after vista get the DirectX SDK latest of this is June 2010. Both can be gotten from the MSDN website and are free.

If you do want to use DX11.1 features of the latest GPU's you are going to have to get the windows 8 SDK sadly as that is the only way to get at the features. Getting the Windows 8 SDK by the way in now way means you need to have windows 8 or aren't able to develop for past versions of windows, it just means you have the latest API for windows installed.

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max, Watch Dogs: Legion

-Visual Studio (Visual C++ Express Edition) is pretty much the best choice

-It depends what you want the game to run on, if you want it to be compatible with Windows XP you have to use directx 9, but if you're fine with it only running on Vista and later, then you can go with 11 (most people by now have vista or beyond, but if it's not a very graphically demanding game I'd still recommend using dx9 just for the added compatibility, you could also write two different versions, but that's a bit of extra work)

Download link for directx sdk: http://www.microsoft.com/en-us/download/details.aspx?id=6812

Integrating with visual studio: http://takinginitiative.net/2010/07/02/setting-up-the-directx-sdk-with-visual-studio-2010/

-it is absolutely free, for non-profit or commercial games

-as for learning, the sdk itself comes with a bunch of samples and tutorials when you download it, and you can find some more samples most of the information you need on MSDN, this is also a pretty good site that I used in the past (I only used the free parts of it) http://www.directxtutorial.com/

nill

~~~~ Salami ~~~~

The full 2012 edition of Visual Studio is fine, it's just that the Express editions of whatever version are the free ones, the professional versions are just a limited trial unless you can pay for it or you're a student (see https://www.dreamspark.com/Product/Product.aspx?productid=44 but note that it won't come with a commercial license.)

For the different versions of directx, when Vista and directx 10 came out, the new versions were no longer compatible with Windows XP. So directx 10 or 11 will run on Vista, Windows 7, and Windows 8, but directx 9 will run on all these plus Windows XP. It's really pretty safe at this point to only do directx 11, unless you're really trying to support older hardware, (I'm pretty sure I don't know anyone who plays games and still has only XP) I'll probably be using dx11 for my next game for what it's worth, but maybe it's worth it to include a dx9 version.

It looks like the Windows 8 SDK at that link also includes the directx SDK, so either one should be fine, I guess that one includes a lot of other features. I'm currently using all XNA and I haven't worked in directx since before Windows 8 came out, so I'm not really up to date, especially on the 11.1 features.

I actually thought the directx tutorial website was ok, but if there's one best source I'd still say it's the DirectX Sample Browser that's installed with the SDK. It has a lot of tutorials and samples, plus gives you working demos that you can run and edit for each of the samples.

Get visual studio express 2012 for desktop. Get the directx sdk june 2010. Maybe check out www.directxtutorial.com some of it is free.

I suggest start learning using directx9.0c. You can start with fixed function or shaders with that version. The main reason I suggest it, is that it has functions for loading .x mesh files. Blender comes with a .x file exporter, you just have to activate it in the settings menu.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

  • I can only guess that Visual C++ is the best compiler to be using ?
  • Which DirectX would I require and where do I get it ? There are so many different versions it's all confusing, I believe I should be getting a DirectX SDK ? The latest I found linked to something to do with Windows 8, I don't even want to go near Windows 8 or they "Windows store" and whatnot.
  • Just to make it clear, DirectX is free for whatever use right ?
  • Where would I find an up-to date tutorial, dealing with C++ ? Most are outdated and based on C.

-Visual Studio is the best IDE. Get the free version of VS 2012

-Get DirectX 11 SDK from Microsoft's site, whatever the latest release is.

-DirectX is free

-I'd suggest to get a good book on DirectX 11. As far as C++ tutorials, there's lots of good info all over, and good books.

So, you can get VS2012 and the DX SDK, then find a good DX 11 book that has small sample projects to work through, and do those. After that you should be ready to go out on your own. At that point I'd recommend choosing a small game idea and making that.

There's also many threads around here with advice for beginners on things like what are good starting projects, what you should focus on, and many other things relating to making games when you're just starting out. Find those threads, or just ask... I'm sure many here can point you to them.

You've pretty much got the information you need for the first three questions, but I'd like to add that http://www.rastertek.com/tutindex.html is one of the best resources I've found for a practical approach to learning DirectX11.

nill

~~~~ Salami ~~~~

This topic is closed to new replies.

Advertisement