3D - 2

Beginning java programming?

I would like to create my own 3D game using java, I've been working with lua for a few years and I can make sense out of codes. I use scratch a lot to make plans for what my game is like and I have planned every single last aspect of the game out on paper and on my computer. I have chosen java because it seems pretty easy to maintain and many things now use java (phones and such) one problem, I have never used anything like java before and I have a few questions: 1. How do I start making the code? I know I can use notepad and I downloaded JDK but it seems to have no effect on my machine at all 2. How do I make the GUI and the world? 3. Which program can I use to make the 3D models without having to learn the texture patterns? 4. How can I edit already existing codes such as games that have already been made? 5. Owner of wurm online, Rolf has sent me a tutorial on java, but I can't make any sense of it and the links spread to pretty much everywhere making it hard to know where to go next. Could you send me a link to a tutorial which can raise me from a beginner to an experienced programmer or make a tutorial for me? 6. I know that java and java script are different, but if I learn java will it aid in learning java script? 7. How can I make my game's website for free, running off my own computer and with a log in/log out system (i know it's not java but most java programmers know HTML) Things I do know: I must spell everything properly including capital letters in the right place Java can be written in notepad I can unpack .jar files with winrar (and vice versa) I know what if, else, and, == and = do Thanks if you read the whole of this and can help, maybe if you have time could you teach me?

Public Comments

  1. 1. You make the code by writing it up. Since code work is just plain text, yes, you can use notepad, but there are code editors that make the job a lot easier. The JDK is the core Java API that allows you to write Java code, compile it into a semi-byte format, and execute it. If you don't know what any of that means, that's where a tutorial and learning how to program helps. The JDK doesn't do anything by itself, it gives you the ability to use it to create Java code. It's like code pieces to a puzzle that you have to put together yourself. 2. You can create the GUI with Swing, or AWT which is obsolete. 3. There's the Java 3D API which also comes from Oracle (formerly Sun). This is a separate API from the core JDK so you have to download that separately. There are other 3D frameworks (other API by other companies) that can help too. 4. You would have to decompile the Java byte code back into source code to look at it. But unless the Java program is Open Source, that's technically again license agreements. But if a program is Open Source code, they would have already provide the source code freely, so there is no need to decompile the program. 5. The Sun (I mean Oracle) site has good tutorials: http://www.oracle.com/technetwork/java/javase/documentation/tutorials-jsp-138802.html But no single tutorial is going to take you from beginner to experienced programmer. It takes years of experience and work and constant learning new things because learning the basics of the core JDK is not enough. 6. Learning Java will make it easier to learn Javascript and any other programming or scripting language. They are not even the same type of computer languages, but you will learn basic programming principles and logic that apply to all programming languages. That's the extent of the similarities between Java and Javascript. 7. That requires more information that what I can write in this space. Basically, you need to set up a server software (Apache HTTP server is free), a dedicated computer that's on 24/7 (so you don't expose your dedicated computer to the world), a dedicated static IP address (if your ISP service is a dynamic IP address, that isn't enough), set up an authentication login system, a database, and buy a domain name (this is not free). You will need to know a WHOLE lot more that what you listed. Follow the tutorials in the link in #5 above.
Powered by Yahoo! Answers