Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (532)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  libgdx, opengl, where to start?  (Read 13412 times)
0 Members and 1 Guest are viewing this topic.
Offline Noobtastic

Senior Newbie





« Posted 2011-03-14 19:38:36 »

I have been writing games for awhile with plain old Java 2D and want to bite the bullet and upgrade my technology.  I was thinking it would be nice to learn one of these openGL technologies, and I noticed also that libgdx allows (from their website) "code once, runs on PC or Android with few modifications."  That sounds really attractive to me.

So, being a complete noob to openGL and/or libgdx, where should I start?  Will it be best to simply dive straight into libgdx, or is there something foundational I should try to learn first?

Thanks very much

Offline Noobtastic

Senior Newbie





« Reply #1 - Posted 2011-03-14 19:57:50 »

I should clarify: I'm still looking to do 2D programming with this.   Smiley
Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #2 - Posted 2011-03-14 21:29:03 »

If you are new to Java you should learn some of that first, probably read a book, play with some code, etc. If you are just new to OpenGL, dive in to libgdx:
http://code.google.com/p/libgdx/wiki/VideoTutorials

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

Senior Newbie





« Reply #3 - Posted 2011-03-14 21:52:03 »

Not new to java, just openGL. 
Sounds like I should just dive into libgdx -- I'll try the video!
Online badlogicgames
« Reply #4 - Posted 2011-03-16 01:27:55 »

You might want to also look at the Javadocs and at the demo games that are available in the SVN repository. Just check out the trunk and import all the projects into Eclipse. The "Super Jumper" exmaple is probably what will interest you the most. The com.badlogic.gdx.graphics.g2d and com.badlogic.gdx.scenes.scene2d packages (the later for simple UI stuff) will probably be your bestest friends.

http://www.badlogicgames.com - musings on Android and Java game development
Offline Noobtastic

Senior Newbie





« Reply #5 - Posted 2011-03-16 18:52:59 »

Awesome, thanks.  This is very helpful Smiley
Offline Noobtastic

Senior Newbie





« Reply #6 - Posted 2011-04-09 22:04:16 »

I've been going through some of the available materials from the libgdx website.  I notice that the tutorial videos mention the driver/helper class instantiating either a new JoglApplication or a lwjgl app.  The person recording the video does not discuss the implications to this choice (and chooses jogl).

Does anyone know what kinds of things the choice at this point is going to mean?  Or should I even care at all / won't be noticeable?

Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #7 - Posted 2011-04-10 08:43:15 »

Both are identical, feature-wise. However, LWJGL is much, much better. Don't use JOGL. It's dead. Totally not dead.

Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #8 - Posted 2011-04-10 12:15:27 »

Does anyone know what kinds of things the choice at this point is going to mean?  Or should I even care at all / won't be noticeable?

