Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  What Game engine to use.  (Read 358 times)
0 Members and 1 Guest are viewing this topic.
Offline Zeta

Junior Member


Medals: 1
Exp: 1 year



« Posted 2013-09-29 10:53:53 »

What Game engine and libraries should i use to make 2D games I only now LWJGL, libgdx and JMonkeyEngine. I dont know much about these because i done two projects without libriaries and engines(simple games).

Thanks.

A clever person solves a problem. A wise person avoids it. -Albert Einstein
Offline gouessej

« In padded room »



TUER


« Reply #1 - Posted 2013-09-29 11:20:38 »

Hi

Please fix your spelling mistake in the title.

It depends on your objectives. The use of a Java binding for the OpenGL/OpenGL-ES API is good for pedagogical purposes, it's helpful to understand what happens under the hood in engines and to fix bugs in them when something doesn't work as expected but if you want to make a 2D game without spending too much time in learning OpenGL concepts, LibGDX is for you. I advise you to read what I explained here.

Edit.: You don't have a lot of options for 2D. JMonkeyEngine is rather a 3D engine.

Online opiop65

JGO Kernel


Medals: 124
Projects: 7
Exp: 3 years


Team Alluminum


« Reply #2 - Posted 2013-09-29 14:47:59 »

It really depends on what you want. JME is a 3D engine thy will take a lot of the low level work off your hands and provide you with a nice interface to interface with the code, so use it if you don't like to code absolutely everything. However, its not really a 2D engine.

LibGDX is a great high level library, I personally love using it. It allows you to utilize OpenGL without having to write all the low level rendering code, so use it if you want to program most of your game, but are ok with not delving into the "hardcore" low level graphics. Its also mainly 2D!

LWJGL just "ports" OpenGL over so you can use it in Java since OpenGL was written with C languages in mind. If you use LWJGL, prepare to have to google a ton and work on the low level code for a while before you can start thinking about actually setting a game up. I've done it before, its actually fun to learn all about OpenGL and shaders, but I don't like having to rewrite my render engine because my new game has different requirements than my old engine.

There's also Slick2D, but its not as... (Trying not to stay a flame war) good or used much anymore. LibGDX is almost its successor, in a way. Slick2D is pretty easy to use, but I dont know if its ok for me to recommend it!

Good luck on whatever you pick!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Zeta

Junior Member


Medals: 1
Exp: 1 year



« Reply #3 - Posted 2013-09-29 15:46:07 »

It really depends on what you want. JME is a 3D engine thy will take a lot of the low level work off your hands and provide you with a nice interface to interface with the code, so use it if you don't like to code absolutely everything. However, its not really a 2D engine.

LibGDX is a great high level library, I personally love using it. It allows you to utilize OpenGL without having to write all the low level rendering code, so use it if you want to program most of your game, but are ok with not delving into the "hardcore" low level graphics. Its also mainly 2D!

LWJGL just "ports" OpenGL over so you can use it in Java since OpenGL was written with C languages in mind. If you use LWJGL, prepare to have to google a ton and work on the low level code for a while before you can start thinking about actually setting a game up. I've done it before, its actually fun to learn all about OpenGL and shaders, but I don't like having to rewrite my render engine because my new game has different requirements than my old engine.

There's also Slick2D, but its not as... (Trying not to stay a flame war) good or used much anymore. LibGDX is almost its successor, in a way. Slick2D is pretty easy to use, but I dont know if its ok for me to recommend it!

Good luck on whatever you pick!

I think i will go with libgdx, but should i use OpenGL with it? i didnt quite understand. Is there any other libriaries that i should use with libgdx?

A clever person solves a problem. A wise person avoids it. -Albert Einstein
Online opiop65

JGO Kernel


Medals: 124
Projects: 7
Exp: 3 years


Team Alluminum


« Reply #4 - Posted 2013-09-29 15:51:48 »

Ah, you don't entirely understand yet!

All the libraries I mentioned are built on top of OpenGL. OpenGL is just a library(or interface) to allow you to interface with your GPU and mess with pixels and low level stuff like that. LWJGL just allows Java users to use OpenGL, LWJGL is basically a wrapper library almost. The only purpose it serves is to convert some low level stuff over to the Java way of doing things. I'm probably explaining this really bad, but all you need to know is that all these libraries are built on OpenGL. LibGDX is a high level OpenGL library that deals with the low level stuff for you. LWJGL doesn't, you'll have to code all the low level stuff. It just depends on what you want.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (31 views)
2014-04-15 18:08:23

BurntPizza (28 views)
2014-04-15 03:46:01

UprightPath (43 views)
2014-04-14 17:39:50

UprightPath (26 views)
2014-04-14 17:35:47

Porlus (43 views)
2014-04-14 15:48:38

tom_mai78101 (64 views)
2014-04-10 04:04:31

BurntPizza (124 views)
2014-04-08 23:06:04

tom_mai78101 (224 views)
2014-04-05 13:34:39

trollwarrior1 (190 views)
2014-04-04 12:06:45

CJLetsGame (198 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!