Results 1 to 6 of 6

Thread: Newbie help

  1. #1
    browney14 is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default 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

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,000
    Blog Entries
    7
    Rep Power
    20

    Default Re: Newbie help

    Quote Originally Posted by browney14 View Post
    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?
    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,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    browney14 is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Re: Newbie help

    Thx, thats one question answered ;P

  4. #4
    Raslar is offline Member
    Join Date
    Sep 2013
    Posts
    4
    Rep Power
    0

    Default Re: Newbie help

    Quote Originally Posted by browney14 View Post
    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
    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 you
    Last edited by DarrylBurke; 09-01-2013 at 08:04 AM.

  5. #5
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,000
    Blog Entries
    7
    Rep Power
    20

    Default Re: Newbie help

    Don't wake up old threads; I'm closing it.

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default 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.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Another Newbie
    By Tabula Rasa in forum Introductions
    Replies: 2
    Last Post: 04-24-2011, 11:30 PM
  2. Hi I am a Newbie
    By lijopj in forum Introductions
    Replies: 3
    Last Post: 05-06-2010, 05:37 AM
  3. newbie
    By neeti in forum Introductions
    Replies: 3
    Last Post: 01-02-2010, 04:09 PM
  4. :) newbie...........
    By Somitesh Chakraborty in forum Introductions
    Replies: 1
    Last Post: 08-19-2008, 09:00 AM
  5. newbie newbie newbie
    By krislogy in forum New To Java
    Replies: 9
    Last Post: 08-15-2008, 12:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •