• Programming course
    17 replies, posted
I'm starting a course soon, and it will have aspects of game development along with other things. I was told that "We do VB and Java as the languages". What uses are there for these languages? Thanks!
Well, you don't wanna write machine-code for a project this large. You simply would not be able to pull it of. So instead, you use a programming language, which makes it easier for humans to understand what's going on and write (or rather: use :P) a compiler to translate that code into machine code.
I don't know much about VB but Java is basically os independent, meaning that it should run on anything. Its used alot in web apps. Java is also Object Oriented which is good.
Java is not OS independent per se. Java compiles into so-called byte-code. You could say that it is your own code in a compressed form. Then you need either an interpreter, which translates the codes while the program is running, or a so called JIT (=Just In Time) compiler, which will simply compile the byte-code right before execution. These programs (interpreter, JIT-compiler) need to be written for that platform you want the program to run on.
In layman's terms please? I'm totally new :)
[QUOTE=rooky;17603530]In layman's terms please? I'm totally new :)[/QUOTE] Basically, for Java at least, you code you Java in a IDE (integrated development environment), you can read this, and change it at any time. When you want to actually use this code, a compiler will turn the Source code that you just made into Java Byte code, which is near enough unreadable by humans, this is then ran on a Java Virtual Machine, which pretty much does everything that you told it to do, I'm not sure how much more simple I myself can put it :v: I'm not too sure about VB as I am learning VBA, which is a little different I'm guessing.
Thank you :) Is Java used much for game development? Not the big mainstream games but the more indie ones?
Yeah, Java is used for a fair amount of the free games you play online, and some indie ones too. If I remember right, Runscape is coded in Java, games like Minecraft are coded in Java, and there are some more games, that are a little more advanced that are too. It seems like a fairly versatile language from what I've learned so far, as you can easily load in external libraries, giving you more things to use in your code.
So learning Java has some uses. Thanks buddy! :)
[QUOTE=rooky;17604526]So learning Java has some uses. Thanks buddy! :)[/QUOTE] I love Java, but if you want to develop games you should learn C++ or C#. Making simple 2D games in Java is easy as pie though. So if that's what you want to do, go for it. Don't learn VB, it's a waste of time IMO. And Java has [B][I]LOTS[/I][/B] of other uses like serving websites, applets (in your browser) and desktop applications.
[QUOTE=Robber;17604791]I love Java, but if you want to develop games you should learn C++ or C#. Making simple 2D games in Java is easy as pie though. So if that's what you want to do, go for it. Don't learn VB, it's a waste of time IMO. And Java has [B][I]LOTS[/I][/B] of other uses like serving websites, applets (in your browser) and desktop applications.[/QUOTE] Don't forget that Java is [I]ubiquitous[/I] in the embedded market. You'd be hard-pressed to find a phone or something that didn't use Java for apps. It has become so ubiquitous that ARM released the Jazelle platform extension to their hardware, which is supposed to be the [I]Java virtual machine, but actually hardware so it ain't virtual.[/I] Of course it doesn't really work, and only serves to accelerate Java code, but it is still a good effort. (I don't think engineers held management positions at ARM. Trying to execute java bytecode as bare-metal machine code is just going far beyond what it was designed for.) Not to mentioned there is bitchiness in actually using Jazelle. They have effectively made it so that Sun is the only people capable of writing software to take advantage of jazelle mode. Fucking lame.
I don't think it's fair to say VB is a waste of time In fact, one of VB's strongest points is that it's quicker to code alot of simple windows applications. That said, IMHO VB is the language of the devil.
[QUOTE=Cathbadh;17604928]You'd be hard-pressed to find a phone or something that didn't use Java for apps.[/QUOTE] Verizon phones use a competing platform called [url=http://brew.qualcomm.com/brew/en/]BREW[/url].
HB is a very good starting point for classes that have people who are entirely new to the concept of programming. It's close enough to English that students can better understand what they are doing. It is also a good place to teach the various aspects of programming such as loops and functions and variables and everythin else you will be using. HB will allow you to make simple programs that will allow you to test and develop the use of these different programming ideas.
Bump :)
[QUOTE=hexpunK;17604276]Yeah, Java is used for a fair amount of the free games you play online, and some indie ones too. If I remember right, Runscape is coded in Java, games like Minecraft are coded in Java, and there are some more games, that are a little more advanced that are too. It seems like a fairly versatile language from what I've learned so far, as you can easily load in external libraries, giving you more things to use in your code.[/QUOTE] Isn't Flash used more for web browser games nowadays?
[QUOTE=SteveUK;17792535]Isn't Flash used more for web browser games nowadays?[/QUOTE] For the majority. But there are a few Java based ones. Dying breed really...
[QUOTE=hexpunK;17793064]For the majority. But there are a few Java based ones. Dying breed really...[/QUOTE] They are always the most awesome though, e.g. [url]http://www.radicalplay.com/madness/[/url] Also, Jagex (runescape makers) recently released this site [url]http://www.funorb.com/[/url]
Sorry, you need to Log In to post a reply to this thread.