Should I learn c++ for game dev?

Started by
24 comments, last by Kayhen 8 years, 6 months ago
How should I learn c++ for Java game development? I have been at Java for awhile and I'm not really happy with it.
Advertisement
C++.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Just go for C++ if you are choosing because it opens more road in the game development.

You can also mix C++ and a little Java if you are looking for a Mobile solution, you can then be cross platform Mobile/Desktop.

But why? I need reasoning
Any more reasons?

Because its still the most commonly used language and gives you the most job opportunities. Skills in C# are also useful if you intend to use Unity or write tools.

If you want a career as a programmer, then learn C++ at some point in time, because it's what many game-dev companies use, more importantly because it's a hard-to-use, overly-complex, low-level systems-programming language that is a rite of passage for any experienced programmer. You should also learn C at some point in time.

As the co-chair of the official C++ "Games and Low-Latency" study group (SG14), I think you should go C++.

One reason is that "all the terrible programmers raised on Java" is one of the most common complaints I hear from people trying to hire programmers, games or otherwise. :p

C++ isn't hard, but it both offers you far more control over your program and (sometimes) requires you to exercise that control using a deeper understanding of what a computer even is and how it works.

Java programming tends to produce a lot of useless programmers who think "I know what a class is, lol I'm a programmer now!"

But again, I may be biased... :)

Sean Middleditch – Game Systems Engineer – Join my team!

If you're not happy with Java, then learn something else. C++ is a pretty reasonable option for that 'something else.' What more reason do you need? What sort of reasons are you looking for? You can make games in just about any language.

In today's world deciding which language to use soley on language comparison is like trying to buy a painting when you're blind.

What you really need to do is find a tool set that allows you to make what you want to make. Here's why, say you pick c++, well great but what api are you going to use to draw? How will you even design your scenes without an editor? What about asset management and loading? ECT...

The reality is you need a tool set, not just a language.

That said there are a few good tool sets out there right now.

if you really want to stick with c++ then look into Unreal Engine. However I think your best bet as a beginner game developer and Java programmer is Unity with C#. Java and c# are similar in a lot of ways including GCing.

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

This topic is closed to new replies.

Advertisement