I started with JOGL seeing as I wanted something that was officially supported. After several people had problems with the applet loader (sometimes didn't start, sometimes loaded the applet twice and so on) I decided to switch over to LWJGL.
It took a couple of hours to change everything around but I'm really happy that I did. The Applet loader is soooo much better and every issue I find is usually solved within a few days.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline gouessej
« Reply #9 - Posted 2011-04-11 11:09:03 »

Both are identical, feature-wise. However, LWJGL is much, much better. Don't use JOGL. It's dead.
It's not dead. Please stop FUD. Sven and Rami have recently implemented curve rendering on the GPU which is currently used to render fonts. 2 release candidates of JOGL 2.0 are available. A NEWT implementation for SWT has been added to help people to use JOGL 2.0 with SWT without needing any AWT dependency. Bugs are fixed, nothing has been given up. JOGL is alive, it is still used in some 3D engines including Ardor3D.

I started with JOGL seeing as I wanted something that was officially supported. After several people had problems with the applet loader (sometimes didn't start, sometimes loaded the applet twice and so on) I decided to switch over to LWJGL.
It took a couple of hours to change everything around but I'm really happy that I did. The Applet loader is soooo much better and every issue I find is usually solved within a few days.
JOGL is still (successfully) used in some applets, for example in PlayWiz and Scupteo, 2 professional applications. I cannot help people in using JOGL in applets as I only use Java Web Start.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #10 - Posted 2011-04-16 15:16:15 »

Hi!

Sorry for this "offtopic".

Both are identical, feature-wise. However, LWJGL is much, much better. Don't use JOGL. It's dead. Totally not dead.
Stop FUD and stop insulting people who disagree with you on IRC:
http://echelog.matzon.dk/logs/browse/lwjgl/1302904800
Quote
00:35:32] <badlogic> also, what's gouessej obsession with jogl?
[00:36:14] <badlogic> http://gouessej.wordpress.com/
[00:36:15] <badlogic> oh
[00:36:17] <badlogic> he's a douche
As far as I know, "a douche" is an insult which means "gros con", "connard" or "crétin" in French, can r4nking, bobza, dzzd and some other people understanding French confirm this? I'm not a douche, I'm a political and trade union activist, I'm a researcher/engineer in computer science (3D visualisation with Java and JOGL applied in scientific domains including geology) and the father of T.U.E.R. I sometimes disagree with you but I have never thought you were a silly guy. Best regards.

Online badlogicgames
« Reply #11 - Posted 2011-04-16 15:50:23 »

You were wrong. I'm actually a pretty silly guy! Let me apologize for the "douche". I guess "paranoid & obsessed" is a better phrase. How do i arrive at this conclusion? You grep the #lwjgl logs for your name. I'm entitled to my opinion about everything, so are you. I derive my opinion about you not from your blog, but from your posts on JGO. I'm afraid we are never going to become super best friends Sad

No hard feelings Cheesy

http://www.badlogicgames.com - musings on Android and Java game development
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #12 - Posted 2011-04-16 18:15:14 »

trololo
* Matzon grabs some popcorn

Offline Addictman

Senior Member


Medals: 3
Projects: 1


Java games rock!


« Reply #13 - Posted 2011-04-16 21:58:06 »

If I'm in the right mood, I think of all of you as douches. That definitely doesn't mean you are. It's Saturday evening. Go to the fridge, grab a beer, and be happy we have both JOGL and LWJGL. In tonights mood, I luuuuub you all.
Offline gouessej
« Reply #14 - Posted 2011-04-16 22:07:31 »

You were wrong. I'm actually a pretty silly guy! Let me apologize for the "douche". I guess "paranoid & obsessed" is a better phrase. How do i arrive at this conclusion? You grep the #lwjgl logs for your name. I'm entitled to my opinion about everything, so are you. I derive my opinion about you not from your blog, but from your posts on JGO. I'm afraid we are never going to become super best friends Sad

No hard feelings Cheesy
I'm neither paranoid nor obsessed, sorry to contradict you once more. You posted a link to my blog so the URL of the logs appeared in the GUI of Wordpress.com. I have nothing against libgdx...

Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #15 - Posted 2011-04-17 02:03:30 »

trololo
* Matzon grabs some popcorn
Hey share some!

Offline loom_weaver

JGO Coder


Medals: 17



« Reply #16 - Posted 2011-04-17 03:55:29 »

Ahh, the good ol' internet where sticking your foot in your mouth stays for time immemorial for all to see.
Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #17 - Posted 2011-04-17 07:21:26 »

Now now kids, settle down!

Stop FUD and stop insulting people who disagree with you on IRC:
http://echelog.matzon.dk/logs/browse/lwjgl/1302904800
Note badlogic and I are different people. Ironically, he is a JOGL guy.

My original post was nothin' but the troll in me. I figured if it were not dead, someone would certainly popup and defend it. Good to have a finger on the pulse. Smiley

Online Roquen
« Reply #18 - Posted 2011-04-17 10:09:46 »

As far as I know, "a douche" is an insult which means "gros con", "connard" or "crétin" in French
Hey douche is French!  Yeah the "gros con" in the milder form is probably the closest.
Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #19 - Posted 2011-04-17 10:51:30 »

gouessej is a shower? Huh? Tongue

Online badlogicgames
« Reply #20 - Posted 2011-04-17 13:19:56 »

Note badlogic and I are different people.

You are a filthy, filthy liar!

Ironically, he is a JOGL guy.

You are a filthy, filthy liar!

http://www.badlogicgames.com - musings on Android and Java game development
Offline DzzD
« Reply #21 - Posted 2011-04-17 13:28:57 »

Douche Smiley is that an insult in english ?

lol sound so strange I found this http://www.urbandictionary.com/define.php?term=douche%20bag for my personl knowledg

Douche Bag
Quote
1. An object used for vaginal hygeine.
2. A person that is a total moron and doesn't think before he/she speaks or acts.
 3. One with an undescribeable idiocy, hence stupidity, poor idea of what's cool, possibly an arrogance about them.
 4. One with an intolerable personality.
5. Personified by a Troll named Eniquity, that constantly trolls Darkpear forums, random smack talking emo n00b, filled with a false sense of self worth

Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #22 - Posted 2011-04-17 21:23:50 »

@DzzD
Yes, douche technically means this thing that women use to clean out their vaginas.
But Americans have also made it an insult, but it is so overused that is a light insult.

Offline cylab

JGO Ninja


Medals: 38



« Reply #23 - Posted 2011-04-18 11:05:43 »

I'm neither paranoid nor obsessed, sorry to contradict you once more. You posted a link to my blog so the URL of the logs appeared in the GUI of Wordpress.com. I have nothing against libgdx...
Hey Julien - with all due respect - you are obsessed (for the better or the worse). Just face it Wink

@DzzD
Yes, douche technically means this thing that women use to clean out their vaginas.
Maybe I am just a pervert, but it doesn't sound too bad to me then...  Roll Eyes

Mathias - I Know What [you] Did Last Summer!
Offline gouessej
« Reply #24 - Posted 2011-04-18 13:34:08 »

Hey Julien - with all due respect - you are obsessed (for the better or the worse). Just face it Wink
Lol. I have just discovered that WebGL is very slow even on some recent machines  Shocked (I tested QwtQuake a few minutes ago). I'm very happy, JOGL, libgdx, etc... are still very useful  Grin

Maybe I am just a pervert, but it doesn't sound too bad to me then...  Roll Eyes
Maybe you  Pointing I won't check this piece of information.

Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #25 - Posted 2011-04-18 20:00:20 »

@cylab
You pervert Tongue
jk I also don't understand why it's so bad  persecutioncomplex Wink

Offline DzzD
« Reply #26 - Posted 2011-04-18 20:05:52 »

what an insult Roll Eyes



seems not that hard

Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #27 - Posted 2011-04-18 22:07:44 »

DzzD, I think your pic is upside down. Wink

Glad we have threads like these to spice up JGO every once in awhile. Group hug! Smiley

Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #28 - Posted 2011-04-19 00:26:25 »

*Hug* Yay!

But.....I don't get it, why is it upside down? Huh Am I just stoopid? Clueless

Offline DzzD
« Reply #29 - Posted 2011-04-19 00:30:53 »

*Hug* Yay!

But.....I don't get it, why is it upside down? Huh Am I just stoopid? Clueless
^^ rhoo

Pages: [1] 2
  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.

pw (14 views)
2014-07-24 01:59:36

Riven (14 views)
2014-07-23 21:16:32

Riven (13 views)
2014-07-23 21:07:15

Riven (15 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 08:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 05:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 05:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 16:13:37

HotSpot Options
by Roquen
2014-05-15 14:59:54

HotSpot Options
by Roquen
2014-05-06 20:03:10

Escape Analysis
by Roquen
2014-04-30 03:16:43

Experimental Toys
by Roquen
2014-04-28 18:24:22
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!