hi guys
i have a game implemented completely in Java2D,
i would like now study jogl and make a complete porting,
my game is a side scrolling shooter.
it is mainly based on direct draw of the images using the primitive of java2D --> Graphics2D.drawImage
The engine is provided of functionality to modify color and transparent and rotation of the images,
finally i have final effect over the final image create drawing directly over it that allow my to make effect like darkness (used for example in the transition between the level etc…), send storm, rain etc…
now studding same tutorial of jogl I undestood that is completely based on a 3D concepts.
So to create a flat 2D word i have to:
A) create a 3D word with the Z coordinate constant and use the Orthographic Projection
B) to print an image create a rectangle/square and load the image as a texture over it
is there another approach “more 2D” that this one, or this is the correct path that i have to follow to reach my target?
thanks guys