February 16th, 2014, 03:44 AM
Programming Language for Game-Development
I'm looking for a Programming-Language that is used in Game-Development. Though I don't know much about Game-Development, whether they're created using SDKs or Directly Programmed. Currently I know Java but in Java, there is not much graphics support. So:
# I'd like to know if a good programming-language is there for Game-Developing
# Please list all the languages that are currently used in Game-Development.
# Is there a Game-Programming tutorial for Java, if you know then please post the link.
// If you know an answer then please reply!
February 16th, 2014, 07:37 AM
Searching on Google will give a lot of different Java tutorials, for example like this one:
Regarding choice of language, it might be an interest for you to look what Unity can offer. It has a free version - although with some limitations of course.
I also recommend you take a look at the sticky post "Game Development Resources", if you haven't done so already.
Comments on this post
February 17th, 2014, 01:21 AM
Well, Thanks for the tip man, I'll look forward to unity. I think JAVA will be good enough to create 2D Games, as for 3D I'll use unity.
February 20th, 2014, 07:28 AM
Dude you must be kidding. Java is an excellent and easy language to make simple games. (Where do you think android games came from?) So you probably should invest some time in learning how to develop games in Java. I can help you get started if you'd like and we could learn and code together.
February 20th, 2014, 09:21 AM
Originally Posted by EagleGamer
I hate Java. With a passion. I've had to write a JVM, I know how it works under the hood. I am also sick and tired of Sun changing things. MIDP, PJAVA, JDK(Think of a number, double it, add your phone number and divide by a million)
As a learning tool, ok I have to give it some kudos, but as a real gaming language...... nahhhhh
Ermm, never written an Android game in Java, and I've written dozens. Proper games are written in c++. If you went to a company and said "Hey I'm an experienced Android coder" and could only work in Java. You wouldn't get a job.
Casual game you could probably get away with Java, but not for anything even half way serious.
If you want to learn to code, ok learning in Java isn't a bad idea. It is object orientated, it's slow so you have to write decent code to get a game to work, dev systems are free.
Maybe it would be okay, but for me start in c++ and do it right.
February 21st, 2014, 02:10 AM
Well, you're right, but you can't port Java to Android. Its not a very good language, as you'll have problems distributing your program, the users will need to have JVM to use your application, some JDK versions are incompatible with others. But overall its a pretty good language, its syntax is similar to C++ and C# after you learn JAVA you'll not face any problems learning C++ or C#. I think Java is a very good language after all.
Originally Posted by EagleGamer
February 21st, 2014, 02:23 AM
I think you should think again about C++, not knowing a thing about Game-Development and giving a head start to C++ !!, I don't think its a good idea, I agree that learning Java will not get you a job, but who gives a f*ck about that, If I wanted a job I would have learnt C right away!!. And programming languages were not meant for things like 3D-Games (Ok I agree that most of the good games are written in C++ but It'll take too much time to create one single game), but there exist many Software and SDKs out there, for small-scale 2D games there is Game-Maker Pro ($99 Actually!!) and for 3D there is Unity as mentioned earlier by MrFrujin. You can only write the skeleton of the game (how will all the element work, how will they interact, etc), you'll still need models, textures and other things.
So I think its better to stay away from Game-Development for a while.
February 21st, 2014, 09:00 AM
Sorry, way off base there. What do you think is used to write 3D games?
Originally Posted by hexman
Every single game in the world is written in a programming language.
So I think you must have meant to say something different here.
True, very true. It's the major problem I face as I don't have an in house graphic artist.
However, this is nothing to do with programming. Assets are assets and whatever language you work in, you will need them.
When it comes to the original post "Programming language for Game-Development", assets are irrelevant.
Rubbish. Get in there. Do something, anything, and you will learn a lot. Find a subject you are really interested in and try and make a game about it.
If you fail to create anything, at least you will have learnt more about a subject you are interested in.
I know a hell of a lot about the way our climate operates, how clouds form , how jet streams are formed. Not because I studied it in college, I wanted to generate physically correct cloud maps for planets so I read up on climatology and wrote test code. The end result wasn't great, but I learnt a hell of a lot.
You can write games in any language, one of my favorite games of all time was Starflight, and it was written in Forth!
It's just a lot harder to write games in some languages. I wouldn't advise you to use Forth (even though I love it), I would laugh at anyone who tried to start writing games in assembler.
If all you want to do is have a hobby, actually XNA is probably the best starting place. C# is very powerful and easy to learn, there are lot's of tutorials out there.
It's a dead platform though, Microsoft dropped it.
Comments on this post
February 22nd, 2014, 01:39 AM
Well this is where you've got me wrong, man, I know that you can create a game from any good programming language (when I was learning Python from MIT Online, the last assignment was to create Tetris!!), But you can only create the skeleton of a game, even with powerful languages like C++, from what you'll create graphics or models, from the ASCII or command-line?!
You're right at this point, yes I know that I'll learn a lot even if I can't create a good game, but I want to learn something thats worth learning.
Yes that's absolutely right, and that's what I'm tryin' to do! (but how will ya create a game in VB! ).
Well Starflight was a good game but its an old game (see here: http://upload.wikimedia.org/wikipedi...light-Arth.png ) and about Forth, I think learning it will be tough, as its Stack-Oriented and I never coded in a SOP and its syntax is similar to LISP (something I could never learn).
What do you mean that C# is dead?!! (because someone just advised me to learn it! see here: http://forums.devshed.com/visual-bas...et-958584.html ), is it not included anymore in Visual Studio (like Visual Basic 6.0)??!!!
February 22nd, 2014, 02:42 AM
C# is not dead, XNA is.
Originally Posted by hexman
C# is the language, XNA is a graphic engine that allows you to get into games quickly.
It gives you a framework, asset importers, standard classes for drawing 2D and 3D assets, easy shader support.
You can run the final game on the xbox 360, windows pc, or even windows phones.
But Microsoft have dropped it because it doesn't fit with windows 8.... apparently
February 25th, 2014, 02:09 AM
Thank you for all your support (especially MrFrujin and Stainless for their advice and link to tuts). I've decided to go with JAVA as its a good Programming-Language, with good OOP support, and 'good enough' graphics for game-development and the best of all its the language that I've already learnt and still learning (though I know little about the graphics or GUI programming). And as I said, I do not intend to create a big 3D game or something but I just only want to learn.
Whoa, its still on the front page! I can't believe every Game-Developer who's a member of devshed has left the forum (as it apparently looks). C'mon guys, spark a new discussion, every "latest" thread in Game-Dev has got 0-4 replies at the most. I wonder what happened .