hello guys
I’m new in java …
what are the best library games 2d java
i want to export to Android and Windows ‘Desktop’
and Thx 8)
I could go into a lengthy explanation as to why there is no ‘best’ library and which one you should choose for what, and complain about not requesting Mac/Linux support etc.
But I’m lazy.
Use LibGDX.
try libgdx,slick2d,lwjgl some of them i like libgdx and lwjgl
but if you are super new start with 3d start learning that i wish i started with that
btw id you want to team up on a game add me on skype: tomastero
I am not using anything yet but I am making game now.
I started making it last month.
I think you must learn and study on how Java works first.
If you want to deploy to android then libgdx is probably the way to go. But, as stated earlier in this thread, learn java first and then make games.
thx Brothers … :-*
I learned Java and finished them
Why… Why in hell would you start with 3D?
Go LibGDX if you want it easy. This question has been answered a billion times before though.
well if i started with 3d first i would been really good at it now i started 2 years ago lol… now i know only 2d / 2.5d =( i want to make an fps game
You do know how intense 3D is correct? Never start with 3D. That’s just silly.
Yes, listen to opiop65.
Start as simple as possible.
If you want pain, and sadness, and hopelessness; long nights of debugging and days of reading OpenGL specs, start with 3D.
If you want to actually create something, start with 2D.
Source: I started learning OpenGL for 3D graphics about 2+ years ago and I still haven’t created anything.
Do you have experience in programming? For example C#/.NET or C? If so then by all means start doing 3D or use JMonkeyEngine or LibGDX. If not then its really good advice to start with the basics: Java programming with no frills or librarues, for example progress along lines like these:
- an application printing “hello world” to the screen
- a simple text adventure
- tetris using Java2D graphics
- a simple shooter using LibGDX
… and that would be plenty to keep you busy for the next couple of years (depending on how much time you can spend on it each week).
Anyway, welcome and good luck learning!
Agreed. 3D is hard however if your looking for a lot of interpretation with a game and a rough journey 3D would be the correct route. Just remember java 2d is very effective and dont be afraid just to start there
Java2D is no where near effective. Maybe for small games, but anything beyond that and it fails miserably. It’s also ridiculously hard to try to get it running decently if you are trying to make real games with it. Just… yeah no I don’t recommend Java2D.
Honestly don’t use any libraries, in my opinion they get in your way. Maybe i just don’t know how to export java runnable jars with libraries but it seems every time i use a library for games it just breaks them. I’d just make a game from scratch. Then everything is custom, you get experience, and you feel a greater sense of accomplishment i’d just start out with a JFrame and a Canvas and go from there. Google is full of help for this kinda stuff. I’ve learned a lot about it and honestly it’s just as easy (When you get to know wuts going on that is) but if you still want libraries id choose one of these below:
LibGDX:
http://libgdx.badlogicgames.com/
Slick2D:
http://slick.ninjacave.com/
LWJGL:
http://lwjgl.org/
No. Libraries galore if you want to make games, and don’t use Java2D. Its slow when you actually want to make large games with “cool” graphic effects and it isn’t made for games.
Think about it. Why write a thousand lines of code and waste hours upon hours of dev time when you can learn an API and write 5 lines of code. Your lack of knowledge on how to export libraries is trivial and could be solved with a 2 minute Google endeavour.
I think LibGDX is great and would stick with that for simple 2D games. If you want to work more with 3D games its worth checking out Unity3D.