Results 1 to 3 of 3
Thread: Newbie help
- 09-09-2011, 01:37 PM #1
Member
- Join Date
- Sep 2011
- Posts
- 2
- Rep Power
- 0
Newbie help
Hi,
I am currently learning java in the hopes of making a 3d game in the future, I know you have probably read this hundreds of times ;P but I am not taking the difficulties involved lightly. I am giving myself atleast 5 years to make a somewhat decent game, including learning Java to a proficient level. I know Visual basic to a low level as I spent a year at college doing a VB course, so I understand the basics of programming. I have bought several books and have found some good references and tutorials online. for the past few days I have been learning Java and transferring my vb skills over.
But i have a few questions concerning 3D development, I an currently using Eclipse as my IDE for practice but I have no idea what else is needed for games, 2d or 3d. I understand that some developers use LWJGL for something, but what exactly would i need besides Eclipse to start writing in 3D when the time comes, can you also please reccomend 2D development tools aswell incase I begin with that. I have heard of Jmonkey but I am not too sure what it is other than it allows you to create 3D environments.
Next question. How are 3d games written in Java, i dont quite understand, say I wanted to make an island with a mountain on it and some trees dotted about with just a basic green and grey texture for the mountain and grass respectively. how could i create that from code?
One more question, I promise :P I dont fully understand the "main" method in Java, I undertand that the program first finds this main method as it does in vb and runs from there. does the main method extend throughout the entirety of the classes or is there a main method in every class. e.g. does a large java game with 60-70 classes and lots of code only have one main class? and does that class generally just become a directory to other classes?
This did end up being more questions than I expected and I still have lots more, but these are the most important ones to me at the minute.
Thanks for any replies :D
- 09-09-2011, 01:53 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,401
- Blog Entries
- 7
- Rep Power
- 17
Re: Newbie help
I'll just answer your last question: there's is nothing special about the main( ... ) method, it is just static method but the JVM searches for it when you want to start your program by mentioning a class name, i.e. first the JVM tries to find the class; if found it searches for that particular main( ... ) method in the class; if found it calls it and your program is up and running. Any class can contain a main( ... ) method but it doesn't need to if that class is not meant to be a starting point of a program. The main( ... ) method needs to be static and needs to accept an array of Strings as its parameter. (it also needs to be public and return void).
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 09-09-2011, 07:07 PM #3
Member
- Join Date
- Sep 2011
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Another Newbie
By Tabula Rasa in forum IntroductionsReplies: 2Last Post: 04-24-2011, 11:30 PM -
Hi I am a Newbie
By lijopj in forum IntroductionsReplies: 3Last Post: 05-06-2010, 05:37 AM -
newbie
By neeti in forum IntroductionsReplies: 3Last Post: 01-02-2010, 04:09 PM -
:) newbie...........
By Somitesh Chakraborty in forum IntroductionsReplies: 1Last Post: 08-19-2008, 09:00 AM -
newbie newbie newbie
By krislogy in forum New To JavaReplies: 9Last Post: 08-15-2008, 12:28 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks