Jump to content
  • Advertisement
Adarsh P

What code is the best for game development?

Recommended Posts

I am a beginner and would like to know which code is the best for basic game development.

P.S any tips and tricks would be greatly appreciated

Thanks

Share this post


Link to post
Share on other sites
Advertisement

Welcome! :)

First a quick terminology nitpick - you're not looking for "a code", you're looking for "a programming language.

Almost any popular modern programming language can be used to make games, and although each has different advantages and disadvantages none is outright "best" - a lot of it actually comes down to the personal preference of the programmer.

If you stick with it, you will learn many programming languages during your career, and once you've learned the basic principles it actually becomes relatively easy to learn new languages. Therefore, don't be too worried about your choice - it's more important to choose any language and get started than to spend lots of time trying to find a best language.

 

Popular options include C#, JavaScript, Lua, C++, and others. My personal recommendation is C#.

 

Hope that helps! :)

Share this post


Link to post
Share on other sites

If you've never used a programming language before then learning any of them will teach you a lot, though I would agree with C# being a nice option for learning.

You can of course start with something like C++ but it forces a lot more on you to learn early on, such as dealing with pointers. C# is a bit more modern and more friendly to pick up one could argue, but is quite similar to C++ and Java in syntax and style.

Share this post


Link to post
Share on other sites

The best code delete[]s your enemies, DrawPrimitive()s them driven before you, and PlaySound()s the lamentations of their women.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!