Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (748)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (834)
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  
  Game Development with JOGL  (Read 5146 times)
0 Members and 1 Guest are viewing this topic.
Offline javawizkid

Innocent Bystander

« Posted 2011-09-19 20:50:03 »

Hey, new to the forums so hey! Loved the activation question with some source code Smiley
I'm quite experienced with Java programming in general however OpenGL/DirectX programming is totally new to me. I'd like to be able to make a 2D game and apply particle effects, shading and fog etc. How would I approach this since there is not much in terms of tutorials/documentation suggesting how to implements 2D JOGL with games? Should I purchase a pure OpenGL book? From what I've seen most books don't cover gaming aspects and cover a lot of 3D which I'm not interested in at this point in time.


Offline gouessej
« Reply #1 - Posted 2011-09-19 22:13:22 »


Maybe you should look at the Red Book. has some nice tutorials too Smiley Using OpenGL in a 2D game requires to understand how OpenGL works... in 3D. The API JGame is fine for building 2D games with JOGL. You can use Slick too with the libgdx backend.

Julien Gouesse | Personal blog | Website | Jogamp
Offline Rejechted

Senior Devvie

Medals: 2
Projects: 2

Just a guy making some indie games :D

« Reply #2 - Posted 2011-09-29 12:32:19 »

There are definitely online versions of the OpenGL "bibles" essentially that will probably be of help to you.  Before you get into complex applications, I would work on making a short 2D demo project that can draw a textured shape to the screen.  There are basically two sets of tutorials that you'll find on the net, ones that cover the deprecated "fixed function" pipeline, and those that cover the programmable shader pipeline.

Essentially, for the simplest of the simple 2D games, they are interchangeable.  The more advanced things you want to do, the further into the programmable pipeline you'll delve.  Our game uses the fixed function system for drawing sprites, but we do use FBOs and GLSL shaders.  Familiarize yourself with what the differences are, what you'll need for YOUR application, and especially learn GLSL and what it's doing, because it really helps you understand how a GPU actually works.

Hopefully I'm not too innaccurate here ^^

Silver Goblet Games' first released product:
Pages: [1]
  ignore  |  Print  

xxMrPHDxx (294 views)
2017-12-31 17:17:51

xxMrPHDxx (88 views)
2017-12-31 17:15:51

xxMrPHDxx (144 views)
2017-12-28 18:11:33

Ecumene (308 views)
2017-09-30 02:57:34

theagentd (490 views)
2017-09-26 18:23:31

cybrmynd (519 views)
2017-08-02 12:28:51

cybrmynd (461 views)
2017-08-02 12:19:43

cybrmynd (443 views)
2017-08-02 12:18:09

Sralse (402 views)
2017-07-25 17:13:48

Archive (1304 views)
2017-04-27 17:45:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!