what programming language should I learn to code 2D or 3D games? (experienced programmer)
Hi everyone
****I posted new questions about compilers and editors in the comments please read them
****
I am an experienced programmer and know a few languages.
I want to start making games with a windows 7 computer for any operating system (linux, Mac and Windows).
I do not know which is the best coding language to use for that that is free But has a good compiler and runs well. I also do not want to use software like gamemaker or construct. Something like c++ or java or love2D so please take that into consideration!
Also what libraries would I need for 2D games for now to make it with.
Thanks so much for your help in advance! I really want to become some kind of game devloper so this is key.
Hope you all are having fun in the ludum dare! Expect me to be ready for the next one!
Hope my questions make sense!
Please comment!
Thanks
Swipefaststudios
Tags: code, programming, programming language
I code mostly 2D games.
I code a lot of flash games, due to how easy it’s to get people to play web stuff, and that AS3 is an actual standalone language these days. I use the Flashpunk and Flixel libraries for help, depending on the kind of game. Sterling if I want hardware acceleration, but that has almost never been the case.
If I need more CPU power than what I can get in a browser I use Java with Slick2D.
If I need even more power or want to manage memory manually, I use C++ and SDL. But development times are a lot slower in C++ so I tend to avoid it.
That’s about it.
Unity seems like one of the best, but if you want to sell a large amount of games, you’ll have to pay out the subscription price.
So I am looking to use either c# or c++!
But I have 2 or more questions. 1. Can mac or linux run games made with those languages?
2. What compiler do I use to compile the code to run like minigw or is it already embeded in the code?
And what code editor should I use? I am thinking eclipse ide c version or codeblocks any suggestions?
Finally should I learn how to code the languages through videos, books or online text tutorials?
Thanks for your help!
SFS
If your problem was with lwjgl which is pretty barebones, try Slick2D.
C# is just Java with some different things, but made by an evil company yadda yadda yadda.
I will try java again!