Jump to content
  • Advertisement
Sign in to follow this  
faizin

Can I use C++ to make 3D RPG?

This topic is 4772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, Im just the beginner so now i am curious to ask something.Can I use C++ to make 3D RPG?Is it possible?I just want to know is it possible or not.Is it too hard? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Yes it's possible, in fact most commercial games today are written in C++. You'll need to learn a graphics API though like DirectX or OpenGL to get graphics on the screen.

I don't recommend trying to make a 3d RPG as you first project though because that is a huge undertaking, try something smaller like 2d or maybe 3d pong or something like that and work your way up.

Share this post


Link to post
Share on other sites
Just like Ainokea writes: It's too hard for a beginner. But C++ is certainly a good tool to make such a game. Start by learning object oriented programming (OO) and make smaller programs and then gradually move on to more ambitious projects.

Check this online book out in order to start learning C++. The author is assuming that you already have some kind of programming experience, though.

Share this post


Link to post
Share on other sites
Thank you for reply.Now I know the possiblities and I need to learn the basic first.Thanks for your advice.

Share this post


Link to post
Share on other sites
I know you can use C++ to use OpenGL, but I've not been successful to compile anything for it. I have to use VC++ which I don't want to do because it makes my code Freaking huge, and my c++ code won't compile in VC++ so I'm going to have to re-write my code for a third time to make it work,.... *pouts*


Share this post


Link to post
Share on other sites
Quote:
Original post by BladeStone
I know you can use C++ to use OpenGL, but I've not been successful to compile anything for it. I have to use VC++ which I don't want to do because it makes my code Freaking huge, and my c++ code won't compile in VC++ so I'm going to have to re-write my code for a third time to make it work,.... *pouts*


You don't have to use Visual C++. You can use mingw32 or lcc or Borland.
And that Visual C++ makes your code huge is wrong, if you mean executable size. In fact, GCC's compiles much larger executables than Visual C++.

And if your code doesn't compile in Visual C++ (assuming you are using a version larger than 7) is hardly the fault of the compiler (except if you are doing VERY advanced template magic).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!