Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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 2727 times)
0 Members and 1 Guest are viewing this topic.
Offline javawizkid

Innocent Bystander





« Posted 2011-09-19 22: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.

Suggestions?

Thanks!
Offline gouessej
« Reply #1 - Posted 2011-09-20 00:13:22 »

Hi

Maybe you should look at the Red Book. http://nehe.gamedev.net 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.

Offline Rejechted

Senior Member


Medals: 1
Projects: 1


Just a guy making some indie games :D


« Reply #2 - Posted 2011-09-29 14: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 ^^

Blog for our project (Codenamed Lead Crystal): http://silvergoblet.tumblr.com
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.

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

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

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

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

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

Riven (43 views)
2014-07-14 18:02:53

OpenGLShaders (31 views)
2014-07-14 16:23:47

Riven (30 views)
2014-07-14 11:51:35

quew8 (29 views)
2014-07-13 13:57:52

SHC (64 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

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

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

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

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

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

Escape Analysis
by Roquen
2014-04-29 22:16:43

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