Thursday, October 6, 2016

Where do I begin if I want to write a C++ 2d game?



I am a C# web developer and I want to expand my skillset and have some fun while doing it. I know some of the basics of C++ and I would love to write a simple 2d game/game engine for myself using C++. What other libraries or SDKs do I need and where would I find some tutorials and informational resources to move forward?


I've already looked into XNA with C#. There are a lot of resources for that but I would rather use non Microsoft products. The point of this is to have a little fun while becoming a better rounded programmer.


Please note that I'm not asking for the best place to start. I'm just asking for a place to start.


Thanks for any help!



Answer



The standard starting place (in my experience) for C++ game dev is SDL. You've got to get your hands a little dirtier with this than you do XNA.



If you want to try something a little higher level then I would suggest SFML. It handles some of the more menial tasks for you but you've still got to keep your eye on your memory usage, etc.


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...