Jump to content
  • Advertisement
Sign in to follow this  
mightybeast

What are the best languages or engines for 2d games

This topic is 986 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

Advertisement
'Best' is a very subjective term.

If you are relatively new to programming then I'd recommend GameMaker: Studio. It is great for things ranging from beginner to advanced. It has evolved to a level where there is nothing that you can't achieve with it.

If you ever get to a point where it can't do something, you can even create Dynamic Link Libraries for it to fill the gaps. I have done this a few times myself and it is extremely easy to integrate.

Share this post


Link to post
Share on other sites
There is no best language. All languages have strengths. Much of it comes down to preference or platform.

I enjoyed making little JavaScript games using the html canvas. It's fun, JavaScript isn't too challenging to pick up, and its pretty cross platform.

Share this post


Link to post
Share on other sites

The best language can just boil down to the one you are most comfortable with as you will spend less time fighting against the language that way :)

 

Most of the languages all have their merit and strong points and most of the OO imperative languages offer a similar set of features in the end so it could come down to tool sets that are available.

Share this post


Link to post
Share on other sites

I wouldn't say it's the best, but certainly a great possibility that I like a lot: LÖVE. You program it in Lua, it's blazing fast and relatively minimal. Also, I am working on a proper web port, so you will be able to make HTML5 versions of your games with it in the near future.

Share this post


Link to post
Share on other sites
Very hard to answer as there are so many variables.

I have built games with js. It's very easy and on modern computers/devices the performance is acceptable if you are careful. We still experienced issues with sound though and there are a few other downsides that make it quite far from my fisrt choice.

Unity is also easyish to get up and running with but can be overkill for 2D although many have used it successfully. It's also much better at supporting many platforms. Sadly it can be rather expensive.

Air is an interesting one and have had decent success with it. Support for ios android and desktop, plus it's free and very easy.

But impossible to give you the answer you probably need without knowing more.

Share this post


Link to post
Share on other sites

While there's no "best" language, there are some that aren't as appropriate for games.

 

For example, you probably won't want to program a game in Brainfuck or BASIC. (although i programed a game in basic)

 

It's probably best to start with something high level and object oriented. The most popular (and therefore more likely to have tutorials) are C# and Javascript. Javascript is easier to learn, since it's more relaxed about Types (i.e.: whole numbers, words, decimals) , but this actually becomes a weakness of the language once you're to a more advanced level and can lead to sloppy programming.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!