technoguyx wrote:
Currently learning with this. What is this LWJGL you speak of?
I prefer to work with full on OpenGL methods. You can use the same OpenGL code in any language for which there are OpenGL libraries.
Also, I am porting my game back to Java (Started in Java, ported to C++, re porting to Java) and am getting more productivity and putting the fun back into programming it. In C++ my program was filled with Segfaults and all sorts of major errors that I never had to worry about in Java.
Offline
16Skittles wrote:
technoguyx wrote:
Currently learning with this. What is this LWJGL you speak of?
I prefer to work with full on OpenGL methods. You can use the same OpenGL code in any language for which there are OpenGL libraries.
Also, I am porting my game back to Java (Started in Java, ported to C++, re porting to Java) and am getting more productivity and putting the fun back into programming it. In C++ my program was filled with Segfaults and all sorts of major errors that I never had to worry about in Java.
Yeah, C++ is annoying when you've started with learning Java.
However, Java's such a CPU-intensive programming language that you have to be prepared for it to lag horrendously. With a self-built i5 2500k that can run pretty much any non-Java 3D game, my 2D roguelike that I'm currently working on is struggles to perform well, especially if there are a lot of javax.swing.Timers going at once.
Last edited by cocoanut (2012-08-14 00:20:47)
Offline
cocoanut wrote:
16Skittles wrote:
technoguyx wrote:
Currently learning with this. What is this LWJGL you speak of?
I prefer to work with full on OpenGL methods. You can use the same OpenGL code in any language for which there are OpenGL libraries.
Also, I am porting my game back to Java (Started in Java, ported to C++, re porting to Java) and am getting more productivity and putting the fun back into programming it. In C++ my program was filled with Segfaults and all sorts of major errors that I never had to worry about in Java.Yeah, C++ is annoying when you've started with learning Java.
However, Java's such a CPU-intensive programming language that you have to be prepared for it to lag horrendously. With a self-built i5 2500k that can run pretty much any non-Java 3D game, my 2D roguelike that I'm currently working on is struggles to perform well, especially if there are a lot of javax.swing.Timers going at once.
Java's sort of everything-intensive. It's such a shame too; it has so much going for it but it's hard to to justify its use with that major flaw.
Offline
Java is not that bad. Just ran 720p resolution on i3 at 50FPS for my up coming game which involves lots of collision detection. It's just Java only runs on one core but can hyperthread.
Offline
Taking a class in school. I know the basics, but took this to get more advanced.
Offline
MrFlash67 wrote:
Anybody know a good way to learn Java?
I don't know if it's just me but I never find books or tutorials useful, I learned Java by modding Minecraft, it's easier to learn if I can see it in play and mess around with it.
Offline
What happens if you save a NotePad++ document as a .java and open it?
Does it open a project in Java player?
Offline
mythbusteranimator wrote:
What happens if you save a NotePad++ document as a .java and open it?
Does it open a project in Java player?
No, a .java is a source file; you must compile it with javac (from the JDK) to get a .class file which you can run with java
Offline
Nowadays 75% of people who learn java do it to make Minecraft mods.
The remaining 25% are mostly adults who work as programmers.
Anyways IMO C++ is far better than Java mainly because of it's compiler, speed and flexibility!
Still Java is for me number 2!
Offline
rontoking wrote:
Nowadays 75% of people who learn java do it to make Minecraft mods.
The remaining 25% are mostly adults who work as programmers.
Anyways IMO C++ is far better than Java mainly because of it's compiler, speed and flexibility!
Still Java is for me number 2!
Nowadays 83.21% of people make up statistics to make their claims sound more legitimate.
Offline
16Skittles wrote:
I suggest trying Java, it is commonly used, and no programming language is easy without good tutorials. Right now, I'm going through the Official Java Tutorials and they seem to be good (duh).
Also, NetBeans is MAGICAL!!! No need to remember those stupid declarations!
But on the other hand, I can't feel like a h4x0r by typing in command line. Oh well, I might as well make a hacking game in Java to really feel like a hacker XD
Edit: Thank you moderator!
Is netbeans a compiler?
Regards,
CAA14
Offline
CAA14 wrote:
16Skittles wrote:
I suggest trying Java, it is commonly used, and no programming language is easy without good tutorials. Right now, I'm going through the Official Java Tutorials and they seem to be good (duh).
Also, NetBeans is MAGICAL!!! No need to remember those stupid declarations!
But on the other hand, I can't feel like a h4x0r by typing in command line. Oh well, I might as well make a hacking game in Java to really feel like a hacker XD
Edit: Thank you moderator!Is netbeans a compiler?
Regards,
CAA14
Netbeans is a development environment for Java, but it still requires you to properly install the JDK Compiler.
Offline
16Skittles wrote:
CAA14 wrote:
16Skittles wrote:
I suggest trying Java, it is commonly used, and no programming language is easy without good tutorials. Right now, I'm going through the Official Java Tutorials and they seem to be good (duh).
Also, NetBeans is MAGICAL!!! No need to remember those stupid declarations!
But on the other hand, I can't feel like a h4x0r by typing in command line. Oh well, I might as well make a hacking game in Java to really feel like a hacker XD
Edit: Thank you moderator!Is netbeans a compiler?
Regards,
CAA14Netbeans is a development environment for Java, but it still requires you to properly install the JDK Compiler.
Right, i knew that, but is it a compiler? Does development = Compiler?
Regards,
CAA14
Offline
CAA14 wrote:
16Skittles wrote:
CAA14 wrote:
Is netbeans a compiler?
Regards,
CAA14Netbeans is a development environment for Java, but it still requires you to properly install the JDK Compiler.
Right, i knew that, but is it a compiler? Does development = Compiler?
Regards,
CAA14
A compiler is what turns code into something that computers can actually understand. A development environment is a program that you write code in that is made to make programming easier, more efficient, etc. Early days?
Last edited by maxskywalker (2013-02-21 20:48:39)
Offline
maxskywalker wrote:
CAA14 wrote:
16Skittles wrote:
Netbeans is a development environment for Java, but it still requires you to properly install the JDK Compiler.Right, i knew that, but is it a compiler? Does development = Compiler?
Regards,
CAA14A compiler is what turns code into something that computers can actually understand. A development environment is a program that you write code in that is made to make programming easier, more efficient, etc. Early days?
Early days of my java learning? Yes, but it's making sense for the most part.
Okay, that sounds cool. I will be using and learning eclipse, but after i get comfortable i will look at Netbeans.
Thanks again,
CAA14
Offline
veggieman001 wrote:
rontoking wrote:
Nowadays 75% of people who learn java do it to make Minecraft mods.
The remaining 25% are mostly adults who work as programmers.
Anyways IMO C++ is far better than Java mainly because of it's compiler, speed and flexibility!
Still Java is for me number 2!Nowadays 83.21% of people make up statistics to make their claims sound more legitimate.
It's funny how you are doing the same thing while telling me how annoying it is.
Last edited by rontoking (2013-02-23 18:39:24)
Offline
rontoking wrote:
veggieman001 wrote:
rontoking wrote:
Nowadays 75% of people who learn java do it to make Minecraft mods.
The remaining 25% are mostly adults who work as programmers.
Anyways IMO C++ is far better than Java mainly because of it's compiler, speed and flexibility!
Still Java is for me number 2!Nowadays 83.21% of people make up statistics to make their claims sound more legitimate.
It's funny how you are doing the same thing while telling me how annoying it is.
veggie wasn't saying it was annoying. veggie was being veggie
Edit: No, that was awfully put. Ignore that.
Last edited by maxskywalker (2013-02-23 22:18:39)
Offline
maxskywalker wrote:
rontoking wrote:
veggieman001 wrote:
Nowadays 83.21% of people make up statistics to make their claims sound more legitimate.It's funny how you are doing the same thing while telling me how annoying it is.
veggie wasn't saying it was annoying. veggie was being veggie
Edit: No, that was awfully put. Ignore that.
Hey everyone LET'S ALL READ THIS AND THEN TELL VEGGIE! xD
Just kidding! IGNORE!
Offline
Anyone know how to set an icon for a Swing window?
Whenever I try it just gives me an NPE, yet I can use the icon on the buttons so it's not trying to work with null variables, and I've made it report the values of all the variables that are being worked with and none of them are null, it's really confused me.
It's not even giving any decent error messages, it knows the file is there, it is made into an icon variable, but as soon as it tries to set it as the window's icon it just doesn't work.
Offline
PonyvilleSlugger wrote:
Anyone know how to set an icon for a Swing window?
Whenever I try it just gives me an NPE, yet I can use the icon on the buttons so it's not trying to work with null variables, and I've made it report the values of all the variables that are being worked with and none of them are null, it's really confused me.
It's not even giving any decent error messages, it knows the file is there, it is made into an icon variable, but as soon as it tries to set it as the window's icon it just doesn't work.
Is the window null?
Offline
GeonoTRON2000 wrote:
PonyvilleSlugger wrote:
Anyone know how to set an icon for a Swing window?
Whenever I try it just gives me an NPE, yet I can use the icon on the buttons so it's not trying to work with null variables, and I've made it report the values of all the variables that are being worked with and none of them are null, it's really confused me.
It's not even giving any decent error messages, it knows the file is there, it is made into an icon variable, but as soon as it tries to set it as the window's icon it just doesn't work.Is the window null?
Yeah, I'm an idiot, tried setting the icon for the window then setting the window, I should stop programming when tired.
Well, now my GUI works completely and everything runs amazingly even from a .jar, time to find a new project.
Offline
There should be a Scratch version of Java(if there already isn't one). In my opinion Scratch's block system is incredibly easy and should be used for every popular language. Who's with me?
Offline