Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
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  
  Where to start? Which library should i use?  (Read 363 times)
0 Members and 1 Guest are viewing this topic.
Offline playman

Junior Newbie





« Posted 2014-08-22 09:11:49 »

Hi all,

First of all, im new in this forum and im almost new in java programming enviroment (I studied Java 3 years ago but I main  PHP nowadays).

I decided to start a new project in Java (the most difficult part will be syntaxis, I know all about OOP etc) and I want to make a game, at least, a simple game.

So I googled and i found some libraries to work with graphics (make games) in Java and I was wondering which is the best for me, or better, which should I use. In addittion, I expect to make my game in 2D (maybe a card game or something like that).

Finally, I would like to try make something online, but this will be another independet library I think.

Thanks in advance guys and nice to meet you all!

PS. Sorry for my English, still improving it!
Offline basil_
« Reply #1 - Posted 2014-08-22 09:29:34 »

Graphics2D and a JPanel or Canvas is fun to code.

https://www.processing.org/ is doodle-fun.

I wouldn't start with openGL directly.
Offline lcass
« Reply #2 - Posted 2014-08-22 09:38:07 »

if this is your first project I would recommend that you start with something simple like a text based game ,just so that you get used to use things such as loops and hos to effectively manage input , after this do what you want to , probably something simple until you are confident with the library however a good starting point (if you want to become good at it quickly) is to use LWJGL , using the simpler classes of opengl, look up tutorials and learn how to use it. Lwjgl is also good because it can handle all the inputs to your game. If you just wanted to get used to java you can use the Graphics object with buffered images , there are more tutorials than I can count for doing this.

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

JGO Kernel


Medals: 391
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2014-08-22 09:54:22 »

Depending on what you want to achieve:-

- Learning how to code games from scratch: LWJGL or JogAMP
- Just making some games painlessly and fairly quickly: libgdx, jpct, jmonkeyengine

Cas Smiley



Offline gouessej
« Reply #4 - Posted 2014-08-22 10:31:26 »

Hi

Finally, I would like to try make something online, but this will be another independent library I think.
Please don't create yet another library except for purely pedagogical purposes (to learn). There are already tons of libraries and I really think that a consolidation of Java ecosystem on fewer libraries would be better than effort duplication and "not invented here" anti-pattern. princec already indicated you some nice libraries that you can use. JogAmp's Ardor3D Continuation is worth a try too but you should start a very simple project, preferably not in 3D, even without graphics. If you try to do something too difficult for a newbie, you'll get discouraged and you'll give up.

Offline playman

Junior Newbie





« Reply #5 - Posted 2014-08-22 12:45:18 »

Please don't create yet another library except for purely pedagogical purposes (to learn). There are already tons of libraries and I really think that a consolidation of Java ecosystem on fewer libraries would be better than effort duplication and "not invented here" anti-pattern.

Yeah, I think you misunderstood me, no problem. I tried to say that I will try to make my game online (in a very faaar future), so I was saying i would need another library. Anyway, I'll never create another network library (Could costs me years...).

Depending on what you want to achieve:-

- Learning how to code games from scratch: LWJGL or JogAMP
- Just making some games painlessly and fairly quickly: libgdx, jpct, jmonkeyengine

Cas Smiley

Thanks guys for your answers. Since I do not hurry and I want to learn the basics and the deepness I think I will try "LWJGL".

If you try to do something too difficult for a newbie, you'll get discouraged and you'll give up.

This is my last concern Smiley But I will try my best. If not, I will down the level of my project.

Step by step.

Thanks guys!
Offline JVallius
« Reply #6 - Posted 2014-08-22 12:51:48 »

making some games painlessly

Haha, such thing does not exists.

But yeah, I'll vote for libGDX.

Offline princec

JGO Kernel


Medals: 391
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #7 - Posted 2014-08-22 12:58:37 »

Before you get confused by how LWJGL works know that you really need to learn OpenGL, not LWJGL; LWJGL is just a bare wrapper over OpenGL.

Cas Smiley

Offline playman

Junior Newbie





« Reply #8 - Posted 2014-08-22 13:10:42 »

But yeah, I'll vote for libGDX.

Before you get confused by how LWJGL works know that you really need to learn OpenGL, not LWJGL; LWJGL is just a bare wrapper over OpenGL.

Cas Smiley

I read about all of this and definitely I'll try libgdx. As i can see is a high-level library and things will be easier and better (And i found some books to starting).

Maybe in a future i will try the world of LWJGL,openGL and C++ Tongue

Thank you guys!
Offline JVallius
« Reply #9 - Posted 2014-08-22 13:30:15 »

I read about all of this and definitely I'll try libgdx.

There is also a book about libGDX game development. It could be useful to read it while making your first game.

https://www.packtpub.com/game-development/learning-libgdx-game-development

Pages: [1]
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (20 views)
2014-09-24 16:12:06

Grunnt (46 views)
2014-09-23 14:38:19

radar3301 (28 views)
2014-09-21 23:33:17

BurntPizza (64 views)
2014-09-21 02:42:18

BurntPizza (36 views)
2014-09-21 01:30:30

moogie (42 views)
2014-09-21 00:26:15

UprightPath (51 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!