Results 1 to 6 of 6
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
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
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,
JosBuild a wall around Donald Trump; I'll pay for it.
- 09-09-2011, 07:07 PM #3
Member
- Join Date
- Sep 2011
- Posts
- 2
- Rep Power
- 0
Re: Newbie help
Thx, thats one question answered ;P
- 09-01-2013, 07:02 AM #4
Member
- Join Date
- Sep 2013
- Posts
- 4
- Rep Power
- 0
Re: Newbie help
ok firstly many people use different things to make 3D games ie: Minecratft used LWJGL not to sure bout the engine but LWJGL was definitely used and as far as game engines I found a engine called Bonzai Tree and some other engines and JMonkey being one of them via the LWJGL.org website.
secondly, Java Games are witten in packages and classes and lots of methods and statements and variables you can find good tutorials on java on Moderator edit: removed youtube channel.
and lastly, exactly what JosAH said lol
well hope this bit of info has helped youLast edited by DarrylBurke; 09-01-2013 at 08:04 AM.
- 09-01-2013, 07:27 AM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Re: Newbie help
Don't wake up old threads; I'm closing it.
JosBuild a wall around Donald Trump; I'll pay for it.
- 09-01-2013, 08:04 AM #6
Re: Newbie help
Member Raslar is banned for 3 days for repeatedly posting to old dead threads even after I sent a PM indication that this is undesirable here.
After the period of ban, if I see even one more plug for the YouTube channel whose name I have removed from at least 3 of the member's posts, Raslar will be banned as a spammer.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
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
Bookmarks