|
BrandonQ
|
 |
« on: December 09, 2011, 03:59:04 AM » |
|
Ok so I am back with another post. I want to start making games in Java (because java is so awesome and shit with its working on everything face). But I need help. Where should I start, how should I learn and what are some great sites with tutorials. I have found a few and I understand the basic concepts of objects and classes in Java. Thanks in advance. If you don't think Java is the way to go let me know, tell me what is. :D
|
|
|
|
|
Logged
|
|
|
|
|
Mikademus
|
 |
« Reply #1 on: December 09, 2011, 04:37:01 AM » |
|
First of all, Java itself isn't a very awesome language and it will not run equally everywhere without sometimes severe adjustments. However, the JVM is a cool piece of work and other languages compiling to bytecode for it are better, such as Scala. Look into that before committing to the modern COBOL.
|
|
|
|
|
Logged
|
\\\"There\\\'s a tendency among the press to attribute the creation of a game to a single person,\\\" says Warren Spector, creator of Thief and Deus Ex. --IGN<br />My compilation of game engines for indies
|
|
|
|
BrandonQ
|
 |
« Reply #2 on: December 09, 2011, 05:06:11 AM » |
|
Thank you but... what is Scala and COBOL and bytecode. I am very new to this whole thing.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Average Software
|
 |
« Reply #4 on: December 09, 2011, 08:03:38 AM » |
|
before committing to the modern COBOL.
COBOL 2002 is the modern COBOL. Java has to get in line.
|
|
|
|
|
Logged
|
|
|
|
|
Serapth
|
 |
« Reply #5 on: December 09, 2011, 08:13:23 AM » |
|
Java specific books, tutorials, tools and library suggestions for game developers. There should be enough information there to get you started with Java 2D game programming. Scala is a language built on top of Java, sorta. In that you can run Java source code in Scala ( like you can run most C code in C++ ) and Scala code can run in the JavaVM. It adds functional programming, dynamic types and other features on top of what Java can already do. In essence, Scale brings Java up to parity with C#. That said, it also adds a level of complexity ( materials are much more scarce ) that a new developer doesn't need.
|
|
|
|
|
Logged
|
|
|
|
|
Geeze
|
 |
« Reply #6 on: December 09, 2011, 11:47:00 AM » |
|
In that you can run Java source code in Scala ( like you can run most C code in C++ ) and Scala code can run in the JavaVM. It adds functional programming, dynamic types and other features on top of what Java can already do. In essence, Scale brings Java up to parity withw C#.
I'd say word source is wrong here. Scala can use all the classes java can and classes written in Java. Also, language feats is not that good reason. You could type almost the same code in C# for example, which has more features(i think?). Jvm just is so useful. But anyway, Java is a good choice for starters. And most of those programming skills translate to other languages.
|
|
|
|
|
Logged
|
|
|
|
|
Mikademus
|
 |
« Reply #7 on: December 09, 2011, 02:19:43 PM » |
|
I disagree. Java is a bad language for learners and especially for learning game coding because it teaches you bad habits, for instance by making you unaware of resource management. When someone is critical of Java there will always be very loud and vocal defenders popping up, so it is hard to have an objective and non-passionate discussion on the topic.
If you are a total beginner perhaps you should check out the Programming Languages and Compilers thread where there are many suggestions of newbie-friendly languages geared specifically for games. Also, in the tutorials forum there are good threads dedicated to learning game developments, and threads for particular languages.
|
|
|
|
|
Logged
|
\\\"There\\\'s a tendency among the press to attribute the creation of a game to a single person,\\\" says Warren Spector, creator of Thief and Deus Ex. --IGN<br />My compilation of game engines for indies
|
|
|
|
BrandonQ
|
 |
« Reply #8 on: December 09, 2011, 07:15:57 PM » |
|
Thank you for all the replies, I have taken everything into consideration. I will be spending some time looking at those links and going to the <em>Languages and Compilers</em> topic.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Mikademus
|
 |
« Reply #10 on: December 10, 2011, 07:26:41 AM » |
|
If you can speak German  and need basic knowledge this might interest you http://www.programmierkurs-java.de/ There should be similar stuff in English. The course uses a microworld for teaching Java (a hamster you can move via programs, similar to the classic turtle). I think this is a good way to learn programming languages. There are a number of projects like this. One I know is used by quite a few universities is Alice,which uses its own language though (not Java). I've tried it and it is a good and pedagogical introduction to object oriented programming in a visual 3D world with very transferable skills learned.
|
|
|
|
|
Logged
|
\\\"There\\\'s a tendency among the press to attribute the creation of a game to a single person,\\\" says Warren Spector, creator of Thief and Deus Ex. --IGN<br />My compilation of game engines for indies
|
|
|
|
Serapth
|
 |
« Reply #11 on: December 10, 2011, 02:31:52 PM » |
|
and pedagogical introduction
What are, words that sound dirtier than they are, Alex? I tend to recommend against Java too, but mostly because the eco-system is horrible. Everything is just way overengineered, that you have to spend so damned much time figuring that stuff out, it gets in the way of... you know, programming. That, and Eclipse blows.
|
|
|
|
|
Logged
|
|
|
|
|
rivon
|
 |
« Reply #12 on: December 10, 2011, 02:59:09 PM » |
|
NetBeans too...
|
|
|
|
|
Logged
|
|
|
|
|
Chromanoid
|
 |
« Reply #13 on: December 10, 2011, 03:32:34 PM » |
|
is there something better for free? both are very nice IDEs. I even doubt that full commercial IDEs are much better. The WPF GUI Builder in VS is nice and VC++s modfiy and continue debugging (for c++) is a selling point. in java and other vm/jit languages this stuff is pretty much standard... gcc just doesnt provide this ability... my favorite ide is netbeans, even for c++ stuff. it's a pity it doesnt support the vc++ compiler for easy directx development.
|
|
|
|
« Last Edit: December 10, 2011, 03:40:40 PM by Chromanoid »
|
Logged
|
|
|
|
|
InfiniteStateMachine
|
 |
« Reply #14 on: December 10, 2011, 05:22:07 PM » |
|
I like netbeans but whenever I get a largish project (100+ code files and a fair amount of content) the IDE starts running slow on me.
Eclipse I can't stand from the little I've used it.
|
|
|
|
|
Logged
|
|
|
|
|