Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (790)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
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 5905 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  

hadezbladez (2831 views)
2018-11-16 13:46:03

hadezbladez (1021 views)
2018-11-16 13:41:33

hadezbladez (2794 views)
2018-11-16 13:35:35

hadezbladez (547 views)
2018-11-16 13:32:03

EgonOlsen (3817 views)
2018-06-10 19:43:48

EgonOlsen (4227 views)
2018-06-10 19:43:44

EgonOlsen (2539 views)
2018-06-10 19:43:20

DesertCoockie (3351 views)
2018-05-13 18:23:11

nelsongames (3463 views)
2018-04-24 18:15:36

nelsongames (4456 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 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!